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
Revision 769:2d236d9afa9e, committed 2015-08-07
- Comitter:
- rgrover1
- Date:
- Fri Aug 07 15:55:21 2015 +0100
- Parent:
- 768:8914bea92690
- Child:
- 770:079b714e9c1a
- Commit message:
- Synchronized with git rev 24a98921
Author: Rohit Grover
fix #64: GapAdvertisingData::getPayload() should return the payload pointer regardless of len.
Changed in this revision
| ble/GapAdvertisingData.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ble/GapAdvertisingData.h Fri Aug 07 15:55:21 2015 +0100
+++ b/ble/GapAdvertisingData.h Fri Aug 07 15:55:21 2015 +0100
@@ -328,7 +328,7 @@
* Returns a pointer to the the current payload
*/
const uint8_t *getPayload(void) const {
- return (_payloadLen > 0) ? _payload : NULL;
+ return _payload;
}
/**
