当前位置:网站首页>Learn from Taiji Maker - mqtt Chapter 2 (I) QoS service quality level
Learn from Taiji Maker - mqtt Chapter 2 (I) QoS service quality level
2022-06-27 02:13:00 【xuechanba】
Video link :https://www.bilibili.com/video/BV1FK4y1L7TQ/?spm_id_from=333.788.recommend_more_video.-1&vd_source=b91967c499b23106586d7aa35af46413
The data link :http://www.taichi-maker.com/homepage/esp8266-nodemcu-iot/iot-tuttorial/mqtt-tutorial/mqtt-qos/

Why develop multiple quality of service levels , Instead of directly adopting a ?
answer : This is determined by the attributes of the Internet of things , The bandwidth of the Internet of things is very valuable in some cases , And sometimes it is very unstable . Considering these characteristics ,MQTT The agreement sets multiple quality of service levels . Because the service bandwidth occupied by the lower QoS level is also the lowest , The transmission stability is also the lowest . contrary , For messages with high quality of service , The occupied service bandwidth is also relatively high , The transmission stability is also relatively high .




summary :
If you want to achieve QoS = 1/2 Communication for , The following three steps are required .
First step , When the client publishes a message ,QoS Set to 1/2 ,
The second step , When the client connects to the server , You have to cleanSession Set to false,
The third step , When the client subscribes to a topic , Subscribe to the SUBSCRIBE In the packet QoS Must be set to 1/2.
These three steps are critical , Be short of one cannot .

summary : The lowest level shall prevail .

边栏推荐
- 为什么先划分训练集和测试集后归一化?
- XSS attack (note)
- Oracle/PLSQL: Length Function
- Don't be brainwashed. This is the truth about the wages of 90% of Chinese people
- Is the division of each capability domain of Dama, dcmm and other data management frameworks reasonable? Is there internal logic?
- 解决cherry pick提交报错问题
- CVPR2022 | PointDistiller:面向高效紧凑3D检测的结构化知识蒸馏
- Flink learning 5: how it works
- Oracle/PLSQL: Trim Function
- Laravel 的 ORM 缓存包
猜你喜欢

企业数字化转型:信息化与数字化

别被洗脑了,这才是90%中国人的工资真相

使用命令行安装达梦数据库

TechSmith Camtasia最新2022版详细功能讲解下载

1、项目准备与新建

Why pass SPIF_ Sendchange flag systemparametersinfo will hang?

图论知识及其应用初步调研

Flink Learning 2: Application Scenarios

Detailed explanation of ThreadLocal

Hot discussion: what are you doing for a meaningless job with a monthly salary of 18000?
随机推荐
达梦数据库安装
Hot discussion: what are you doing for a meaningless job with a monthly salary of 18000?
bluecms代码审计入门
Oracle/PLSQL: CharToRowid Function
ThreadLocal详解
Oracle/PLSQL: Ltrim Function
memcached基礎12
memcached基础15
paddlepaddle 20 指数移动平均(ExponentialMovingAverage,EMA)的实现与使用(支持静态图与动态图)
Canvas particles: mouse following JS effect
LeetCode 785:判断二分图
1、项目准备与新建
Flink学习5:工作原理
Sample development of WiFi IOT Hongmeng development kit
Flink learning 1: Introduction
Precautions for using sneakemake
为什么先划分训练集和测试集后归一化?
Oracle/PLSQL: From_ Tz function
Binary tree OJ problem
On the operation mechanism of numpy array