From dc40eb8113994add4614c6625b49f9433a2c7f92 Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Mon, 1 Dec 2014 08:41:56 +0000 Subject: [PATCH] Add a comment for MAX_SIZE_URI_DATA_CHAR_VALUE --- services/URIBeacon2Service.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/URIBeacon2Service.h b/services/URIBeacon2Service.h index dc2db11..3cbb2f0 100644 --- a/services/URIBeacon2Service.h +++ b/services/URIBeacon2Service.h @@ -338,7 +338,8 @@ private: 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;