Add capacity to whitelist structure

This commit is contained in:
Andres Amaya Garcia 2016-01-06 10:40:23 +00:00
parent a488074d7a
commit 0b2ca7aafd
1 changed files with 2 additions and 1 deletions

View File

@ -129,6 +129,7 @@ public:
struct Whitelist_t {
BLEProtocol::Address_t *addresses;
uint8_t size;
uint8_t capacity;
};
@ -524,7 +525,7 @@ public:
* 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.