hlcX's Blog
my note!
Toggle navigation
hlcX's Blog
2.学习
4.群晖
5.CentOS7
6.rasperryPI
linux-mint
关于
归档
标签
标签 - 网页mqtt收发消息
利用JS在网页上实现MQTT消息接收与发送
html
mqtt
websockets
网页mqtt收发消息
2022-12-03 00:08:15
4
0
0
目录结构
demo文件
index.html
mqttws31.js
jquery-3.6.1.min.js
注意:hostport一定是数值,不能加引号
上图中的IP和hostport是websockets服务,如何开启websockets服务点击
这里
。
查看