Example program for the Eddystone Beacon service.

Dependencies:   BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1

Fork of BLE_EddystoneBeacon by URIBeacon

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.

iPhone Physical Web app

Android App

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. /media/uploads/mbedAustin/scratch-1-.png

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.

Revisions of BLE_API.lib

Revision Date Message Actions
36:17b4a0ff9abb 2016-09-20 Update libraries and add support of the ST shield. File  Diff  Annotate
35:6b767cd9c296 2016-04-11 Update libraries to the latest revision. File  Diff  Annotate
34:f6d4a699a1ea 2015-11-26 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. File  Diff  Annotate
32:41840b78597e 2015-10-01 Updating example to comply with latest API changes File  Diff  Annotate
31:bdd03742096a 2015-08-11 cleaned up code prior to public release. File  Diff  Annotate
16:a7d07ea94b31 2015-07-22 [[DEBUG]] commiting for help with Debug. Currently hardfaulting when trying to hotswap frames. File  Diff  Annotate
10:b5d19bcf23cf 2015-07-17 added private variables and set functions for 3 types of beacon frames. File  Diff  Annotate
9:7b4ba649e342 2015-07-02 updating to the latest of the underlying libraries.; File  Diff  Annotate
7:e9800c45e065 2015-06-19 updating to the latest of the underlying libraries. File  Diff  Annotate
3:f2ae7f047554 2015-05-14 Temporarily use older versions of the libraries for old boot-loader compatibility File  Diff  Annotate
1:25315b3a440c 2015-05-13 updating to Nordic's S130 softdevice, and to the latest of BLE_API and nRF51 File  Diff  Annotate
0:c04d932e96c9 2015-05-12 Initial revision File  Diff  Annotate