wclBleSnifferDoAdvDirectIndReceived Method |
Fires the OnAdvDirectIndReceived event.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected virtual void DoAdvDirectIndReceived(
wclBluetoothLeAdvertisingPduHeader PduHeader,
long AdvA,
long TargetA
)
Protected Overridable Sub DoAdvDirectIndReceived (
PduHeader As wclBluetoothLeAdvertisingPduHeader,
AdvA As Long,
TargetA As Long
)
protected:
virtual void DoAdvDirectIndReceived(
wclBluetoothLeAdvertisingPduHeader PduHeader,
long long AdvA,
long long TargetA
)
Parameters
- 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