Home/Support/Support Forum/Micropython data compression
New and improved user forum site going live on 12/6 (All users will need to reset their password when the new forum is active)

Micropython data compression

+1 vote
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!
asked Jun 8, 2019 in MicroPython by tylerkoldenjtp New to the Community (9 points)
recategorized Jun 24, 2019 by TomCollins
Tyler, were you able to import uzlib to your LTE micropython environment?

Please log in or register to answer this question.