High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
40:d405c9b1419d
Parent:
34:da2ea8cd6216
Child:
47:33f605e109a2
--- a/GapAdvertisingData.cpp	Thu May 22 14:51:06 2014 +0100
+++ b/GapAdvertisingData.cpp	Thu May 22 15:02:40 2014 +0100
@@ -213,7 +213,7 @@
     \returns    A pointer to the payload
 */
 /**************************************************************************/
-uint8_t *GapAdvertisingData::getPayload(void)
+const uint8_t *GapAdvertisingData::getPayload(void) const
 {
     return (_payloadLen > 0) ? _payload : NULL;
 }
@@ -225,7 +225,7 @@
     \returns    The payload length in bytes
 */
 /**************************************************************************/
-uint8_t GapAdvertisingData::getPayloadLen(void)
+uint8_t GapAdvertisingData::getPayloadLen(void) const
 {
     return _payloadLen;
 }
@@ -237,7 +237,7 @@
     \returns    The 16-bit appearance value
 */
 /**************************************************************************/
-uint16_t GapAdvertisingData::getAppearance(void)
+uint16_t GapAdvertisingData::getAppearance(void) const
 {
     return (uint16_t)_appearance;
 }