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/Gap.h
- Revision:
- 75:d08bdef22500
- Parent:
- 73:eeb1ac3545e9
- Child:
- 77:1436ecf09583
--- a/hw/Gap.h Fri Jun 06 11:30:56 2014 +0100
+++ b/hw/Gap.h Fri Jun 06 14:14:46 2014 +0100
@@ -42,8 +42,7 @@
/* These functions must be defined in the sub-class */
virtual ble_error_t setAddress(addr_type_t type, const uint8_t address[6]) = 0;
- virtual ble_error_t setAdvertisingData(const GapAdvertisingData &,
- const GapAdvertisingData &) = 0;
+ virtual ble_error_t setAdvertisingData(const GapAdvertisingData &, const GapAdvertisingData &) = 0;
virtual ble_error_t startAdvertising(const GapAdvertisingParams &) = 0;
virtual ble_error_t stopAdvertising(void) = 0;
virtual ble_error_t disconnect(void) = 0;
@@ -95,11 +94,7 @@
}
protected:
- Gap() :
- state(),
- onTimeout(NULL),
- onConnection(NULL),
- onDisconnection(NULL) {
+ Gap() : state(), onTimeout(NULL), onConnection(NULL), onDisconnection(NULL) {
/* empty */
}
