Function nrf_softdevice_s132::sd_ble_gap_scan_stop
source · 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.