Installation and use of cJSON Library
I Introduction to CJSON
1.1 JSON(JavaScript Object Notation) is a lightweight text data exchange format, which is easy to read. At the same time, it is also easy for machine analysis and generation. Although JSON is a subset of Javascript, it is a language independent text format and adopts some habits similar to the C language family. 1.2 ...
Added by schoolmommy on Thu, 03 Mar 2022 15:19:21 +0200
Design and implementation of smart home system for Internet of things
1. Project overview
Implement a mobile App that can control home devices and obtain relevant temperature and humidity information.
App calls HTTP service on ECs; HTTP service encapsulates MQTT subscription and push requests to update the MQTT server;
The esp8266 module is connected to the MQTT server through networking, sends the data tr ...
Added by bokehman on Sun, 23 Jan 2022 22:09:17 +0200
The small program mqtt realizes the chat function
What is mqtt?
MQTT is a lightweight transmission protocol, which is designed for lightweight publish / subscribe message transmission. MQTT protocol is specially optimized for low bandwidth networks and low computing power devices. It is a simple, stable, open, lightweight and easy to implement message protocol. It has wide applicability in ...
Added by Drannon on Sun, 23 Jan 2022 03:24:53 +0200
Wireless control trolley project module
Project description of intelligent wifi car: Two esp8266 are used to establish communication and mqtt protocol is added. The sender of esp8266 releases information by pressing the key (handle function). Esp8266 is used as the receiver to receive the information sent by the subscription topic and print the data through the serial port ...
Added by hostfreak on Sat, 15 Jan 2022 00:03:22 +0200
Based on node JS build a simple MQTT server, and the mobile phone connects to the computer through the hotspot to realize the MQTT server test
Based on node JS build a simple MQTT server, and the mobile phone connects to the computer through the hotspot to realize the MQTT server test
Server construction
First, build the node JS environment. Configure the MQTT server. There are many online tutorials. You can refer to this blog for configuration Node.js configuration.
Server mqtt j ...
Added by rhasce on Sun, 26 Dec 2021 03:47:25 +0200