espnow and message len > 250 #18490
-
|
it seems possible in mp v1.26.1 to send message over 250 bytes with espnow and receive them (perhaps with espnow v2) but it may create bug in receive. server codeclient codeserver resultsmsg 245 b'\x18\x8b\x0e*\x94\xb4' |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
The solution seems quite simple. It just requires some simple modifications to the modespnow.c file. The receiver is an ESP32-wroom that was compiled with ESP-IDF-5.5.1 and the modifies modespnow.c file. Results from the server (receiver): The sender is an ESP32-wroom that runs MicroPython firmware with the original modespnow.c file. I modified the client (sender) script: Results from the sender: The check is now with the sender, which seems reasonable to me, rather than with the recipient. |
Beta Was this translation helpful? Give feedback.
-
|
There's an existing PR for this at #16737 If you're interested to test or contribute then suggest focusing attention there. |
Beta Was this translation helpful? Give feedback.
The solution seems quite simple. It just requires some simple modifications to the modespnow.c file.