Page 1 of 1

Esp-Now throughput

Posted: Mon Oct 21, 2019 9:13 pm
by Javier
I'm trying to achieve a continuous (and reliable) transmision at 768kbp with Esp-Now, but I cannot get any more than 512kbps.
1) Is this an intrinsic limitation of the protocol?
2) Is there any way to increase the throughput?
ESP_NOW_MAX_DATA_LEN is set to 250 in esp_now.h, and changing this value doesn't seems to make any effect.
3) Is there any way to increase the packet size?

I will apreciate any pointer into the right direction.
Many thanks!

Re: Esp-Now throughput

Posted: Tue Oct 22, 2019 2:30 am
by WiFive

Re: Esp-Now throughput

Posted: Tue Oct 22, 2019 7:53 pm
by Javier
Excellent! Thank you for the data!

Re: Esp-Now throughput

Posted: Fri Nov 22, 2019 8:15 am
by zhangyanjiao
@Javier
The default ESP-NOW bit rate is 1 Mbps. You can use the workaround as @WiFive mentioned, call `esp_wifi_internal_set_fix_rate()` to set the reasonable rate.

Re: Esp-Now throughput

Posted: Wed Apr 01, 2020 9:40 am
by liuzhifu
If you want to use esp_wifi_internal_set_fix_rate, please disable WiFi AMPDU TX by:

make menuconfig => components => Wi-Fi => Disable TX AMPDU.