Function wifi_mgr_set_mode(wifi_mode_t)

Function Documentation

esp_err_t wifi_mgr_set_mode(wifi_mode_t mode)

Apply the requested Wi-Fi mode (NULL/AP/STA/APSTA).

Apply the requested Wi-Fi mode (NULL/AP/STA/APSTA).

매개변수:

mode – Desired Wi-Fi mode to set.

반환:

ESP_OK on success, or an error code on failure.