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