设备控制
parent
cbb0ea27f5
commit
ca9c24ce90
|
|
@ -5,7 +5,7 @@ spring:
|
||||||
username: admin # Mosquitto共用账号
|
username: admin # Mosquitto共用账号
|
||||||
password: Admin#12345678 # Mosquitto密码
|
password: Admin#12345678 # Mosquitto密码
|
||||||
client-id: springboot-backend # 截取UUID前8位(自动去横线)
|
client-id: springboot-backend # 截取UUID前8位(自动去横线)
|
||||||
default-topic: dtu/+/up,frontend/+/control/+,frontend/+/online # 后端监听的主题
|
default-topic: dtu/+/up,dtu/+/ack,frontend/+/control/+,frontend/+/online # 后端监听的主题
|
||||||
qos: 0 # 消息可靠性
|
qos: 0 # 消息可靠性
|
||||||
timeout: 60 # 连接超时
|
timeout: 60 # 连接超时
|
||||||
keep-alive: 60 # 心跳间隔
|
keep-alive: 60 # 心跳间隔
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue