nrf-softdevice-s140

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gap_conn_sec_get(
conn_handle: u16,
p_conn_sec: *mut ble_gap_conn_sec_t
) -> u32
Expand description

@brief Get the current connection security.

@param[in] conn_handle Connection handle. @param[out] p_conn_sec Pointer to a @ref ble_gap_conn_sec_t structure to be filled in.

@retval ::NRF_SUCCESS Current connection security successfully retrieved. @retval ::NRF_ERROR_INVALID_ADDR Invalid pointer supplied. @retval ::BLE_ERROR_INVALID_CONN_HANDLE Invalid connection handle supplied.