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.h
- Revision:
- 40:d405c9b1419d
- Parent:
- 34:da2ea8cd6216
- Child:
- 47:33f605e109a2
--- a/GapAdvertisingData.h Thu May 22 14:51:06 2014 +0100
+++ b/GapAdvertisingData.h Thu May 22 15:02:40 2014 +0100
@@ -355,9 +355,9 @@
ble_error_t addFlags(Flags flag = LE_GENERAL_DISCOVERABLE);
ble_error_t addTxPower(int8_t txPower);
void clear(void);
- uint8_t *getPayload(void);
- uint8_t getPayloadLen(void);
- uint16_t getAppearance(void);
+ const uint8_t *getPayload(void) const;
+ uint8_t getPayloadLen(void) const;
+ uint16_t getAppearance(void) const;
private:
uint8_t _payload[GAP_ADVERTISING_DATA_MAX_PAYLOAD];
