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.
Dependents: BLE_PowerBank_HeyFaradey
Fork of BLE_API by
Diff: ble/Gap.h
- Revision:
- 1122:57dcf7dc2fe8
- Parent:
- 1121:df91547290be
- Child:
- 1123:685c954464e1
--- a/ble/Gap.h Mon Jan 11 08:52:04 2016 +0000
+++ b/ble/Gap.h Mon Jan 11 08:52:04 2016 +0000
@@ -129,6 +129,7 @@
struct Whitelist_t {
BLEProtocol::Address_t *addresses;
uint8_t size;
+ uint8_t capacity;
};
@@ -524,7 +525,7 @@
* advertising or initiating a connection depending on the filter policies.
*
* @param[in/out] whitelist
- * (on input) whitelist.size contains the maximum number
+ * (on input) whitelist.capacity contains the maximum number
* of addresses to be returned.
* (on output) The populated whitelist with copies of the
* addresses in the implementation's whitelist.
