Learn the I2C bus communication protocol, use STM32F103 to complete the data collection of the AHT20 temperature and humidity sensor based on the I2C protocol, and output the collected temperature-humidity values through the serial port Article directory 1. Preliminary knowledge (1) I2C communication protocol (2) I2C physical layer (3) I2C timing (4) Hardware I2C and […]
Tag: protoc
STM32 development practice-data collection of AHT20 temperature and humidity sensor based on I2C protocol
STM32 development practice-data collection of AHT20 temperature and humidity sensor based on I2C protocol Preface “Software I2C” and “Hardware I2C” SoftwareI2C HardwareI2C AHT20 temperature and humidity sensor AHT20 main features AHT20 parameters Application areas STM32 data collection of AHT20 temperature and humidity sensor based on I2C protocol Ideas code Experimental effect Summarize Foreword In the […]
Network Programming Sockets (3) – Protocol Customization | Serialization and Deserialization
Article directory 1. Understand “agreement” 1. The concept of agreement 2.Transmission of structured data 3. Serialization and deserialization 2. Online calculator 1. Server 2.Protocol customization (1) Correct understanding of network sending and reading (2) Issues with protocol customization 3.Client 4.Code 3. Json implements serialization and deserialization 1. Brief introduction 2.Use 1. Understanding “agreement” 1. The […]
Understanding of CAN bus protocol and porting and using stm32 code
What is CAN bus protocol It is an asynchronous half-duplex communication protocol with only two signal lines, CAN_High and CAN_Low. There are two types of connections: closed-loop bus (high speed) and open-loop bus (long distance) He uses a differential signal to transmit electrical signals The so-called differential signal is the difference in level between two […]
Network Test Technology_LDAP Protocol Test Case
Directory 1. Overview of LDAP protocol 2. LDAP protocol simulation test on Supernova 3. Applicable scenarios in Supernova tester 3.1 Gateway mode 3.3 Application service model 3.4 Terminal mode 4. Main configuration parameters of LDAP use case 4.1 Allocate CPU cores 4.2 Speed limit configuration 4.3 Packet capture settings 4.4 Number of virtual users 4.5 […]
ProtoBuf compiles and generates Google.Protobuf.dll and Protoc.exe, and customizes the code generation rules
Article directory ProtoBuf basic introduction Import ProtoBuf locally Compile and get Google.Protobuf.dll Compile to get the Protoc.exe executable file CMake compiles ProtoBuf into Visual Studio basic configuration Resolve errors after Finish Error 1 and solution: googletest Error 2 and solution: abseil-cpp Visual Studio generates basic exe operations Use Protoc.exe to compile Proto files into C# […]
Data collection of AHT20 temperature and humidity sensor based on I2C protocol
Data collection of AHT20 temperature and humidity sensor based on I2C protocol 1. Basic introduction 1. What is “software I2C” and “hardware I2C” 2.AHT20 temperature and humidity sensor 2. Project establishment 3. Code part 4. Results display and summary 1. Basic introduction 1. What is “software I2C” and “hardware I2C” Software and protocol layers, hardware […]
iOS in-app packet capture, NSURLProtocol intercepts network requests within APP
Foreword When developing, you need to obtain data in the SDK. Since you cannot see the code, you can only monitor all network request data and intercept the corresponding return data. This can be achieved through NSURLProtocol, and can also be used to interact with H5. 1. NSURLProtocol intercepts requests 1. Introduction to NSURLProtoco Official […]
[Network Programming] How to make the UDP protocol more reliable
(? ), Hello, I am Youyan QAQ My blog homepage: C/C++ language, data structure, Linux basics, ARM development board, network programming and other fields UP Come on, learn together, and let us become a powerful siege lion! A piece of chicken soup for myself and my readers: Concentrated will can break through stubborn rocks! The […]