mosquitto 服務器的相關配置

使用 1.啓動/中止服務web 啓動服務vim brew services start mosquitto 中止服務 brew services stop mosquitto 2.訂閱主題服務器 mosquitto_sub -v -t sensor 【-t】指定主題,此處爲sensor 【-v】打印更多的調試信息websocket 3.發佈內容網絡 mosquitto_pub -t sensor
相關文章
相關標籤/搜索