Home/Support/Support Forum/Micropython data compression

Micropython data compression

0 votes
I have a Digi XBee Cellular LTE Cat 1 and use MicroPython on the device. The MicroPython code reads data from the serial port and transmits it to an MQTT topic. It works well, however, I have not found any compression library support (file or stream based).
My goal is to reduce the amount of data pushed through the cell network by first compressing the sensor data in Micropython and then publishing the compressed data string to an MQTT topic.

Is it possible to include a C compression library ( pfalcon/uzlib ) and use it inside of Micropython?

Thank you!
Tyler
asked Jun 8 in MicroPython by tylerkoldenjtp New to the Community (7 points)
recategorized 15 hours ago by TomCollins

Please log in or register to answer this question.

...