wclBluetoothLeBeaconWatcherDoMicrosoftCdpBeaconFrame Method |
Fires the OnMicrosoftCdpBeaconFrame event.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.19.35.0 (7.19.35.0)
Syntaxprotected virtual void DoMicrosoftCdpBeaconFrame(
long Address,
long Timestamp,
sbyte Rssi,
wclBluetoothLeCdpBeaconScenarioType ScenarioType,
byte Version,
wclBluetoothLeCdpBeaconDeviceType DeviceType,
byte SubVersion,
bool ShareNearBy,
bool AddressAsDeviceId,
wclBluetoothLeCdpBeaconExtendedDeviceStatus ExtendedDeviceStatus,
byte[] Salt,
byte[] Hash
)
Protected Overridable Sub DoMicrosoftCdpBeaconFrame (
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()
)
protected:
virtual void DoMicrosoftCdpBeaconFrame(
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
- 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