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: hw/BLEDevice.h
- Revision:
- 75:d08bdef22500
- Parent:
- 74:301042c34cb8
- Child:
- 77:1436ecf09583
diff -r 301042c34cb8 -r d08bdef22500 hw/BLEDevice.h
--- a/hw/BLEDevice.h Fri Jun 06 11:30:56 2014 +0100
+++ b/hw/BLEDevice.h Fri Jun 06 14:14:46 2014 +0100
@@ -152,11 +152,7 @@
ble_error_t setAdvertisingDataForTransport(void);
public:
- BLEDevice() : transport(createBLEDeviceInstance()),
- advParams(),
- advPayload(),
- scanResponse(),
- needToUpdateAdvData(true) {
+ BLEDevice() : transport(createBLEDeviceInstance()), advParams(), advPayload(), scanResponse(), needToUpdateAdvData(true) {
advPayload.clear();
scanResponse.clear();
}
@@ -167,19 +163,18 @@
GapAdvertisingParams advParams;
GapAdvertisingData advPayload;
GapAdvertisingData scanResponse;
- bool needToUpdateAdvData; /* Accumulation of AD structures
- * in the advertisement payload should eventually
- * result in a call to the target's
- * setAdvertisingData() before the server begins
- * advertising. This flag marks the status of the
- * pending update.*/
+
+ /* Accumulation of AD structures in the advertisement payload should
+ * eventually result in a call to the target's setAdvertisingData() before
+ * the server begins advertising. This flag marks the status of the pending
+ * update.*/
+ bool needToUpdateAdvData;
/**
* DEPRECATED
*/
public:
- ble_error_t setAdvertisingData(const GapAdvertisingData &ADStructures,
- const GapAdvertisingData &scanResponse);
+ ble_error_t setAdvertisingData(const GapAdvertisingData &ADStructures, const GapAdvertisingData &scanResponse);
ble_error_t setAdvertisingData(const GapAdvertisingData &ADStructures);
ble_error_t startAdvertising(const GapAdvertisingParams &advParams);
