Bike service

Fork of BLE_API by Bluetooth Low Energy

Revision:
1122:57dcf7dc2fe8
Parent:
1121:df91547290be
Child:
1123:685c954464e1
diff -r df91547290be -r 57dcf7dc2fe8 ble/Gap.h
--- 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.