Function wifi_mgr_set_mode_str(const char *)
Defined in File wifi.h
Function Documentation
-
esp_err_t wifi_mgr_set_mode_str(const char *mode_str)
Helper that parses a string such as “sta” or “ap+sta” into wifi_mgr_set_mode.
Helper that parses a string such as “sta” or “ap+sta” into wifi_mgr_set_mode.
- 매개변수:
mode_str – String representation of the desired mode (“null”, “sta”, “ap”, “apsta”).
- 반환:
ESP_OK on success, or an error code on failure.