This is the documentation for the latest (main) development branch. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

eddystone

Overview

Application demonstrating Eddystone Configuration Service

The Eddystone Configuration Service runs as a GATT service on the beacon while it is connectable and allows configuration of the advertised data, the broadcast power levels, and the advertising intervals. It also forms part of the definition of how Eddystone-EID beacons are configured and registered with a trusted resolver.

Requirements

  • A board with BLE support

  • nRF Connect APP

Building and Running

Example Location:examples/bluetooth/eddystone

compile, burn, and more, see:Quick Start Guide

Running result

  1. Successfully running will output the following logs,default ADV Slot Data is URL “http://www.winnermicro.com

[I] (2) main: ver: 2.0.6dev build at Oct 18 2024 10:12:41
[I] (26) bt: Identity: 28:6D:CD:68:D7:99 (public)
[I] (26) bt: HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
[I] (26) bt: LMP: version 4.2 (0x08) subver 0x0709
[I] (26) eddystone: Bluetooth initialized
[I] (29) eddystone: Initial advertising as 28:6D:CD:68:D7:99 (public)
[I] (29) eddystone: Configuration mode: waiting connections...

Note

this connected advertisement will last 30 seconds, after 30 seconds, it changed to non-connected advertisement

  1. Run nRF Connect APP, perform scan and you will find WM Eddystone

../../../../_images/eddystone_adv.svg
  1. After successfully executing the connection operation in the nRF Connect APP, the development board outputs the following log.

[I] (18493) eddystone: Connected
  1. After a successful connection, perform read and write operations on the Eddystone Configuration Service. For example, change the ADV Slot Data.

../../../../_images/eddystone_service.svg
  1. Disconnect with application on nRF Connect APP

[I] (101308) eddystone: Disconnected (reason 0x13)
[I] (101310) eddystone: Switching to Beacon mode 0.
[I] (101318) eddystone: Advertising as 28:6D:CD:68:D7:99 (public)
  1. Restart scan on nRF Connect APP

Warning

the advertisement data does not contains name, please verify the device depends on identify address

../../../../_images/eddystone_nadv.svg