rename to purgeAllBondingState()

This commit is contained in:
Rohit Grover 2015-04-23 08:03:04 +01:00
parent caf49f6c53
commit f258300a53
3 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ btle_initializeSecurity()
}
ble_error_t
btle_deleteAllStoredDevices(void)
btle_purgeAllBondingState(void)
{
ret_code_t rc;
if ((rc = dm_device_delete_all(&applicationInstance)) == NRF_SUCCESS) {

View file

@ -47,6 +47,6 @@ ble_error_t btle_getLinkSecurity(Gap::Handle_t connectionHandle, Gap::LinkSecuri
* @retval BLE_ERROR_INVALID_STATE If the API is called without module initialization and/or
* application registration.
*/
ble_error_t btle_deleteAllStoredDevices(void);
ble_error_t btle_purgeAllBondingState(void);
#endif /* _BTLE_SECURITY_H_ */

View file

@ -55,7 +55,7 @@ public:
virtual ble_error_t stopAdvertising(void);
virtual ble_error_t disconnect(DisconnectionReason_t reason);
virtual ble_error_t deleteAllBondedDevices(void) {return btle_deleteAllStoredDevices();}
virtual ble_error_t purgeAllBondingState(void) {return btle_purgeAllBondingState();}
virtual ble_error_t getLinkSecurity(Handle_t connectionHandle, LinkSecurityStatus_t *securityStatusP) {
return btle_getLinkSecurity(connectionHandle, securityStatusP);
}