mqttiosexample:这是http的伴侣

时间:2021-05-02 12:21:58
【文件属性】:
文件名称:mqttiosexample:这是http的伴侣
文件大小:202KB
文件格式:ZIP
更新时间:2021-05-02 12:21:58
JavaScript 使用iOS,Mosca和Paho的MQTT示例 这是的伴侣 先决条件 我使用PM2运行Node.js应用程序,因为我感觉它提供了更好的控制并永久记录了日志。 npm install pm2 -g 安装http服务器以服务包含Paho.js客户端的index.html页面 npm install http-server -g 安装依赖项 克隆仓库 git clone git@bitbucket.org:mmick66/mqttiosexample.git 更新Node.js依赖项 cd /broker npm install # mainly Mosca cd ../ 更新iOS Pod依赖项 在/ ios子文件夹中: cd /ios pod install cd ../ 如果pod似乎永远运行,则可以尝试以下操作: pod repo remove master pod setup p
【文件预览】:
mqttiosexample-master
----.gitignore(87B)
----ios()
--------MQTTClientDemo()
--------MQTTClientDemo.xcodeproj()
--------MQTTClientDemoTests()
--------karmadust.gpx(165B)
--------Podfile(239B)
----README.md(1KB)
----web()
--------mqttws31.js(79KB)
--------index.html(3KB)
----broker()
--------package.json(321B)
--------broker.js(1KB)

网友评论