BLE_API_Tiny_BLE
Fork of BLE_API by
Diff: GapAdvertisingData.cpp
- Revision:
- 7:5e1f0d7f7c7d
- Parent:
- 5:7635f81a8e09
- Child:
- 14:6ea5d1012a64
--- 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)