Bluetooth Framework C++ Edition

◆ DoAdvIndReceived()

virtual void DoAdvIndReceived ( const wclBluetoothLeAdvertisingPduHeader PduHeader,
const __int64  AdvA,
const unsigned char *const  AdvData,
const unsigned char  AdvDataLen 
)
protectedvirtual

Fires the OnAdvIndReceived event.

Parameters
PduHeaderThe PDU header.
AdvAThe advertiser address.
AdvDataThe pointer to the advertisement data. Can be NULL. The pointer is valid only inside the event handler.
AdvDataLenThe 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). The ChSel field in the PduHeader parameter is True if the advertiser supports the LE Channel Selection Algorithm #2 feature.

See also
wclBluetoothLeAdvertisingPduHeader