white space diffs

This commit is contained in:
Rohit Grover 2014-05-22 14:51:06 +01:00
parent 3541e6ff6f
commit abfb51ae4b

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();
}