Click or drag to resize

wclBleSnifferAdvIndReceivedEvent Delegate

The BLE sniffer OnAdvIndReceived event handler prototype.

Namespace: wclBluetooth
Assembly: 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
)

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