nRF51 SDK
|
This section describes APIs to Set Up Security. These APIs require that the peer be connected for the procedures to requested. More...
Functions | |
api_result_t | dm_security_setup_req (dm_handle_t *p_handle) |
Routine to request setting up security on a link. More... | |
api_result_t | dm_security_status_req (dm_handle_t const *p_handle, dm_security_status_t *p_status) |
Routine to know status of security on a link. More... | |
api_result_t | dm_whitelist_create (dm_application_instance_t const *p_handle, ble_gap_whitelist_t *p_whitelist) |
Routine to create white-list. More... | |
This section describes APIs to Set Up Security. These APIs require that the peer be connected for the procedures to requested.
This group allows application to request security procedures or know status of security on a link.
api_result_t dm_security_setup_req | ( | dm_handle_t * | p_handle | ) |
Routine to request setting up security on a link.
This API initiates security procedures with a peer device. DM_SECURITY_SETUP_IND event is notified to the application when the procedure is complete.
[in] | p_handle | Identifies the link on which security is desired. |
api_result_t dm_security_status_req | ( | dm_handle_t const * | p_handle, |
dm_security_status_t * | p_status | ||
) |
Routine to know status of security on a link.
This API allows application to query status of security on a link.
[in] | p_handle | Identifies the link on which security is desired. |
[out] | p_status | Pointer where security status is provided to the application. |
api_result_t dm_whitelist_create | ( | dm_application_instance_t const * | p_handle, |
ble_gap_whitelist_t * | p_whitelist | ||
) |
Routine to create white-list.
This API allows application to create whitelist based on bonded peer devices in module data base.
[in] | p_handle | Identifies the application requesting white-list creation. |
[out] | p_whitelist | Pointer where created white-list is provided to the application. |