abc

Fork of BLE_API by Bluetooth Low Energy

Revision:
204:479f81fd5d3b
Parent:
203:7b5178d2fa03
Child:
205:c957765916e2
--- a/services/URIBeacon2Service.h	Mon Dec 01 14:31:17 2014 +0000
+++ b/services/URIBeacon2Service.h	Mon Dec 01 14:31:17 2014 +0000
@@ -338,7 +338,8 @@
 
 private:
     static const size_t MAX_SIZEOF_SERVICE_DATA_PAYLOAD = 18; /* Uri Data must be between 0 and 18 bytes in length. */
-    static const size_t MAX_SIZE_URI_DATA_CHAR_VALUE    = 48;
+    static const size_t MAX_SIZE_URI_DATA_CHAR_VALUE    = 48; /* This is chosen arbitrarily. It should be large enough
+                                                               * to hold any reasonable uncompressed URI. */
 
 private:
     BLEDevice &ble;