1 post • Page 1 of 1
I have a moisture sensor based on esp32 running on battery. Each time it wakeup from deep sleep, it retrieves SSID and PW from NVS and connect to WIFI. Usually this works fine, but sometimes it does not connect to WIFI no matter how many reconnect attempts (though it successfully retrieves SSID and PW from NVS each time ). This drains the battery fast. I could not figure out why this happens? Will esp_restart(); is the fix in this situation, and is the only solution in this case?
Who is online
Users browsing this forum: Baidu [Spider], Dong Fang and 40 guests