This module implements BLE Low Energy Secure Connections key generation.
More...
This module implements BLE Low Energy Secure Connections key generation.
Function for requesting LESC SK/PK key generation.
- Parameters
-
[in] | key_evt_handler | Event handler which is called when key generation has been completed. |
- Returns
- NRF_SUCCESS on success, otherwise an error code.
ret_code_t m_coms_ble_lesc_generate_oob_data |
( |
ble_gap_lesc_oob_data_t * |
p_oob_data | ) |
|
Function for generating LESC OOB data.
- Parameters
-
[out] | p_oob_data | Pointer to the buffer which is filled with OOB data or NULL. |
- Returns
- NRF_SUCCESS on success, otherwise an error code.
ret_code_t m_coms_ble_lesc_get_oob_data |
( |
ble_gap_lesc_oob_data_t * |
p_oob_data | ) |
|
Function for getting the generated LESC OOB data.
- Parameters
-
[out] | p_oob_data | Pointer to the buffer which is filled with OOB data. |
- Returns
- NRF_SUCCESS on success, otherwise an error code.
ret_code_t m_coms_ble_lesc_init |
( |
void |
| ) |
|
Function for initializing the BLE LESC module.
- Returns
- NRF_SUCCESS on success, otherwise an error code.