当前位置:网站首页>Introduction to mqtt protocol
Introduction to mqtt protocol
2022-07-28 15:06:00 【Guyu γ】
MQTT
MQTT 【Message Queuing Telemetry Transport】, It is expressed as message queue telemetry transmission protocol ;
It's based on Publishing / subscribe (Publish/Subscribe) Mode " Lightweight " Communication protocol , The agreement is built on TCP/IP Agreement on .
MQTT The biggest advantage is : With very little code and limited broadband , Provide reliable message service for connecting remote devices ;
As an expense 、 Instant messaging protocol with low broadband occupancy , In making its Internet of things 、 Small equipment 、 Mobile applications are widely used .
MQTT It's a client based - Server news release / Subscription transport protocol .MQTT The agreement is light weight 、 Simple 、 Open and easy to implement , These features make it very versatile . In many cases , Including in a limited environment , Such as : Machines and machines (M2M) Communications and the Internet of things (IoT);
Its presence , Communication of sensors via satellite link 、 Occasionally dialing medical devices 、 Smart home 、 And some miniaturized equipments have been widely used .
MQTT client
A use MQTT Protocol applications or devices , It always establishes a network connection to the server . The client can :
① Publish information that other clients may subscribe to ;
② Subscribe to messages published by other clients ;
③ Unsubscribe or delete messages from the application ;
④ Disconnect from the server .
MQTT The server
MQTT The server is called " The message broker "(Broker), It can be an application or a device . It is between the publisher and the subscriber , It can :
① Accept network connections from customers ;
② Accept application information released by customers ;
③ Handle subscription and unsubscribe requests from clients ;
④ Forward application messages to subscribers .
Note:
Welcome to thumb up , Leaving a message. , Reprint please give the link of the original text in the obvious position of the article page
The knower , Thank you for reading my article in the vast crowd
No personality Where did you get the signature !
Please pay attention to Am I
Ongoing update

| 2021 08 - Guyu.com | 【 copyright Infringement must be investigated 】 |
边栏推荐
- Solve blast database error: error pre fetching sequence data
- Error reason for converting string to long type: to convert to long type, it must be int, double, float type [easy to understand]
- [thread safety] what risks may multithreading bring?
- When MySQL uses left join to query tables, the query is slow because the connection conditions are not properly guided
- CCSP 云安全设计原则都有哪些
- Rocky基础之修改网卡名为eth0
- The 35 required questions in MySQL interview are illustrated, which is too easy to understand
- MLX90640 红外热成像仪传感器模块开发笔记(八)
- 23、 TF coordinate transformation (III): dynamic coordinate transformation
- 看了就会的 Rainbond 入门教程
猜你喜欢
随机推荐
SSH service
Foundation of knowledge atlas (II) - knowledge expression system of knowledge atlas
I am using a blog creation tool
Idea2020.1.4 packages package collapse
Several methods of opening URL in swiftui view
@Solution to DS ('slave') multi data source compatible transaction problem
VTK notes - picker picker summary
Install pytorch geometric on colab, and libcudart.so.10.2 appears when importing the package
5、 C language judgment statement
Solution: attributeerror: type object 'h5py.h5a AttrID has no attribute __ reduce_ cython__
First class exercise
QT qlineedit, qtextedit, qplaintextedit differences
Switch the cloud synchronization status of core data in real time
Keras reported an error using tensorboard: cannot stop profiling
Swiftui layout - size (top)
Chapter 3 stack, queue and array
Find papers and their open source code
Interviewer: what are the usage scenarios of ThreadLocal? How to avoid memory leakage?
Mlx90640 infrared thermal imager sensor module development notes (VIII)
Partition and index of Oracle Database








