Bluetooth Framework C++ Edition

◆ OnScanRspReceived()

__event void OnScanRspReceived ( void * Sender,
const wclBluetoothLeAdvertisingPduHeader & PduHeader,
const __int64 AdvA,
const unsigned char *const ScanRspData,
const unsigned char ScanRspDataLen )

The event fires when the SCAN_RSP PDU received.

Parameters
SenderThe object initiates the event.
PduHeaderThe PDU header.
AdvAThe advertiser address.
ScanRspDataThe pointer to the advertisement data. Can be NULL. The pointer is valid only inside the event handler.
ScanRspDataLenThe advertisement data length in bytes.

The TxAdd field of the PduHeader parameter indicates whether the advertiser’s address in the AdvA parameter is public (TxAdd = False) or random (TxAdd = True).

See also
wclBluetoothLeAdvertisingPduHeader