Wang Xinglu / BLE_API

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
39:a57137537521
Parent:
38:02cf26a2a4db
Child:
40:d405c9b1419d
--- 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();
 }