当前位置:网站首页>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 】 |
边栏推荐
- 为什么企业需要用户自治的数字身 份
- &0xffffffff(0x08)
- 5、 C language judgment statement
- Establishment and traversal of binary tree (implemented in C language)
- Solution: attributeerror: type object 'h5py.h5a AttrID has no attribute __ reduce_ cython__
- 15、 Launch file label of ROS (I)
- Buuctf partial solution
- CCSP 云安全设计原则都有哪些
- [complete installation package & tutorial] sqlserver basic installation_ Sqlserver completely uninstalled_ Sqlserver custom installation_ Getting started with sqlserver_ SQLSERVER database
- Talk about low code / zero code tools
猜你喜欢

Google lab usage notes

Shell command

2021-09-02

Introduction to MITK

Word creates a title list with automatic numbering

Redis persistence

PHP memory horse

MITK creates plug-ins and generates plug-ins

Store and guarantee rancher data based on Minio objects

On July 29, apachecon | apachepulsar's exploration and practice in vivo will be broadcast soon
随机推荐
How many ways can multithread run in sequence?
Establishment and traversal of binary tree (implemented in C language)
Creating, deleting and viewing Anaconda virtual environment
View gnuradio version
Install biological sequence de redundancy software CD hit
Compilation language and interpretation language
PS modify the length and width pixels and file size of photos
Rocky基础之修改网卡名为eth0
Swiftui layout - size (top)
Instant experience | further improve application device compatibility with cts-d
Machine learning related concepts
Several methods of opening URL in swiftui view
Install pytorch geometric on colab, and libcudart.so.10.2 appears when importing the package
CCSP国际注册云安全专家在中国设置考场
Tensorflow GPU installation process record
Enumeration type
18、 ROS topic name setting
16、 Launch file label of ROS (II)
The second pre class exercise
Deploy flask on Alibaba cloud server