Page 1 of 1
ESP-NOW
Posted: Mon Apr 06, 2020 3:37 am
by Mr-Techtron
In the esp-now user guide, it is mentioned that one can connect up to 10 encrypted pairs, but in esp_now.h "ESP_NOW_MAX_ENCRYPT_PEER_NUM" is defined as 6. Can someone please explain this, since I can't find enough documentation about ESP-NOW.
Re: ESP-NOW
Posted: Tue Apr 07, 2020 1:51 pm
by Mr-Techtron
Is there any way to get the rssi value using esp-now protocol?
Re: ESP-NOW
Posted: Tue Apr 07, 2020 8:00 pm
by Mr-Techtron
After some digging, I manage to get the RSSI value by enabling the promiscuous mode and implement filtering based on the frame control field of the mac header.
Re: ESP-NOW
Posted: Thu Apr 09, 2020 3:51 am
by Ivo.Tisch
Hi Mr Techtron,
I believe if you have only ESPNOW, you can have up to 10 encrypted pairs. If you are running both ESPNOW and have a wifi soft-AP, then you can only have 6 encrypted pairs.
Re: ESP-NOW
Posted: Thu Apr 09, 2020 1:03 pm
by Mr-Techtron
I'm using ESPNOW in WIFI_MODE_STA mode but can only add 6 peers.
In esp_now.h there is
#define ESP_NOW_MAX_ENCRYPT_PEER_NUM 6 /*!< Maximum number of ESPNOW encrypted peers */
I set it at 10 but I've got no success.
Re: ESP-NOW
Posted: Mon Dec 25, 2023 5:41 am
by robkiller
I am about to start a new project and found esp32 NOW. I have a few questions to see if it can do what I want.
I want to set up 1 ESP32 that will monitor multiple analog sensors.
I want multiple (2) ESP32 units to read and display those results on a colored touch lcd screen.
The touch lcd screens will have a few touch buttons on the screen both identical buttons to activate a relay on the main esp32 that has the sensors attached to it.
I feel this is possible using esp32 Now, but I am not sure if I am missing anything. The program loaded on the ESP32 that has the sensor will be different then the programing on the boards for the 2 other ESP32 boards. Will that be a problem?
Thanks for the advice!