Function esp_idf_svc::sys::esp_transport_poll_write
source ยท pub unsafe extern "C" fn esp_transport_poll_write(
t: *mut esp_transport_item_t,
timeout_ms: i32,
) -> i32
Expand description
@brief Poll the transport until writeable or timeout
@param[in] t The transport handle @param[in] timeout_ms The timeout milliseconds (-1 indicates wait forever)
@return - 0 Timeout - (-1) If there are any errors, should check errno - other The transport can write