wclBleSnifferAdvDirectIndReceivedEvent Delegate |
The BLE sniffer OnAdvDirectIndReceived event handler
prototype.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public delegate void wclBleSnifferAdvDirectIndReceivedEvent(
Object Sender,
wclBluetoothLeAdvertisingPduHeader PduHeader,
long AdvA,
long TargetA
)
Public Delegate Sub wclBleSnifferAdvDirectIndReceivedEvent (
Sender As Object,
PduHeader As wclBluetoothLeAdvertisingPduHeader,
AdvA As Long,
TargetA As Long
)
public delegate void wclBleSnifferAdvDirectIndReceivedEvent(
Object^ Sender,
wclBluetoothLeAdvertisingPduHeader PduHeader,
long long AdvA,
long long TargetA
)
Parameters
- Sender Object
- The object initiates the event.
- PduHeader wclBluetoothLeAdvertisingPduHeader
- The PDU header.
- AdvA Int64
- The advertiser address.
- TargetA Int64
- The address of the device to which this PDU
is addressed.
Remarks 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