I have seen esp_err_t esp_wifi_set_ps(wifi_ps_type_t type).But it's augument:
Code: Select all
typedef enum {
WIFI_PS_NONE, /**< No power save */
WIFI_PS_MODEM, /**< Modem power save */
} wifi_ps_type_t;
Code: Select all
typedef enum {
WIFI_PS_NONE, /**< No power save */
WIFI_PS_MODEM, /**< Modem power save */
} wifi_ps_type_t;
OK ,Thank for your reply.I see.I will wait.ESP_Sprite wrote:At the moment, you can't... it's not really compatible with the way esp-idf works. Later on, we'll add a simple implementation which works similar to the deep sleep API. If we can pull it off, we may also add some code that automatically does light sleep if peripheral use allows it.
Users browsing this forum: No registered users and 135 guests