Function otPlatBleGapScanStop

Source
pub unsafe extern "C" fn otPlatBleGapScanStop(
    aInstance: *mut otInstance,
) -> otError
Expand description

Stops BLE Scanning procedure.

@note This function shall be used only for BLE Central role.

@param[in] aInstance The OpenThread instance structure.

@retval ::OT_ERROR_NONE Scanning procedure has been stopped. @retval ::OT_ERROR_INVALID_STATE BLE Device is in invalid state.