Bluetooth Framework C++ Edition

◆ OnAdvDirectIndReceived()

__event void OnAdvDirectIndReceived ( void *  Sender,
const wclBluetoothLeAdvertisingPduHeader PduHeader,
const __int64  AdvA,
const __int64  TargetA 
)

The event fires when the ADV_DIRECT_IND PDU received.

Parameters
SenderThe object initiates the event.
PduHeaderThe PDU header.
AdvAThe advertiser address.
TargetAThe address of the device to which this PDU is addressed.

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 RxAdd field of the PduHeader parameter indicates whether the target’s address in the TargetA parameter is public (RxAdd = False) or random (RxAdd = True). The ChSel field in the PduHeader parameter is True if the advertiser supports the LE Channel Selection Algorithm #2 feature.

See also
wclBluetoothLeAdvertisingPduHeader