esp_idf_hal::sys

Function esp_mesh_send_block_time

Source
pub unsafe extern "C" fn esp_mesh_send_block_time(time_ms: u32) -> i32
Expand description

@brief Set blocking time of esp_mesh_send() - Suggest to set the blocking time to at least 5s when the environment is poor. Otherwise, esp_mesh_send() may timeout frequently.

@attention This API shall be called before mesh is started.

@param[in] time_ms blocking time of esp_mesh_send(), unit:ms

@return

  • ESP_OK