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
Diff: GapAdvertisingData.cpp
- Revision:
- 76:103fac6e36d1
- Parent:
- 59:2c30cb482915
- Child:
- 96:6f4c8e545d38
diff -r d08bdef22500 -r 103fac6e36d1 GapAdvertisingData.cpp
--- 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.) */
