High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: GapAdvertisingData.cpp
- Revision:
- 47:33f605e109a2
- Parent:
- 40:d405c9b1419d
- Child:
- 58:0642c323b751
--- a/GapAdvertisingData.cpp Fri May 23 15:21:47 2014 +0100 +++ b/GapAdvertisingData.cpp Fri May 23 17:05:53 2014 +0100 @@ -71,9 +71,9 @@ \endcode */ /**************************************************************************/ -ble_error_t GapAdvertisingData::addData(DataType advDataType, - uint8_t *payload, - uint8_t len) +ble_error_t GapAdvertisingData::addData(DataType advDataType, + const uint8_t *payload, + uint8_t len) { /* ToDo: Check if an AD type already exists and if the existing */ /* value is exclusive or not (flags, etc.) */