Skip to main content
AKuma.2442
Associate II
December 12, 2019
Question

Want a Buffer to Buffer compression (.zip) library

  • December 12, 2019
  • 2 replies
  • 1730 views

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

This topic has been closed for replies.

2 replies

AKuma.2442
Associate II
December 13, 2019

still facing the problem, does not find the solution

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

Tesla DeLorean
Guru
December 13, 2019

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 VenmoUp vote any posts that you find helpful, it shows what's working..
AKuma.2442
Associate II
December 13, 2019

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
October 23, 2022

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,