当前位置:网站首页>Mqtt---- bottom (precautions)
Mqtt---- bottom (precautions)
2022-07-27 01:24:00 【Paradise_ Violet】
Catalog
network connections Network Connections
Theme name and theme filter Topic Names and Topic Filters
Topic wildcards Topic wildcards
Multi level wildcards Multi-level wildcard
MQTT Support with $ The subject at the beginning Topics beginning with $
Topic names and topic filters are case sensitive .
network connections Network Connections
MQTT The protocol requires that the basic transport layer can provide orderly 、 reliable 、 Two way transmission ( From client to server And obedience Service end to client ) The byte stream of . So use tcp/ip agreement
Theme name and theme filter Topic Names and Topic Filters
MQTT Allow topic level separators for topic names and topic filters Topic level separator That is to say ‘/’, Slash (‘/’ U+002F) Used to divide each level of a topic , Provide a hierarchy for topic names .
MQTT Topic wildcards are also allowed Topic wildcards And multiple wildcards Multi-level wildcard And single-layer wildcards
Topic wildcards Topic wildcards
Topic filters for subscriptions can contain special wildcards , Allows you to subscribe to multiple topics at a time . Wildcards can be used in theme filters , But the topic name cannot use wildcards
Multi level wildcards Multi-level wildcard
Digital signs (‘#’ U+0023) It's a wildcard used to match any level of the theme
If he subscribes to such a topic, it will receive a message published with the following topic name :


Single layer wildcard
plus (‘+’ U+002B) Is a wildcard that can only be used for a single topic level match .
MQTT Support with $ The subject at the beginning Topics beginning with $
The server cannot $ The topic name at the beginning of the character matches the wildcard (# or +) The theme filter at the beginning [MQTT-4.7.2-1]. clothing The service side should prevent the client from using this topic name to exchange messages with other clients .
Topic names and topic filters are case sensitive .
Tips
MQTT The protocol stipulates most of the communication rules , But there are some communication rules that are not stipulated , This part is left to MQTT The server specifies , For example, what are the digits of user name and password , What is the payload format for publishing messages , What is the maximum number of topics subscribed by the client, and so on .
边栏推荐
- Applet live broadcast, online live broadcast, live broadcast reward: Tencent cloud mobile live broadcast component mlvb multi scene live broadcast expansion
- The setup of KEIL development environment is delivered to the installation package
- Compile Darknet under vscode2015 to generate darknet Ext error msb3721: XXX has exited with a return code of 1.
- Come on: encourage college graduates to return home to start businesses and employment, and help rural revitalization
- FaceNet
- 顺序表之OJ题
- 快来帮你三分钟了解物联网
- 4.root用户登录
- Cannot find a valid baseurl for repo: HDP-3.1-repo-1
- 解决Pytorch中Cuda无法GPU加速问题
猜你喜欢

非递归前中后序遍历二叉树

Iptables detailed explanation and practical cases

快来:鼓励高校毕业生返乡创业就业,助力乡村振兴

Create MDK project

Longest common substring

玩客云刷机 5.9

PlantCV中文文档

Next generation Internet: Video Networking

MySQL closes the problem of automatic submission of connection transactions

Come on: encourage college graduates to return home to start businesses and employment, and help rural revitalization
随机推荐
Flinksql window triggered in advance
Database interim (II)
FaceNet
Iptables detailed explanation and practical cases
【unity】Unity界面scene视图[1]
C语言之数据存储汇总
Jenkins--基础--5.3--系统配置--全局安全配置
链表常规OJ
DataNode Decommision
力扣刷题量300记录帖
最大公约数的求法
玩客云搭配zerotier保姆级教学,保证学废
初中高三部曲音视频下载Pronunciation Pairs+Ship or Sheep+Tree or Three
大四老学长的自我批评记录
Spark ---- shuffle and partition of RDD
Scoring system based on 485 bus
1. Mode
Jenkins--基础--04--安装中文插件
Jenkins -- Basic -- 5.3 -- system configuration -- global security configuration
4. 欧洲冠军联赛