Function esp_idf_sys::ble_gap_disc_cancel

source ยท
pub unsafe extern "C" fn ble_gap_disc_cancel() -> c_int
Expand description

Cancels the discovery procedure currently in progress. A success return code indicates that scanning has been fully aborted; a new discovery or connect procedure can be initiated immediately.

@return 0 on success; BLE_HS_EALREADY if there is no discovery procedure to cancel; Other nonzero on unexpected error.