Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 276:daa42f59bdb8
- Parent:
- 275:4abc3126f1e1
- Child:
- 277:1407d2f1ce3c
diff -r 4abc3126f1e1 -r daa42f59bdb8 services/URIBeaconConfigService.h
--- a/services/URIBeaconConfigService.h Wed Jan 21 09:32:53 2015 +0000
+++ b/services/URIBeaconConfigService.h Thu Jan 22 09:59:43 2015 +0000
@@ -135,8 +135,8 @@
&beaconPeriodChar,
&resetChar};
GattService beaconControlService(URIBeacon2ControlServiceUUID, charTable, sizeof(charTable) / sizeof(GattCharacteristic *));
+ ble.addService(beaconControlService);
- ble.addService(beaconControlService);
ble.onDataWritten(this, &URIBeaconConfigService::onDataWritten);
}
@@ -386,7 +386,6 @@
} else if (handle == unlockChar.getValueHandle()) {
memset(lockBits, 0, SIZEOF_LOCK_BITS);
lockedState = false;
-
storage_saveLockBits();
} else if (handle == uriDataChar.getValueHandle()) {
uriDataLength = params->len;
