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 39:a57137537521, committed 2014-05-22
- Comitter:
- Rohit Grover
- Date:
- Thu May 22 14:51:06 2014 +0100
- Parent:
- 38:02cf26a2a4db
- Child:
- 40:d405c9b1419d
- Commit message:
- white space diffs
Changed in this revision
| hw/BLEDevice.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/hw/BLEDevice.h Thu May 22 13:30:05 2014 +0100
+++ b/hw/BLEDevice.h Thu May 22 14:51:06 2014 +0100
@@ -55,29 +55,35 @@
virtual GattServer& getGattServer() = 0;
};
-inline ble_error_t BLEDevice::setAddress(Gap::addr_type_t type, const uint8_t address[6]) {
+inline ble_error_t
+BLEDevice::setAddress(Gap::addr_type_t type, const uint8_t address[6]) {
return getGap().setAddress(type, address);
}
-inline ble_error_t BLEDevice::setAdvertisingData(GapAdvertisingData &ADStructures,
- GapAdvertisingData &scanResponse) {
+inline ble_error_t
+BLEDevice::setAdvertisingData(GapAdvertisingData &ADStructures,
+ GapAdvertisingData &scanResponse) {
return getGap().setAdvertisingData(ADStructures, scanResponse);
}
-inline ble_error_t BLEDevice::setAdvertisingData(GapAdvertisingData &ADStructures) {
+inline ble_error_t
+BLEDevice::setAdvertisingData(GapAdvertisingData &ADStructures) {
GapAdvertisingData scanResponse;
return getGap().setAdvertisingData(ADStructures, scanResponse);
}
-inline ble_error_t BLEDevice::startAdvertising(GapAdvertisingParams &advParams) {
+inline ble_error_t
+BLEDevice::startAdvertising(GapAdvertisingParams &advParams) {
return getGap().startAdvertising(advParams);
}
-inline ble_error_t BLEDevice::stopAdvertising(void) {
+inline ble_error_t
+BLEDevice::stopAdvertising(void) {
return getGap().stopAdvertising();
}
-inline ble_error_t BLEDevice::disconnect(void) {
+inline ble_error_t
+BLEDevice::disconnect(void) {
return getGap().disconnect();
}
