15#ifndef NRF_BLE_LESC_H__
16#define NRF_BLE_LESC_H__
27typedef ble_gap_lesc_oob_data_t *(*nrf_ble_lesc_peer_oob_data_handler)(uint16_t conn_handle);
void nrf_ble_lesc_on_ble_evt(const ble_evt_t *ble_evt)
Handle Bluetooth LE stack events.
ble_gap_lesc_p256_pk_t * nrf_ble_lesc_public_key_get(void)
Get the ECC public key used for LESC DH key generation.
uint32_t nrf_ble_lesc_keypair_generate(void)
Generate ECC keypair used for the LESC procedure.
uint32_t nrf_ble_lesc_own_oob_data_generate(void)
Generate LESC OOB data.
uint32_t nrf_ble_lesc_init(void)
Initialize the LESC module.
ble_gap_lesc_oob_data_t *(* nrf_ble_lesc_peer_oob_data_handler)(uint16_t conn_handle)
Peer OOB Data handler prototype.
Definition nrf_ble_lesc.h:27
ble_gap_lesc_oob_data_t * nrf_ble_lesc_own_oob_data_get(void)
Get the LESC Out-of-Band data.
void nrf_ble_lesc_peer_oob_data_handler_set(nrf_ble_lesc_peer_oob_data_handler handler)
Set the handler used to retrieve peer OOB data.
uint32_t nrf_ble_lesc_request_handler(void)
Respond to DH key requests.