Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Revision 140:3a5282e3f30c, committed 2015-05-08
- Comitter:
- rgrover1
- Date:
- Fri May 08 15:33:56 2015 +0100
- Parent:
- 139:b2f5c70b166e
- Child:
- 141:586e146a3903
- Commit message:
- Synchronized with git rev f258300a
Author: Rohit Grover
rename to purgeAllBondingState()
Changed in this revision
--- a/btle/btle_security.cpp Fri May 08 15:33:56 2015 +0100
+++ b/btle/btle_security.cpp Fri May 08 15:33:56 2015 +0100
@@ -71,7 +71,7 @@
}
ble_error_t
-btle_deleteAllStoredDevices(void)
+btle_purgeAllBondingState(void)
{
ret_code_t rc;
if ((rc = dm_device_delete_all(&applicationInstance)) == NRF_SUCCESS) {
--- a/btle/btle_security.h Fri May 08 15:33:56 2015 +0100 +++ b/btle/btle_security.h Fri May 08 15:33:56 2015 +0100 @@ -47,6 +47,6 @@ * @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_ */ \ No newline at end of file
--- a/nRF51Gap.h Fri May 08 15:33:56 2015 +0100
+++ b/nRF51Gap.h Fri May 08 15:33:56 2015 +0100
@@ -55,7 +55,7 @@
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);
}
