Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API

Dependents:   microbit-dal microbit-dal microbit-ble-open microbit-dal ... more

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

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.