S115 SoftDevice for nRF54LV10 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_ble_gap_lesc_oob_data_get()

uint32_t sd_ble_gap_lesc_oob_data_get ( uint16_t conn_handle,
ble_gap_lesc_p256_pk_t const * p_pk_own,
ble_gap_lesc_oob_data_t * p_oobd_own )

#include <ble_gap.h>

Generate a set of OOB data to send to a peer out of band.

Note
The ble_gap_addr_t included in the OOB data returned will be the currently active one (or, if a connection has already been established, the one used during connection setup). The application may manually overwrite it with an updated value.
Relevant Message Sequence Charts
Peripheral LESC Bonding: Out of Band
Parameters
[in]conn_handleConnection handle. Can be BLE_CONN_HANDLE_INVALID if a BLE connection has not been established yet.
[in]p_pk_ownLE Secure Connections local P-256 Public Key.
[out]p_oobd_ownThe OOB data to be sent out of band to a peer.
Return values
NRF_SUCCESSOOB data successfully generated.
NRF_ERROR_INVALID_ADDRInvalid pointer supplied.
BLE_ERROR_INVALID_CONN_HANDLEInvalid connection handle supplied.