Home/Support/Support Forum/Micropython data compression
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

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 3rd Party Python and API development in other Languages by tylerkoldenjtp New to the Community (7 points)

Please log in or register to answer this question.

...