Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: using Mespnow in ESP-NOW strategy #393

Open
michael-sayapin opened this issue May 8, 2021 · 1 comment
Open

Proposal: using Mespnow in ESP-NOW strategy #393

michael-sayapin opened this issue May 8, 2021 · 1 comment

Comments

@michael-sayapin
Copy link

Currently ESP-NOW strategy is limited to sending 250 - overhead bytes packets. Using Mespnow high-level APIs could lift this limitation and allow sending much larger payloads.

https://docs.espressif.com/projects/esp-mdf/en/latest/api-reference/mespnow/index.html

Features
Retransmission filter: Mespnow adds a 16-bit ID to each fragment, and the redundant fragments with the same ID will be discarded.
Fragmented transmission: When the data packet exceeds the limit of the maximum packet size, Mespnow splits it into fragments before they are transmitted to the target device for reassembly.
Cyclic Redundancy Check: Mespnow implements CRC when it receives the data packet to ensure the packet is transmitted correctly.

The API is very similar, and changing it should be pretty straightforward. If interested, I will work on submitting a PR in the near future.

@gioblu
Copy link
Owner

gioblu commented May 9, 2021

Ciao @michael-sayapin thank you very much for your support to the project.
For sure the additional features of mespnow are interesting, could simplify life to PJON over ESPNOW users.
I would be happy to test your contribution and include it in master if feasible.

Thank you again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants