ESP-NOW interference slowdown

nwagenbach
Posts: 5
Joined: Tue Jul 10, 2018 2:01 pm

ESP-NOW interference slowdown

Postby nwagenbach » Wed Sep 26, 2018 9:43 pm

I have some test code that sends a 250 byte packet to a second device and waits for its response which is also 250 bytes. When using a channel that has no interference I get a response in 6 milliseconds. When using a channel that has some interference (1 router), my response time goes up to 9 milliseconds and is much less consistent. I am using a broadcast to send the data so according to the documentation there should only be a single frame send. It seems to me that my times should be consistent on both channels but with more dropped packets on the channel with interference. Is there any builtin retry, traffic sensing, or something else in either ESP-NOW or the ESP32 WiFi that would cause this?

ESP_Sprite
Posts: 9709
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP-NOW interference slowdown

Postby ESP_Sprite » Thu Sep 27, 2018 6:46 am

One of the things WiFi does is wait for the airwaves to be empty before sending a packet. My guess is that you may be running into that issue.

nwagenbach
Posts: 5
Joined: Tue Jul 10, 2018 2:01 pm

Re: ESP-NOW interference slowdown

Postby nwagenbach » Thu Sep 27, 2018 5:04 pm

That makes sense. Thanks.

Who is online

Users browsing this forum: Bing [Bot] and 202 guests