Hi,
I need to send a file of size 1MB over the mesh network.
I am using esp_spiff.h to mount the file system and write the file onto flash.
Can I use fread() to read the entire file? Or do I need to limit the file read size?
As the wifi payload length is limited, do I need to fragment the data before sending to mwifi_write()?
Thank you
Sending large files over ESP-MESH
-
- Posts: 1
- Joined: Fri Oct 22, 2021 5:11 am
Re: Sending large files over ESP-MESH
Hello, unfortunatelly I can't help you. Actually, exact opposite.
I want to ask you, if you have figured out how to solve this problem, because I have the same one.
If yes, could you please share your solution?
It will be a great help.
Thanks
I want to ask you, if you have figured out how to solve this problem, because I have the same one.
If yes, could you please share your solution?
It will be a great help.
Thanks
Re: Sending large files over ESP-MESH
unfortunately, automatic splitting of large messages never worked for me. The same goes for reliability. It doesn't seem like lost packets are retransmitted at all, or perhaps only those that arrive but with bad crc.
Anyways... I tried painlessmesh instead, which wasn't much better. In the end I resorted to coding my own library. It works, but it's not mature enough to upload to github yet.
Anyways... I tried painlessmesh instead, which wasn't much better. In the end I resorted to coding my own library. It works, but it's not mature enough to upload to github yet.
Who is online
Users browsing this forum: No registered users and 11 guests