![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t nrf_ble_lesc_own_oob_data_generate | ( | void | ) |
#include <nrf_ble_lesc.h>
Generate LESC OOB data.
This function generates LESC OOB data, which can be transmitted Out-Of-Band to the peer device and used during LESC procedure. It is required to generate ECC keypair with nrf_ble_lesc_keypair_generate before calling this function.
| NRF_SUCCESS | If the operation was successful. |
| NRF_ERROR_INVALID_STATE | If the ECC keypair hasn't been generated or is currently being generated. |