Bluetooth Framework C++ Edition

◆ OnScanReqReceived()

__event void OnScanReqReceived ( void *  Sender,
const wclBluetoothLeAdvertisingPduHeader PduHeader,
const __int64  ScanA,
const __int64  AdvA 
)

The event fires when the SCAN_REQ PDU received.

Parameters
SenderThe object initiates the event.
PduHeaderThe PDU header.
ScanAThe scanner's address.
AdvAThe address of the device to which this PDU is addressed.

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

See also
wclBluetoothLeAdvertisingPduHeader