Bluetooth Framework C++ Edition

◆ DoMicrosoftCdpBeaconFrame()

virtual void DoMicrosoftCdpBeaconFrame ( __int64 Address,
__int64 Timestamp,
const char Rssi,
const wclBluetoothLeCdpBeaconScenarioType ScenarioType,
const unsigned char Version,
const wclBluetoothLeCdpBeaconDeviceType DeviceType,
const unsigned char SubVersion,
const bool ShareNearBy,
const bool AddressAsDeviceId,
const wclBluetoothLeCdpBeaconExtendedDeviceStatuses & ExtendedDeviceStatus,
const wclBluetoothLeCdpBeaconSalt & Salt,
const wclBluetoothLeCdpBeaconHash & Hash )
protectedvirtual

Fires the OnMicrosoftCdpBeaconFrame event.

Parameters
AddressThe Bluetooth LE advertiser's MAC address.
TimestampThe frame's timestamp in Universal Time format.
RssiThe measured RSSI value in dBm at range between -100 dBm and +20 dBm at 1 dBm resolution.
ScenarioTypeThe beacon scenario.
VersionThe protocol version.
DeviceTypeThe device type.
SubVersionThe protocol subversion.
ShareNearByIf True then the NearBy share setting is everyone rather than only my devices.
AddressAsDeviceIdTrue indicates that the Bluetooth address can be used as the device ID.
ExtendedDeviceStatusThe extended device status.
SaltThe beacon salt (4 random bytes).
HashSHA256 Hash of Salt plus Device Thumbprint.
See also
wclBluetoothLeCdpBeaconScenarioType, wclBluetoothLeCdpBeaconDeviceType, wclBluetoothLeCdpBeaconSalt, wclBluetoothLeCdpBeaconExtendedDeviceStatuses, wclBluetoothLeCdpBeaconHash