Function esp_idf_hal::sys::esp_transport_set_async_connect_func
source ยท pub unsafe extern "C" fn esp_transport_set_async_connect_func(
t: *mut esp_transport_item_t,
_connect_async_func: Option<unsafe extern "C" fn(_: *mut esp_transport_item_t, _: *const i8, _: i32, _: i32) -> i32>,
) -> i32
Expand description
@brief Set transport functions for the transport handle
@param[in] t The transport handle @param[in] _connect_async_func The connect_async function pointer
@return - ESP_OK - ESP_FAIL