ESP-NOW

Mr-Techtron
Posts: 10
Joined: Mon Dec 30, 2019 4:20 am

ESP-NOW

Postby Mr-Techtron » Mon Apr 06, 2020 3:37 am

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.

Mr-Techtron
Posts: 10
Joined: Mon Dec 30, 2019 4:20 am

Re: ESP-NOW

Postby Mr-Techtron » Tue Apr 07, 2020 1:51 pm

Is there any way to get the rssi value using esp-now protocol?

Mr-Techtron
Posts: 10
Joined: Mon Dec 30, 2019 4:20 am

Re: ESP-NOW

Postby Mr-Techtron » Tue Apr 07, 2020 8:00 pm

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.

Ivo.Tisch
Posts: 14
Joined: Tue Nov 05, 2019 7:59 pm

Re: ESP-NOW

Postby Ivo.Tisch » Thu Apr 09, 2020 3:51 am

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.

Mr-Techtron
Posts: 10
Joined: Mon Dec 30, 2019 4:20 am

Re: ESP-NOW

Postby Mr-Techtron » Thu Apr 09, 2020 1:03 pm

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.

robkiller
Posts: 2
Joined: Mon Dec 25, 2023 5:31 am

Re: ESP-NOW

Postby robkiller » Mon Dec 25, 2023 5:41 am

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!

Who is online

Users browsing this forum: No registered users and 77 guests