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
Revision 204:479f81fd5d3b, committed 2014-12-01
- Comitter:
- rgrover1
- Date:
- Mon Dec 01 14:31:17 2014 +0000
- Parent:
- 203:7b5178d2fa03
- Child:
- 205:c957765916e2
- Commit message:
- Synchronized with git rev dc40eb81
Author: Rohit Grover
Add a comment for MAX_SIZE_URI_DATA_CHAR_VALUE
Changed in this revision
| services/URIBeacon2Service.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
