hlcX's Blog
my note!
Toggle navigation
hlcX's Blog
2.学习
4.群晖
5.CentOS7
6.rasperryPI
linux-mint
关于
归档
标签
利用JS在网页上实现MQTT消息接收与发送
html
mqtt
websockets
网页mqtt收发消息
2022-12-03 00:08:15
4
0
0
hlcx
html
mqtt
websockets
网页mqtt收发消息
# 目录结构 ![title](/api/file/getImage?fileId=638a238b3c9b990013000039) # demo文件 - [index.html](http://localhost:9000/api/file/getAttach?fileId=638a23fa3c9b99001300003a) - [mqttws31.js](http://localhost:9000/api/file/getAttach?fileId=638a23fa3c9b99001300003b) - [jquery-3.6.1.min.js](http://localhost:9000/api/file/getAttach?fileId=638a23fa3c9b99001300003c) # 注意:hostport一定是数值,不能加引号 ![title](/api/file/getImage?fileId=638a24923c9b99001300003d) - 上图中的IP和hostport是websockets服务,如何开启websockets服务点击[这里](https://13ua.com:44490/blog/post/hlcx/c9308bd1a825)。
上一篇:
U盘启动安装debian系统
下一篇:
群晖安装下载工具Transmission以及配置Transmission Web UI教程
0
赞
4 人读过
新浪微博
微信
腾讯微博
QQ空间
人人网
提交评论
立即登录
, 发表评论.
没有帐号?
立即注册
0
条评论
More...
文档导航
没有帐号? 立即注册