当前位置:网站首页>学习太极创客 — MQTT 第二章(五)心跳机制
学习太极创客 — MQTT 第二章(五)心跳机制
2022-06-28 04:24:00 【xuechanba】
资料链接:http://www.taichi-maker.com/homepage/esp8266-nodemcu-iot/iot-tuttorial/mqtt-tutorial/2-5-keep-alive/
在医院里,医生利用心跳来判断患者是否还有生命体征。对于MQTT服务器来说,它要判断一台MQTT客户端是否依然保持连接可以检查这台客户端是不是经常发送消息给服务端。如果经常收到客户端的消息,那么没问题,这个客户端肯定在线。
但是有些客户端并不经常发送消息给服务端。对于这种客户端,服务端可以使用类似心跳检测的方法,来判断客户端是否在线。
如果使用 MQTT.fx 软件设置心跳时间间隔,应该如何进行设置呢?
点击齿轮图标
边栏推荐
- Distributed transaction - Final consistency scheme based on message compensation (local message table, message queue)
- Audio and video technology development weekly
- Multithreading and high concurrency II: detailed introduction to volatile and CAS
- 2022高处安装、维护、拆除考试题及答案
- [noip2002 popularization group] cross the river pawn
- Lazy loading and preloading of pictures
- 华为9年经验的软件测试总监工作感悟—写给还在迷茫的朋友
- 为什么大厂不让使用undefined
- MySQL gets the current date of the year
- Multithreading and high concurrency six: source code analysis of thread pool
猜你喜欢
[NOIP2002 普及组] 过河卒
Light collector, Yunnan Baiyao!
mysql修改密码报错需要怎么做
Severe tire damage: the first rock band in the world to broadcast live on the Internet
Meta universe standard forum established
Google Earth Engine(GEE)——全球洪水数据库 v1 (2000-2018年)
恭喜我自己,公众号粉丝破万
Excel knowledge and skills summary
mysql----where 1=1是什么意思
Idle interrupt cannot be cleared
随机推荐
Array method
The growth summer challenge is coming | learn and create two major tracks, and start the tutor registration!
Ppt production tips
How to clean the nozzle of Epson l3153 printer
UI automation test framework construction - write an app automation
filinCdc 的sql,多表的时候总报这个错,请问下该怎么解决呀
Function and working principle of controller
Analyse complète annuelle du marché chinois de l'audio en 2022
Mise en place d'un cadre d'essai d'automatisation de l'interface utilisateur - - rédaction d'une application d'automatisation
Google Earth engine (GEE) - global flood database V1 (2000-2018)
Establishment of SSH Framework (Part 2)
Find an SQL that can judge the data in the table and only fill in the SQL that is not overwritten
Analysis of distributed transaction solution Seata golang
xml  File read / write
Multithreading and high concurrency V: detailed explanation of wait queue, executor and thread pool (key)
Recommended by Alibaba P8, Fiddler packet capturing tool (I)
The second round of free public classes of the red team is coming ~ 8:00 tomorrow night!
Source code of live video system, countdown display, countdown of commodity spike
Password encryption MD5 and salt treatment
Difference between curdate() and now()