ESP-NOW + WiFi + Deep Sleep - Battery powered

Davidulo
Posts: 2
Joined: Thu Jan 28, 2021 1:59 pm

ESP-NOW + WiFi + Deep Sleep - Battery powered

Postby Davidulo » Thu Jan 28, 2021 2:10 pm

Hello, I have a problem with my project where I use a station that is plugged in the wall and has ESP-NOW and is connected to WiFi. Then I have a device that sends data over ESP-NOW and then goes to sleep for 5 minutes. It is working well, but there is a problem with execution time. When I wake the ESP32 up, it does WiFi.scanNetworks() which takes 2 seconds to finish and that is too much time. Is there a way of setting everything static? I haven't found any solution to this. I know that when I have only ESP-NOW running I don't have to use WiFi.scanNetworks(), but I need to use WiFi simultaneously.

Who is online

Users browsing this forum: No registered users and 55 guests