nrf-softdevice-s132

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gap_scan_stop() -> u32
Expand description

@brief Stop scanning (GAP Discovery procedure, Observer Procedure).

@note The buffer provided in @ref sd_ble_gap_scan_start is released.

@mscs @mmsc{@ref BLE_GAP_SCAN_MSC} @mmsc{@ref BLE_GAP_WL_SHARE_MSC} @endmscs

@retval ::NRF_SUCCESS Successfully stopped scanning procedure. @retval ::NRF_ERROR_INVALID_STATE Not in the scanning state.