nrf-softdevice-s140

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gap_connect_cancel() -> u32
Expand description

@brief Cancel a connection establishment.

@mscs @mmsc{@ref BLE_GAP_CENTRAL_CONN_MSC} @endmscs

@retval ::NRF_SUCCESS Successfully canceled an ongoing connection procedure. @retval ::NRF_ERROR_INVALID_STATE No locally initiated connect procedure started or connection completed occurred.