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
Revision 1122:57dcf7dc2fe8, committed 2016-01-11
- Comitter:
- vcoubard
- Date:
- Mon Jan 11 08:52:04 2016 +0000
- Parent:
- 1121:df91547290be
- Child:
- 1123:685c954464e1
- Commit message:
- Synchronized with git rev 0b2ca7aa
Author: Andres Amaya Garcia
Add capacity to whitelist structure
Changed in this revision
| ble/Gap.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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.
