Correct setting of ESP-Now
Posted: Mon Apr 01, 2019 6:32 pm
In my project I use protocol ESP-Now as a way of communication between ESP32 boards.
I have some questions about setting ESP-Now.
The first ESP board only reads the data from sensors and sends it through ESP-Now. The second board receives ESP-Now data but in the same time is also connected to Wi-Fi AP. So the second board is in Station mode. According ESP-Now User Guide it is not recommended to send packets to a device in Station mode. Because the device may be in sleep and thus not receive the ESP-Now message. One possible option is to set the second board to the combined AP-STA mode but then also the Wi-Fi AP starts on the ESP. Which is something I don't want.
So the first question is, what is the correct setting of ESP to be connected to Wi-Fi AP but also reliably received ESP-Now messages? Is it somehow possible to set ESP to combined AP-STA mode but not to turn on Wi-Fi AP? Or somehow make STA mode reliable for receiving ESP-Now messages?
The second question is about Espressif Wi-Fi Long Range Protocol Mode. Is it already implemented on ESP32? And if yes, can it be used to increase the range of ESP-Now communication?
Thank you for your response.
I have some questions about setting ESP-Now.
The first ESP board only reads the data from sensors and sends it through ESP-Now. The second board receives ESP-Now data but in the same time is also connected to Wi-Fi AP. So the second board is in Station mode. According ESP-Now User Guide it is not recommended to send packets to a device in Station mode. Because the device may be in sleep and thus not receive the ESP-Now message. One possible option is to set the second board to the combined AP-STA mode but then also the Wi-Fi AP starts on the ESP. Which is something I don't want.
So the first question is, what is the correct setting of ESP to be connected to Wi-Fi AP but also reliably received ESP-Now messages? Is it somehow possible to set ESP to combined AP-STA mode but not to turn on Wi-Fi AP? Or somehow make STA mode reliable for receiving ESP-Now messages?
The second question is about Espressif Wi-Fi Long Range Protocol Mode. Is it already implemented on ESP32? And if yes, can it be used to increase the range of ESP-Now communication?
Thank you for your response.