Hello!
Has anyone used any of the compression utilities in ESP32?
That would be zlib, or uzlib? If so, what issues were encountered? I’ve tried,here’s the test code:
import zlib
import binascii
buf = ‘abcdefghijklmnopqrstuvwxyz’
data = zlib.compress(buf,4)
print(‘Compressed data: ‘ + binascii.hexlify(data))
ucomp = zlib.decompress(data)
print(‘Original data: ‘ + ucomp)
But getting this message when it runs:
AttributeError: ‘module’ object has no attribute ‘compress’
Any suggestions?
Thanks!