stopping wifi before going into deep sleep?
Posted: Fri Jun 16, 2023 9:56 pm
if my esp32 is connected to wifi before going into deep sleep, is there any advantage to issuing the commands:
esp_wifi_stop();
esp_wifi_deinit();
before
going into deep sleep?
I'm thinking perhaps that may tell the AP that the wifi will no longer be required and save resources there, until the esp wakes up and reconnects - however I'm not sure if the deep sleep stops the wifi and does the deinit anyway?
esp_wifi_stop();
esp_wifi_deinit();
before
going into deep sleep?
I'm thinking perhaps that may tell the AP that the wifi will no longer be required and save resources there, until the esp wakes up and reconnects - however I'm not sure if the deep sleep stops the wifi and does the deinit anyway?