摘要: 直接上代码 pub.py;向已建立好的mqtt服务,发送消息 import paho.mqtt.client as mqtt def on_connect(client, userdata, flags, rc): print("Connected with result code: " + str 阅读全文
posted @ 2021-12-06 10:52 zhangyao2018 阅读(172) 评论(0) 推荐(0) 编辑