https://developer.mbed.org/users/TheoHavercroft/code/nrf51-sdk/
Fork of nRF51822 by
Diff: source/btle/btle_security.h
- Revision:
- 598:814c1ce92947
- Parent:
- 597:bcd5e287c494
- Child:
- 599:3e66e1eb264d
--- a/source/btle/btle_security.h Mon Jan 11 10:19:35 2016 +0000 +++ b/source/btle/btle_security.h Mon Jan 11 10:19:35 2016 +0000 @@ -40,7 +40,7 @@ SecurityManager::SecurityIOCapabilities_t iocaps = SecurityManager::IO_CAPS_NONE, const SecurityManager::Passkey_t passkey = NULL); -ble_error_t btle_createWhitelistFromBonds(ble_gap_whitelist_t *p_whitelist); +ble_error_t btle_createWhitelistFromBondTable(ble_gap_whitelist_t *p_whitelist); /** * Get the security status of a link. @@ -77,4 +77,8 @@ */ ble_error_t btle_purgeAllBondingState(void); +bool btle_hasInitializedSecurity(void); + +bool btle_matchAddressAndIrk(ble_gap_addr_t const * p_addr, ble_gap_irk_t const * p_irk); + #endif /* _BTLE_SECURITY_H_ */ \ No newline at end of file