Important: Before you run this example, make sure to program the SoftDevice.
The Eddystone Beacon Application is an example that demonstrates advertising with the Eddystone protocol. See the Eddystone GitHub repository for the protocol specification and further information.
The Eddystone protocol describes different formats for advertising packets, called frame types, that can be used to create beacons. The following three frame types are supported by this example application:
Currently, the example supports using only one frame type at a time. By default, the active frame type is the URL frame type. To switch to the UID frame type, do the following changes to the example code:
eddystone_url_data
with eddystone_uid_data
: To switch to the TLM frame type, do the same changes for eddystone_tlm_data
instead of eddystone_url_data
.
You can find the source code and project file of the example in the following folder: <InstallFolder>\examples\ble_peripheral\experimental_ble_app_eddystone
Test the Eddystone Beacon Application with the Master Control Panel by performing the following steps:
Field | Value |
---|---|
Flags | GeneralDiscoverable, BrEdrNotSupported |
ServicesCompleteListUUID16 | 0xFEAA |
ServiceData | Uuid:0xFEAA Data: 10-EE-00-6E-6F-72-64-69-63-73-65-6D-69-00 |