Beacon Bluetooth Beacons are hardware transmitters - a class of Bluetooth low energy (LE) devices that broadcast their identifier to nearby portable electronic devices. The technology enables smartphones, tablets and other devices to perform actions when in close proximity to a beacon.

Bluetooth Framework includes feature that allows your application to monitor Bluetooth Beacons and to advertise as Bluetooth Beacon.

Monitoring Bluetooth LE Beacons

Bluetooth Framework contains the wclBluetoothLeBeaconWatcher class that allows your application to monitor Bluetooth LE Beacons and capture its advertisement frames. The class contains a parse for the following Bluetooth LE Advertisement frames: iBeacon (Proximity Beacon), Eddystone UID, Eddystone URL, Eddystone TLM and Alt Beacon. Unknown frame types are reported to an application as raw bytes array so application can handle any type of frames.

The Bluetooth Framework package includes the Beacons demo application that shows how to monitor Bluetooth LE Beacon and capture its advertisement frames. Bluetooth Framework supports Bluetooth LE Beacons Monitoring feature on Windows 10 platform with Microsoft Bluetooth drivers and on any Windows platforms with BLED112 USB Bluetooth dongle.

Advertising As Bluetooth LE Beacons

Bluetooth Framework includes few classes that switche your application into Bluetooth LE Beacon Advertiser. Bluetooth Framework supports advertising as iBeacon, Eddystone UID, Eddystone URL abd Alt beacons. Also Bluetooth Framework allows to build custom advertisement packets including manufacturer specific advertisement data frame. If you use Bluetooth Framework LE Advertisement with Microsoft Bluetooth driver there are some limitations for the allowed advertising data types.

The following advertisement types are allowed when the advertiser is used with Microsoft Bluetooth driver:

  • Manufacturer Specific Information (0xFF)
  • Any non-standard type not reserved by the system, as shown in the list below

The following advertisement types are system-reserved and are not allowed if the advertiser is used with Microsoft Bluetooth driver:

Data TypeDescription
0x01Flags
0x02Incomplete List of 16-bit Service UUIDs
0x04Incomplete List of 32-bit Service UUIDs
0x05Complete List of 32-bit Service UUIDs
0x06Incomplete List of 128-bit Service UUIDs
0x07Complete List of 128-bit Service UUIDs
0x08Shortened Local Name
0x09Complete Local Name
0x0ATx Power Level
0x0DClass of Device
0x0ESimple Pairing Hash C192
0x0FSimple Pairing Randomizer R192
0x10Security Manager TK Values
0x11Security Manager Out-of-Band Flags
0x12Slave Connection Interval Range
0x17Public Target Address
0x18Random Target Address
0x19Appearance
0x1AAdvertising Interval
0x1BLE Bluetooth Device Address
0x1CLE Role
0x1DSimple Pairing Hash C256
0x1ESimple Pairing Randomizer R256
0x3D3D Information Data

There is no limitations for advertising data type when the advertised is used with BLED112 Bluetooth dongle.

The Bluetooth Framework package includes the Beacons demo application that shows how to enable Bluetooth LE Beacon Advertising. Bluetooth Framework supports Bluetooth LE Beacons Advertising feature only on Windows 10 platform with Microsoft Bluetooth drivers and on any Windows platforms with BLED112 USB Bluetooth dongle.