The eddystone config service allows you to configure the eddystone frame data over BLE for a set period of time and then starts an eddystone beacon. This example defaults to 30 seconds of config time.
Dependencies: BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_EddystoneBeaconConfigServiceRelease by
This is the eddystone config service. This code starts up and for a user configured time period (default 30 seconds) will advertise the configuration service.
The configuration service allows for modifying various frames of the eddystone specification.
For more details on the Configuration Service please see : https://github.com/google/eddystone/blob/master/eddystone-url/docs/config-service-spec.md
Diff: main.cpp
- Revision:
- 1:5b266d95731f
- Parent:
- 0:f528fb53a9ef
- Child:
- 2:378323d1b4d9
--- a/main.cpp Wed Sep 30 16:30:29 2015 +0000 +++ b/main.cpp Thu Oct 01 16:21:03 2015 +0000 @@ -52,7 +52,7 @@ /** * Callback triggered upon a disconnection event. */ -void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason) +void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *cbParams) { if (true == params.isConfigured){ // end advertising, the beacon is configured