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
Diff: GapAdvertisingData.cpp
- Revision:
- 47:33f605e109a2
- Parent:
- 40:d405c9b1419d
- Child:
- 58:0642c323b751
diff -r 33d87f468a0d -r 33f605e109a2 GapAdvertisingData.cpp
--- 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.) */
