Using ESP-IDF v5.2.3 with an ESP32-S3 I have a working setup with ESP-NOW:
I (1638) ESPNOW_RECEIVER: Initializing ESP-NOW...
I (1648) ESPNOW: espnow [version: 1.0] init
so I can only send 250 bytes max per packet.
What is required to have access to ESP-NOW version 2.0 ??
Requirements for ESP-NOW version 2.0?
Re: Requirements for ESP-NOW version 2.0?
Ok, using ESP-IDF v5.4 I can get:
I (1641) ESPNOW_RECEIVER: Initializing ESP-NOW...
I (1651) ESPNOW: espnow [version: 2.0] init
But I can't find a description of the packet structure for v2.0 ? The only thing hinting of more than 250 bytes here: https://docs.espressif.com/projects/esp ... p_now.html
is the "More data" bit, just before version. But nothing about how the "More data" should be structured.
Help?
I (1641) ESPNOW_RECEIVER: Initializing ESP-NOW...
I (1651) ESPNOW: espnow [version: 2.0] init
But I can't find a description of the packet structure for v2.0 ? The only thing hinting of more than 250 bytes here: https://docs.espressif.com/projects/esp ... p_now.html
is the "More data" bit, just before version. But nothing about how the "More data" should be structured.
Help?
Re: Requirements for ESP-NOW version 2.0?
Oh, I get it now. For > 250 bytes, you set the "More data" bit and just add another "vendor-specific element frame" up to a maximum count of 6 such elements. Always, the last element has the "More data" bit set to zero.
-
FerriteGiantESP
- Posts: 1
- Joined: Fri Apr 04, 2025 4:07 pm
Re: Requirements for ESP-NOW version 2.0?
Did you get this fully working? Are you still calling esp_now_send() but with the new larger allowed length? Or are you having to manually construct the payload, or...?
Do you know, does this actually end up more efficiently transmitting large amounts of data?
Do you know, does this actually end up more efficiently transmitting large amounts of data?
Re: Requirements for ESP-NOW version 2.0?
Yes, I got this working. Building on my own version of https://github.com/thomasfla/Linux-ESPNOW, I did a test running with 1024 bytes per packet, and I could easily get 10+ Mbps (with 50+ Mbps WLAN connection).
The main limit for how fast you can transfer data will be the WLAN connection speed, ultimately.
The main limit for how fast you can transfer data will be the WLAN connection speed, ultimately.
Re: Requirements for ESP-NOW version 2.0?
So you are just calling esp_now_send() with a larger payload?
Re: Requirements for ESP-NOW version 2.0?
My particular project only uses ESP32 as a receiver, however, yes, with ESP-NOW 2.0, the payload in esp_now_send should accept up to 1490 bytes per the documentation. I think I need to go to ISP-IDF v5.4 for this, at least that is what I am using now.
-
nopnop2002
- Posts: 347
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: Requirements for ESP-NOW version 2.0?
In ESPNOW V2, CONFIG_ESPNOW_SEND_LEN has a maximum of 1470.
https://github.com/espressif/esp-idf/bl ... C5-L353C46
https://github.com/espressif/esp-idf/bl ... C5-L353C46
Who is online
Users browsing this forum: No registered users and 5 guests