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:
LancasterUniversity
Date:
Wed Apr 06 18:40:39 2016 +0100
Parent:
1138:6aabbb5f81e6
Child:
1140:dd2f69fad8c6
Commit message:
Synchronized with git rev 1b78b7bb
Author: Joe Finney
microbit: Added 'bonds' field to Gap::Whitelist_t structure

It is common for application to need to know the number of bonds stored at any
time, for the purposes of bond management. This simple addition allows
applicaitons to discover the number of bonds present using the existing API.

Changed in this revision

ble/Gap.h Show annotated file Show diff for this revision Revisions of this file
--- a/ble/Gap.h	Wed Apr 06 18:40:37 2016 +0100
+++ b/ble/Gap.h	Wed Apr 06 18:40:39 2016 +0100
@@ -140,6 +140,7 @@
         BLEProtocol::Address_t *addresses;
         uint8_t                 size;
         uint8_t                 capacity;
+        uint8_t                 bonds;
     };