当前位置:网站首页>Learn Tai Chi Maker - mqtt (III) connect to mqtt server

Learn Tai Chi Maker - mqtt (III) connect to mqtt server

2022-06-25 17:14:00 xuechanba

Video link :https://www.bilibili.com/video/BV1eA411j771/?spm_id_from=autoNext&vd_source=b91967c499b23106586d7aa35af46413

The data link :http://www.taichi-maker.com/homepage/esp8266-nodemcu-iot/iot-tuttorial/mqtt-tutorial/4-mqtt-server-connection/

 Insert picture description here

1、CONNECT message

 Insert picture description here

 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
heartbeat ,KeepAlive It is used by the server to know whether the client is connected to it in real time .

2、CONNACK message

 Insert picture description here
 Insert picture description here
 Insert picture description here

原网站

版权声明
本文为[xuechanba]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206251643435658.html