Function esp_idf_svc::sys::esp_ble_gap_start_ext_scan
source ยท pub unsafe extern "C" fn esp_ble_gap_start_ext_scan(
duration: u32,
period: u16,
) -> i32
Expand description
@brief This function is used to enable scanning.
@param[in] duration Scan duration time, where Time = N * 10 ms. Range: 0x0001 to 0xFFFF. @param[in] period Time interval from when the Controller started its last Scan Duration until it begins the subsequent Scan Duration. Time = N * 1.28 sec. Range: 0x0001 to 0xFFFF.
@return - ESP_OK : success - other : failed