当前位置:网站首页>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 】 |
边栏推荐
- 7月29日 ApacheCon|Apache Pulsar 在 vivo 的探索与实践 即将开播
- Mlx90640 infrared thermal imager sensor module development notes (VIII)
- Node.js+express realizes the operation of MySQL database
- Find papers and their open source code
- Use of beefs
- Redis configuration file explanation
- How to perform batch operations in core data
- Compilation language and interpretation language
- Interviewer: what are the usage scenarios of ThreadLocal? How to avoid memory leakage?
- VTK vtkcontourwidget extracts regions of interest
猜你喜欢

VTK annotation class widget vtkborderwidget

Read the introduction tutorial of rainbow

Knowledge map Foundation (I) - what is knowledge map

Product Manager

MLX90640 红外热成像仪传感器模块开发笔记(八)

Deploy flask on Alibaba cloud server

Picture Trojan principle production prevention

Redis configuration file explanation

RepVGG论文详解以及使用Pytorch进行模型复现
Node.js+express realizes the operation of MySQL database
随机推荐
Vtkcellpicker picking triangular patches
The modified network card name of rocky foundation is eth0
MLX90640 红外热成像仪传感器模块开发笔记(八)
MLX90640 红外热成像仪传感器模块开发笔记(八)
SSH service
RepVGG论文详解以及使用Pytorch进行模型复现
Third class exercise
Establishment and traversal of binary tree (implemented in C language)
16、 Launch file label of ROS (II)
SQL labs detailed problem solving process (less1-less10)
How to gracefully encapsulate anonymous inner classes (DSL, high-order functions) in kotlin
CCSP 云安全设计原则都有哪些
Chapter I Introduction
Four basic data types
The 35 required questions in MySQL interview are illustrated, which is too easy to understand
8、 C scope rules
知识产权相关的风险评估要怎么做
JS常用的3种弹出框
Added the ability of class @published for @cloudstorage
Install pytorch geometric on colab, and libcudart.so.10.2 appears when importing the package