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:
- 7:5e1f0d7f7c7d
- Parent:
- 5:7635f81a8e09
- Child:
- 14:6ea5d1012a64
diff -r 425638944835 -r 5e1f0d7f7c7d GapAdvertisingData.cpp
--- a/GapAdvertisingData.cpp Fri Dec 13 00:41:11 2013 +0000
+++ b/GapAdvertisingData.cpp Mon Dec 16 12:46:12 2013 +0000
@@ -179,7 +179,21 @@
/**************************************************************************/
/*!
+ @brief Returns a pointer to the the current payload
+
+ @returns A pointer to the payload
+*/
+/**************************************************************************/
+uint8_t * GapAdvertisingData::getPayload(void)
+{
+ return _payload;
+}
+
+/**************************************************************************/
+/*!
@brief Returns the current payload length (0..31 bytes)
+
+ @returns The payload length in bytes
*/
/**************************************************************************/
uint8_t GapAdvertisingData::getPayloadLen(void)
