Hi all, I am trying to save packet size of data I’m sending to an mqtt server. I have used zlib before on other devices with python, but I havent used it an Xbee using pycharm and micropython.
Is there a different library I need to import for this if it is even possible to use it?
Compression is not mentioned in any part of what you sent me. mqtt.simple library does not include that. I am not sure what the purpose of your response was.
You can utilize the uzlib library in MicroPython for zlib compression on your XBee device. Ensure it’s available for your specific platform and import it accordingly. This should help you reduce packet size efficiently.