cancel
Showing results for 
Search instead for 
Did you mean: 

Want a Buffer to Buffer compression (.zip) library

AKuma.2442
Associate II

Hi all, I am using STM32 F411 Discovery board and am facing an issue with compression, i tried different compression libraries (zlib, mzip etc) all are using File system, unfortunately the F411 Discovery does not supporting Local File system, my concern is i want to compress some sensor data of size of below 1KB to .zip format, because the client server only accept data in .zip format, so i am looking for buffer to buffer compression libraries if any available,

else please suggest any other way that available to solve my problem,

i am using STM32 Cube IDE for development

Thanks in advance

4 REPLIES 4
AKuma.2442
Associate II

still facing the problem, does not find the solution

please tell me is anybody done data to zip conversion using STM32 F4

Done similar things with available deflate()/inflate() routines. Also possible to create ZIP headers and directory records around uncompressed data.

Could probably craft a demo on the F4 platform, what are you offering?​

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..

Thanks for your reply,

are you done this using F4? yes i don't need to compress the data need to create zip file using zip headers in uncompressed data,

Bsm
Associate II

Hello ,

U can use uzlib with fatfs as file system to compress u data into gzip

response to late but just to share info with others

this is a lite example

github.com/Bsm-B/Stm32-uzlib

Qoobee,