Function esp_idf_hal::sys::esp_mesh_set_xon_qsize

source ยท
pub unsafe extern "C" fn esp_mesh_set_xon_qsize(qsize: i32) -> i32
Expand description

@brief Set the number of RX queue for the node, the average number of window allocated to one of its child node is: wnd = xon_qsize / (2 * max_connection + 1). However, the window of each child node is not strictly equal to the average value, it is affected by the traffic also.

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

@param[in] qsize default:32 (min:16)

@return

  • ESP_OK
  • ESP_FAIL