Function esp_idf_hal::sys::esp_mesh_stop

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

@brief Stop mesh - Deinitialize mesh IE. - Disconnect with current parent. - Disassociate all currently associated children. - Stop mesh network management service. - Unregister mesh packets receive callback. - Delete TX and RX queues. - Release resources. - Restore Wi-Fi softAP to default settings if Wi-Fi dual mode is enabled. - Set Wi-Fi Power Save type to WIFI_PS_NONE.

@return

  • ESP_OK
  • ESP_FAIL