white space diffs

master
Rohit Grover 2014-05-22 14:51:06 +01:00
parent 3541e6ff6f
commit abfb51ae4b
1 changed files with 13 additions and 7 deletions

View File

@ -55,29 +55,35 @@ public: /* TODO: to be made private soon */
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();
}