Example program for the Eddystone Beacon service.
Dependencies: BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_EddystoneBeacon by
This example demonstrates how to set up and initialize a Eddystone Beacon. For more details on the Eddystone specification please see the Eddystone Github Page.
The Basics
An Eddystone Beacon is a Bluetooth Low Energy beacon, that means it does all of its data transfer in GAP advertising packets. Eddystone beacons, unlike other beacons, broadcast multiple types of data. Currently Eddystone beacons have 3 frame types (UID, URL, TLM) that will get swapped out periodically. This swapping of frame data allows Eddystone beacons to send many different types of data, thus increasing their usefulness over traditional beacons. Note that the UID frame type provides the same 16Bytes of UUID namespace that iBeacons do and the URL frame type provides the same functionality as a URIBeacon.
For more details see the Eddystone Specification.
Smartphone Apps
nRF Master Control Panel - this program recognizes Eddystone beacons and will display the data for all frame types.
Walkthrough of Physical Web application
Technical Details
The Eddystone Specification looks like the following image. Please note that this may change over time and for up to date information the official spec should be referenced.
The Eddystone Frames get swapped in and out depending on what frames you have enabled. The only required frame type is the TLM frame, all others are optional and you can have any number enabled. To disable the UID or URL frames give their values a 'NULL' in the Eddystone constructor. The Eddystone spec recommends broadcasting 10 frames a second.
Note
- The current Eddystone mbed example does not allow for combining the eddystone service with other services, this will be changes in a future update.
- There is an Eddystone Config service that allows for updating beacons in the field. We are working on an example for this, so keep your eyes pealed for a future update.
History
Update libraries and add support of the ST shield.
2016-09-20, by Vincent Coubard [Tue, 20 Sep 2016 14:13:43 +0100] rev 36
Update libraries and add support of the ST shield.
Update libraries to the latest revision.
2016-04-11, by vcoubard [Mon, 11 Apr 2016 16:19:10 +0000] rev 35
Update libraries to the latest revision.
Update example to use latest version of BLE_API and nRF51822 library. Furthermore, the example now uses a new Eddystone implementation rather than the deprecated implementation under ble/services.
2015-11-26, by andresag [Thu, 26 Nov 2015 16:36:04 +0000] rev 34
Update example to use latest version of BLE_API and nRF51822 library. Furthermore, the example now uses a new Eddystone implementation rather than the deprecated implementation under ble/services.
updated example to be in line with API changes
2015-10-01, by mbedAustin [Thu, 01 Oct 2015 18:30:37 +0000] rev 33
updated example to be in line with API changes
Updating example to comply with latest API changes
2015-10-01, by mbedAustin [Thu, 01 Oct 2015 16:28:22 +0000] rev 32
Updating example to comply with latest API changes
cleaned up code prior to public release.
2015-08-11, by mbedAustin [Tue, 11 Aug 2015 18:13:46 +0000] rev 31
cleaned up code prior to public release.
[[Working]] Updated main program to periodically update the temperature and battery voltage.
2015-07-24, by mbedAustin [Fri, 24 Jul 2015 04:07:34 +0000] rev 30
[[Working]] Updated main program to periodically update the temperature and battery voltage.
[[Working]] Eddystone beacon working with URI, UID and TLM packets being sent correctly.
2015-07-24, by mbedAustin [Fri, 24 Jul 2015 03:36:45 +0000] rev 29
[[Working]] Eddystone beacon working with URI, UID and TLM packets being sent correctly.
[[FIX]] fixed build issue, now compiling, though not running correctly.
2015-07-24, by mbedAustin [Fri, 24 Jul 2015 03:12:21 +0000] rev 28
[[FIX]] fixed build issue, now compiling, though not running correctly.
Stripped out the config service, bare bones eddystone service.
2015-07-24, by mbedAustin [Fri, 24 Jul 2015 03:00:57 +0000] rev 27
Stripped out the config service, bare bones eddystone service.