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: hw/BLEDevice.h
- Revision:
- 100:1e80e8032c13
- Parent:
- 99:58c47085e816
- Child:
- 102:39e30ac179a7
--- a/hw/BLEDevice.h Thu Jul 03 09:59:53 2014 +0100
+++ b/hw/BLEDevice.h Fri Jul 04 11:27:20 2014 +0100
@@ -133,9 +133,10 @@
* small.
*
* @param flags
- * The flag to be added.
+ * The flags to be added. Multiple flags may be specified in
+ * combination.
*/
- ble_error_t accumulateAdvertisingPayload(GapAdvertisingData::Flags flags);
+ ble_error_t accumulateAdvertisingPayload(uint8_t flags);
/**
* Accumulate an AD structure in the advertising payload. Please note that
@@ -338,7 +339,7 @@
}
inline ble_error_t
-BLEDevice::accumulateAdvertisingPayload(GapAdvertisingData::Flags flags)
+BLEDevice::accumulateAdvertisingPayload(uint8_t flags)
{
needToSetAdvPayload = true;
return advPayload.addFlags(flags);
