ARMmbed / ble-nrf51822

Nordic stack and drivers for the mbed BLE_API
Other
46 stars 51 forks source link

Finish implementation of getAddressesFromBondTable #103

Closed andresag01 closed 8 years ago

andresag01 commented 8 years ago

Finish the implementation of the new function getAddressesFromBondTable() in SecurityManager that returns a table with a list of addresses from the peers in the bond table. @pan-

andresag01 commented 8 years ago

NOTE: This PR requires changes to nrf51-sdk to expose the ah() function to calculate a hash.

andresag01 commented 8 years ago

NOTE: If the bond table contains both a static address and an IRK for the same device, then the returned address list from getAddressesFromBondTable() will contain two addresses for the same device i.e. one private resolvable and one static address.

pan- commented 8 years ago

All tests pass, I merge