High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: GapAdvertisingData.cpp
- Revision:
- 76:103fac6e36d1
- Parent:
- 59:2c30cb482915
- Child:
- 96:6f4c8e545d38
--- a/GapAdvertisingData.cpp Fri Jun 06 14:14:46 2014 +0100 +++ b/GapAdvertisingData.cpp Mon Jun 09 08:29:22 2014 +0100 @@ -30,10 +30,8 @@ \endcode */ /**************************************************************************/ -GapAdvertisingData::GapAdvertisingData(void) : _payload(), - _payloadLen(0), - _appearance(GENERIC_TAG) -{ +GapAdvertisingData::GapAdvertisingData(void) : _payload(), _payloadLen(0), _appearance(GENERIC_TAG) { + /* empty */ } /**************************************************************************/ @@ -70,9 +68,7 @@ \endcode */ /**************************************************************************/ -ble_error_t GapAdvertisingData::addData(DataType advDataType, - const uint8_t *payload, - uint8_t len) +ble_error_t GapAdvertisingData::addData(DataType advDataType, const uint8_t *payload, uint8_t len) { /* ToDo: Check if an AD type already exists and if the existing */ /* value is exclusive or not (flags, etc.) */