Bluetooth Framework C++ Edition

◆ OnConnectIndReceived()

__event void OnConnectIndReceived ( void *  Sender,
const wclBluetoothLeAdvertisingPduHeader PduHeader,
const __int64  InitA,
const __int64  AdvA,
const wclBleSnifferLlData LlData 
)

The event fires when the CONNECT_IND PDU received.

Parameters
SenderThe object initiates the event.
PduHeaderThe PDU header.
InitAThe Initiator’s device address.
AdvAThe advertiser’s device address.
LlDataThe Link Layer data.

The TxAdd field of the PduHeader parameter indicates whether the advertiser’s address in the InitA parameter is public (TxAdd = False) or random (TxAdd = True). The RxAdd field of the PduHeader parameter indicates whether the advertiser’s device address in the AdvA 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, wclBleSnifferLlData