For scoop
Fork of nRF51822 by
Diff: btle/btle_security.h
- Revision:
- 138:750eca573e18
- Parent:
- 137:aafab7b0a8bd
- Child:
- 139:b2f5c70b166e
--- 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. *