msg MQTT message

main
zart 5 months ago
parent b090a00351
commit bb60e09ff9

@ -66,6 +66,5 @@ client.disconnect()
print("收到响应,客户端退出。") print("收到响应,客户端退出。")
os.system("sudo myenv/bin/python3 smp_coder/extur_smp.py > logex.txt 2>&1 &")
print("启动树莓派拍照客户端成功。")

@ -56,4 +56,8 @@ client.publish("response/topic", "Set user.txt success!", qos=2)
client.loop_stop() client.loop_stop()
client.disconnect() client.disconnect()
os.system("sudo myenv/bin/python3 smp_coder/extur_smp.py > logex.txt 2>&1 &")
print("启动树莓派拍照客户端成功。")
print("收到响应,客户端退出。") print("收到响应,客户端退出。")

Loading…
Cancel
Save