for bbc microbit library
Fork of nRF51822 by
Diff: btle/btle_security.h
- Revision:
- 137:aafab7b0a8bd
- Parent:
- 134:df7e7964a9c3
- Child:
- 138:750eca573e18
--- 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 @@ -27,4 +27,14 @@ */ ble_error_t btle_initializeSecurity(); +/** + * Function for deleting all peer device context and all related bonding + * information from the database. + * + * @retval BLE_ERROR_NONE On success, else an error code indicating reason for failure. + * @retval BLE_ERROR_INVALID_STATE If the API is called without module initialization and/or + * application registration. + */ +ble_error_t btle_deleteAllStoredDevices(void); + #endif /* _BTLE_SECURITY_H_ */ \ No newline at end of file