[Arduino TFT] Arduino uzlib library, used to decompress gzip streams and parse wind and weather return data

Forget the past and surpass yourself Blog homepage Microcontroller rookie brother, a wild non-professional hardware IOT enthusiast Creation record of this article 2023-10-21 Update record of this article 2023-10-21 Welcome to follow Like Collection Leave a message This blog is written by the blogger alone and is not operated by any commercial team. If you […]

There are multiple implementation methods for json data transmission compression and data slice segmentation and block transmission. In the case of large data volume, zlib compression and bytes specified length segmentation

There are multiple implementation methods for json data transmission compression and data slice segmentation and block transmission. In the case of large data volume, zlib compression and bytes specified length segmentation. import sys import zlib import json import math KAFKA_MAX_SIZE = 1024 * 1024 CONTENT_MIN_MAX_SIZE = KAFKA_MAX_SIZE * 0.9 def split_data(data): “”” :param data: json […]

SD3403, HI3559, arm cross-compilation, arm adds sshd and sftp services, zlib, openssl, openssh, haveged

Already used on zynq, hi3519, hi3559, SD3403 and other types of chips Download the required resources zlib, openssl, openssh, haveged The version I downloaded Decompress tar -zxvf openssl-3.1.2.tar.gz tar -zxvf openssh-9.4p1.tar.gz tar -zxvf haveged-1.9.2.tar.gz Then create the installation folder after compilation. Note that openssh does not need to create get Start configuration and compilation. Compile […]

aarch64-linux cross compile libcurl with zlib and openssl

Cross-compiling libcurl requires zlib and openssl You need to compile zlib and openssl with the aarch64 tool chain first aarch64-linux environment construction Download tool chain gcc is used to perform cross-compilation gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu sysroot is a collection of cross-version library files sysroot-glibc-linaro-2.25-2019.12-aarch64-linux-gnu wget https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu.tar.xz wget https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/sysroot-glibc-linaro-2.25-2019.12-aarch64-linux-gnu.tar.xz Unzip it in the same folder tar -xJvf gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu.tar.xz tar […]

linux | zlib download and install

linux | zlib download and install 1. Download http://www.zlib.net/zlib-1.2.13.tar.gz 2. Compile and install [fly@752fac4b02e9 easy]$ tar zxf zlib-1.2.13.tar.gz [fly@752fac4b02e9 easy]$ ls cramfs-1.1.tar.gz scons-3.0.1 scons-3.0.1.tar.gz smart-car zlib-1.2.13 zlib-1.2.13.tar.gz [fly@752fac4b02e9 easy]$ cd zlib-1.2.13/ [fly@752fac4b02e9 zlib-1.2.13]$ ls adler32.c configure deflate.h gzguts.h infback.c inflate.h Makefile.in os400 trees.c zconf.h zlib.3.pdf zutil.c amiga contrib doc gzlib.c inffast.c inftrees.c make_vms.com qnx trees.h […]

RedHat offline installation tool yum+gcc+pcre+zlib+openssl+openssh

RedHat offline installation tool yum + gcc + pcre + zlib + openssl + openssh [1] Install gcc-c++ (to solve the problem of unavailable yum) (1) Problem description (2) Replace and install yum (3) Install gcc [2] Install pcre [3] Install zlib [4] Install openssl [5] Install openssh (you need to install the zlib library […]

Compression and decompression operations of the zlib library

zlib is a general-purpose compression library that provides a set of in-memory Compression and decompression functions, and can detect the integrity of the decompressed data (integrity) . zlib Also supports reading and writing gzip (.gz) format file. zlib library installation under linux Step 1: download zlib (do not recommend operating in a shared directory) wget […]

libevent(16) zlib-based compression and decompression

1. API in zlib library zlib is a very famous compression tool, its official website: [zlib official website] zlib has 2 sets of compression and decompression functions, which are: (1) Compression function deflate() and decompression function inflate() int deflate (z_stream strm, int flush); int inflate (z_stream strm, int flush); (2) Compression function compress() and decompression […]

Use minizip+zlib to encrypt and compress multi-level folders and use third-party tools to decrypt and decompress (C++)

During the recent development, I encountered compression-related applications. I need to implement encryption and compression a folder, and use third-party tools such as WinRARA to decrypt and decompress. This is the first time I use this function, so Write a blog post to briefly record the development process. Directory 1. zlib source code download and […]

[Windows] Compile libcurl, add openssl and zlib support

Article directory 0. Prepare to compile the directory 1. Compile zlib 1.1 Download source code 1.2 CMake GUI build project 1.3 compile 1.4 Results 2. Compile openssl 2.2 Install Strawberry Perl 2.1 Download source code 2.2 Compile (32-bit) 2.3 Compile (64-bit) 3. Compile curl 3.1 Download source code 3.2 Compile (32-bit) 3.2 Compile (64-bit) 3.3 […]