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 530:00800f9ffbfb, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:52:07 2015 +0100
- Parent:
- 529:ccfae9d8e56e
- Child:
- 531:bdcd44b03974
- Commit message:
- Synchronized with git rev 756e86da
Author: Rohit Grover
BLE: move scanningParams to a better location
Changed in this revision
| public/BLE.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/public/BLE.h Fri Jun 19 15:52:07 2015 +0100
+++ b/public/BLE.h Fri Jun 19 15:52:07 2015 +0100
@@ -719,7 +719,7 @@
void terminateServiceDiscovery(void);
public:
- BLE() : transport(createBLEInstance()), advParams(), advPayload(), scanResponse(), needToSetAdvPayload(true), scanningParams() {
+ BLE() : transport(createBLEInstance()), advParams(), advPayload(), scanningParams(), scanResponse(), needToSetAdvPayload(true) {
advPayload.clear();
scanResponse.clear();
}
@@ -729,14 +729,13 @@
GapAdvertisingParams advParams;
GapAdvertisingData advPayload;
+ GapScanningParams scanningParams;
GapAdvertisingData scanResponse;
/* 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 needToSetAdvPayload;
-
- GapScanningParams scanningParams;
};
typedef BLE BLEDevice; /* DEPRECATED. This type alias is retained for the sake of compatibilty with older
