Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 300:d9a39f759a6a
- Parent:
- 287:cca148e535b1
- Child:
- 309:bc91f7ba346d
diff -r c1e4400af825 -r d9a39f759a6a services/URIBeaconConfigService.h --- a/services/URIBeaconConfigService.h Mon Mar 02 11:50:48 2015 +0000 +++ b/services/URIBeaconConfigService.h Mon Mar 02 11:50:48 2015 +0000 @@ -100,7 +100,7 @@ initSucceeded(false), lockedStateChar(UUID_LOCK_STATE_CHAR, &lockedState), lockChar(UUID_LOCK_CHAR, ¶ms.lock), - uriDataChar(UUID_URI_DATA_CHAR, params.uriData, URI_DATA_MAX, params.uriDataLength, + uriDataChar(UUID_URI_DATA_CHAR, params.uriData, 0, URI_DATA_MAX, GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_WRITE), unlockChar(UUID_UNLOCK_CHAR, ¶ms.lock), flagsChar(UUID_FLAGS_CHAR, ¶ms.flags),