This is another little update, I have basic file transfers working, woohoo!
There is no authentication but some basic sanity checking of the data, ie. is the packet from the station it expects, for a file it expects and the chunk it expects next. It's pretty much like TFTP but done over my proprietary mesh network stuff.
I'm currently only shipping 64 bytes at a time, inefficiently packed too, so it's going to suck for large files but the process works and will chunk through a queue of files happily grabbing them.
Now the code needs cleaning up and to allow for things like failed transfers.
I also need to go back to the file manifest handling as it handles change, but not initial seeding. However this is a really positive step forwards.
No comments:
Post a Comment