I don't know why this is happening.

Fork of BLE_API by Bluetooth Low Energy

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, &params.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, &params.lock),
         flagsChar(UUID_FLAGS_CHAR, &params.flags),