-->
Page 1 of 1

ESPNow Send Tmeout

PostPosted: Tue May 09, 2023 5:26 pm
by xytsrm
The default timeout for an ESPNow Send is 25ms; it will return in 25ms either having received an Ack or not.

Is there a way to change the 25ms default timeout?

Thanks, X.

Re: ESPNow Send Tmeout

PostPosted: Wed May 10, 2023 3:29 am
by rooppoorali
I could not find any clue about changing the timeout of ESPNow send here:

https://micropython-glenn20.readthedocs ... spnow.html

Though ChatGPT says it is possible by using

esp_now_set_p2p_send_timeout()

Re: ESPNow Send Tmeout

PostPosted: Wed May 10, 2023 9:05 am
by xytsrm
Thanks for the reply.

However, the format that ChatGPT suggests looks like Arduino, not Micropython. Maybe the functionality exists in the Arduino implementation only.

I also did not see any reference in Glenn20's micropython. I posted this question on the Micropython GitHub, I'm reviewing Glenn's response now.