ESP-NOW
-
- Posts: 10
- Joined: Mon Dec 30, 2019 4:20 am
ESP-NOW
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.
-
- Posts: 10
- Joined: Mon Dec 30, 2019 4:20 am
Re: ESP-NOW
Is there any way to get the rssi value using esp-now protocol?
-
- Posts: 10
- Joined: Mon Dec 30, 2019 4:20 am
Re: ESP-NOW
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
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.
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.
-
- Posts: 10
- Joined: Mon Dec 30, 2019 4:20 am
Re: ESP-NOW
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.
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
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!
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 80 guests