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
Diff: btle/btle_security.h
- Revision:
- 138:750eca573e18
- Parent:
- 137:aafab7b0a8bd
- Child:
- 139:b2f5c70b166e
diff -r aafab7b0a8bd -r 750eca573e18 btle/btle_security.h --- 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 @@ -28,6 +28,19 @@ ble_error_t btle_initializeSecurity(); /** + * Get the security status of a link. + * + * @param[in] connectionHandle + * Handle to identify the connection. + * @param[out] securityStatusP + * security status. + * + * @return BLE_SUCCESS Or appropriate error code indicating reason for failure. + */ + +ble_error_t btle_getLinkSecurity(Gap::Handle_t connectionHandle, Gap::LinkSecurityStatus_t *securityStatusP); + +/** * Function for deleting all peer device context and all related bonding * information from the database. *