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?