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.
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: services/URIBeacon2Service.h
- Revision:
- 204:479f81fd5d3b
- Parent:
- 203:7b5178d2fa03
- Child:
- 205:c957765916e2
diff -r 7b5178d2fa03 -r 479f81fd5d3b services/URIBeacon2Service.h
--- 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;
