wclBluetoothLeMicrosoftCdpBeaconFrameEvent Delegate |
The OnMicrosoftCdpBeaconFrame event handler
prototype.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.19.35.0 (7.19.35.0)
Syntaxpublic delegate void wclBluetoothLeMicrosoftCdpBeaconFrameEvent(
Object Sender,
long Address,
long Timestamp,
sbyte Rssi,
wclBluetoothLeCdpBeaconScenarioType ScenarioType,
byte Version,
wclBluetoothLeCdpBeaconDeviceType DeviceType,
byte SubVersion,
bool ShareNearBy,
bool AddressAsDeviceId,
wclBluetoothLeCdpBeaconExtendedDeviceStatus ExtendedDeviceStatus,
byte[] Salt,
byte[] Hash
)
Public Delegate Sub wclBluetoothLeMicrosoftCdpBeaconFrameEvent (
Sender As Object,
Address As Long,
Timestamp As Long,
Rssi As SByte,
ScenarioType As wclBluetoothLeCdpBeaconScenarioType,
Version As Byte,
DeviceType As wclBluetoothLeCdpBeaconDeviceType,
SubVersion As Byte,
ShareNearBy As Boolean,
AddressAsDeviceId As Boolean,
ExtendedDeviceStatus As wclBluetoothLeCdpBeaconExtendedDeviceStatus,
Salt As Byte(),
Hash As Byte()
)
public delegate void wclBluetoothLeMicrosoftCdpBeaconFrameEvent(
Object^ Sender,
long long Address,
long long Timestamp,
signed char Rssi,
wclBluetoothLeCdpBeaconScenarioType ScenarioType,
unsigned char Version,
wclBluetoothLeCdpBeaconDeviceType DeviceType,
unsigned char SubVersion,
bool ShareNearBy,
bool AddressAsDeviceId,
wclBluetoothLeCdpBeaconExtendedDeviceStatus ExtendedDeviceStatus,
array<unsigned char>^ Salt,
array<unsigned char>^ Hash
)
Parameters
- Sender Object
- The object initiates the event.
- Address Int64
- The Bluetooth LE advertiser's MAC address.
- Timestamp Int64
- The frame's timestamp in Universal Time
format.
- Rssi SByte
- The measured RSSI value in dBm at range between -100
dBm and +20 dBm at 1 dBm resolution.
- ScenarioType wclBluetoothLeCdpBeaconScenarioType
- The beacon scenario.
- Version Byte
- The protocol version.
- DeviceType wclBluetoothLeCdpBeaconDeviceType
- The device type.
- SubVersion Byte
- The protocol subversion.
- ShareNearBy Boolean
- If True then the NearBy share setting is
everyone rather than only my devices.
- AddressAsDeviceId Boolean
- True indicates that the Bluetooth
address can be used as the device ID.
- ExtendedDeviceStatus wclBluetoothLeCdpBeaconExtendedDeviceStatus
- The extended device status.
- Salt Byte
- The beacon salt (4 random bytes).
- Hash Byte
- SHA256 Hash of Salt plus Device Thumbprint.
See Also