Button initiated config service
Dependencies: BLE_API_EddystoneConfigService_2 mbed nRF51822
Fork of BLE_EddystoneBeaconConfigService_3 by
Diff: main.cpp
- Revision:
- 40:6f39aee31205
- Parent:
- 39:2c73bc1ff4f5
- Child:
- 44:0e27ee7800b8
--- a/main.cpp Thu Sep 10 17:06:18 2015 +0000 +++ b/main.cpp Thu Sep 10 19:05:44 2015 +0000 @@ -51,7 +51,7 @@ } /** - * Callback triggered upon a disconnection event. Needs to re-enable advertisements. + * Callback triggered upon a disconnection event. */ void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason) { @@ -60,7 +60,7 @@ timeout(); } else{ - // eddystone is not configured, keep advertising + // eddystone is not configured, continue advertising ble.gap().startAdvertising(); printf("disconnect CB\r\n"); }