I've implemented bz2 compression/decompression module in C. There’s fallback python decompressor but compression in python takes forever on the microcontroller so we send uncompressed if C module is not available for some reason. Text payloads compress 60-80%. JPEG skipped automatically because they are already compressed. Code uploaded to the repo. #reticulum
circfruit@fosstodon.org
Posts
-
Whoa #reticulum #micropython #camera ! -
Whoa #reticulum #micropython #camera !Hm, I think I should make the bz2 compression module in C as well. This would speed up link resource transferring - images, files. Also might be good idea to get t-deck repo up to date and make the client actually receive the cam images on the t-deck screen
#reticulum -
Whoa #reticulum #micropython #camera !The new changes to micropython #reticulum are uploaded to the repo. If someone is using it, you should update - the C crypto modules significantly increase performance https://github.com/varna9000/micropython-reticulum
-
Whoa #reticulum #micropython #camera !I fixed the bug! As a result of the efforts 3 major #reticulum micropython improvements:
1. Added IFAC support - now node can join password protected interfaces
2. Implemented the cryptography modules in C with #micropython bindings with fallback to native module The result on this is mind blowing: complete decode chain reduced from 3 sec to 75 ms!
3. Camera works! You can select quality and resolution of the image. I’m still to test over LoRa but on TCP receipt it’s almost instant.
-
Whoa #reticulum #micropython #camera !Whoa #reticulum #micropython #camera ! It’s working! Currently testing TCP interface only. Also a bug i need to go around - if MeshChat tries to initiate Link, the confirmation packet from esp32 doesn’t get the confirmation, so MeshChat keeps retrying. However if I send opportunistic msg, esp32 initiates the Link and the image gets sent successfully. Good progress anyway 🥳

-
The Man Who Built the Next Internetand Then Disappeared@UrbanCityCowboy @perlman also worth noting why he did close the repo for issues and PRs - people (users) just feel entitled.