Search found 3 matches

by alkhachatryan
Thu Sep 12, 2024 3:45 pm
Forum: Hardware
Topic: Unable to compress strings
Replies: 5
Views: 1565

Re: Unable to compress strings

I didn't do anything from my side to make fragments. Can you tell me please what and where to check?

What I need - just send signals to digital pins, read from them and use compression, that's it. I send data through laser and just want to compress before sending
by alkhachatryan
Thu Sep 12, 2024 11:48 am
Forum: Hardware
Topic: Unable to compress strings
Replies: 5
Views: 1565

Re: Unable to compress strings

So maybe I need to play with partitions? What to do for this case? My chip is esp32 wroom 32u. What to enable/configure? If there is miniz lib for esp32 - we must to be able to use. Otherwise it's garbage. So the question is: what to do to use it?
by alkhachatryan
Wed Sep 11, 2024 1:35 pm
Forum: Hardware
Topic: Unable to compress strings
Replies: 5
Views: 1565

Unable to compress strings

I'm using miniz.h to compress a simple string with ONE letter. // Example string to compress const char* originalString = "T"; size_t originalLength = strlen(originalString) + 1; // +1 for null terminator // Allocate memory for compressed data mz_ulong compressedLength = compressBound(originalLength...