nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ nrf_ble_lesc_own_oob_data_generate()

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.

Return values
NRF_SUCCESSIf the operation was successful.
NRF_ERROR_INVALID_STATEIf the ECC keypair hasn't been generated or is currently being generated.