wclBleSnifferAdvIndReceivedEvent Delegate |
The BLE sniffer OnAdvIndReceived event handler
prototype.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public delegate void wclBleSnifferAdvIndReceivedEvent(
Object Sender,
wclBluetoothLeAdvertisingPduHeader PduHeader,
long AdvA,
byte[] AdvData
)
Public Delegate Sub wclBleSnifferAdvIndReceivedEvent (
Sender As Object,
PduHeader As wclBluetoothLeAdvertisingPduHeader,
AdvA As Long,
AdvData As Byte()
)
public delegate void wclBleSnifferAdvIndReceivedEvent(
Object^ Sender,
wclBluetoothLeAdvertisingPduHeader PduHeader,
long long AdvA,
array<unsigned char>^ AdvData
)
Parameters
- Sender Object
- The object initiates the event.
- PduHeader wclBluetoothLeAdvertisingPduHeader
- The PDU header.
- AdvA Int64
- The advertiser address.
- AdvData Byte
- The pointer to the advertisement data.
Can be null. The pointer is valid only inside the event
handler.
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
ChSel field in the PduHeader parameter is True
if the advertiser supports the LE Channel Selection Algorithm #2
feature.
See Also