Function esp_idf_svc::sys::esp_mesh_start

source ·
pub unsafe extern "C" fn esp_mesh_start() -> i32
Expand description

@brief Start mesh - Initialize mesh IE. - Start mesh network management service. - Create TX and RX queues according to the configuration. - Register mesh packets receive callback.

@attention  This API shall be called after mesh initialization and configuration.

@return

  • ESP_OK
  • ESP_FAIL
  • ESP_ERR_MESH_NOT_INIT
  • ESP_ERR_MESH_NOT_CONFIG
  • ESP_ERR_MESH_NO_MEMORY