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 LE Beacons and to advertise as Bluetooth LE Beacon.
Bluetooth Framework includes the class that allows your application to monitor Bluetooth LE devices and capture its advertisement frames. The class can decode the following Bluetooth LE Advertisement frames:
- iBeacon (Proximity Beacon)
- Eddystone UID
- Eddystone URL
- Eddystone TLM
- Alt Beacon
Other unknown frames are reported to an application as raw bytes array so application can handle any type of frames. Bluetooth Framework package includes the Beacons demo application that shows how to monitor Bluetooth LE devices and capture its advertisement frames. The library supports Bluetooth LE Beacons Monitoring feature on Windows 10 (and above) platform with Microsoft Bluetooth drivers and on any Windows platforms with BLED112 USB Bluetooth dongle.
Bluetooth Framework includes the class that switches your application into Bluetooth LE Advertiser mode. The class allows to advertise few predefined advertisements as well as any custom advertisement (there are some restrictions described below).
SUPPORTED ADVERTISEMENT TYPES
The following advertisement types are reserved and are not allowed:
|Shortened Local Name
|Complete Local Name
|LE Bluetooth Device Address
The following advertisement types are system-reserved and are not allowed if the advertisement is used with Microsoft Bluetooth driver:
|Incomplete List of 16-bit Service UUIDs
|Complete List of 16-bit Service Class UUIDs
|Incomplete List of 32-bit Service UUIDs
|Complete List of 32-bit Service Class UUIDs
|Incomplete List of 128-bit Service UUIDs
|Complete List of 128-bit Service Class UUIDs
|Tx Power Level
|Class of Device
|Simple Pairing Hash C192
|Simple Pairing Randomizer R192
|Security Manager TK Values
|Security Manager Out-of-Band Flags
|Slave Connection Interval Range
|Public Target Address
|Random Target Address
|Simple Pairing Hash C256
|Simple Pairing Randomizer R256
|3D Information Data
Starting from version 18.104.22.168 Bluetooth Framework allows to enable the Extended Advertisement Format when used with Microsoft Bluetooth drivers on Windows 10 and above. The Extended Advertisement is the feature of the Bluetooth 5 specification so to be able to use it your Bluetooth module must support such features. The Extended Advertisement Format can be enabled by settings the UseExtendedAdvertisement property of the Bluetooth LE Advertiser. When this property is set to True the three additional properties are used during advertisement:
If set to True the device address is not included in the advertisement heade.
If set to True the transmit power level is included in the advertisement header.
If enabled (to disable set the property's value to -127 requests that the radio use the indicated transmit power level for the advertisement.
If your application enables the Extened Advertisement by setting the UseExtendedAdvertisement property to True but your hardware or OS does not support this feature the WCL_E_BLUETOOTH_LE_EXT_ADV_NOT_SUPPORTED error will be returned when an application starts the advertismeent.
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 and above platforms with Microsoft Bluetooth drivers and on any Windows platforms with BLED112 USB Bluetooth dongle.