Bluetooth Framework C++ Edition

◆ OnAdvertisementReceived()

__event void OnAdvertisementReceived ( void *  Sender,
const __int64  Address,
const __int64  Timestamp,
const char  Rssi,
const wclBluetoothLeAdvertisementFrameRawData Data 
)

The event fires when any Bluetooth LE advertisement frame received.

Parameters
SenderThe object initiates the event.
AddressThe Bluetooth LE advertiser's MAC address.
TimestampThe frame's timestamp in Universal Time format.
RssiThe measured RSSI value in dBm at range between -100 dBm and +20 dBm at 1 dBm resolution.
DataThe frame's raw bytes data. If there is no data the value is nil.

Unlike the OnAdvertisementRawFrame and the OnManufacturerRawFrame this even fires for any Bluetooth LE advertisement and contains unparsed raw frame data.

See also
wclBluetoothLeAdvertisementFrameRawData