The callback prototype to indicate an incoming advertisement event has occurred.
#include <btapi/btle.h>
typedef void(* bt_le_advertisement_ext_cb)(const char *bdaddr, int8_t rssi, bt_le_advert_packet_event_t eventType, const char *data, int len, void *userData);
BlackBerry 10.3.0
The address of the Bluetooth-enabled device.
The type of advertising packet received.
The data sent in the advertisement.
The length of the data sent.
A pointer to the user data that was defined when adding the listener.