refactor: embed mochi mqtt broker

This commit is contained in:
2026-08-03 14:19:28 +08:00
parent fefdba470a
commit 5edca1524f
13 changed files with 148 additions and 69 deletions

View File

@@ -1,9 +1,12 @@
Service: platform-iot-server
MQTT:
Broker: tcp://127.0.0.1:1883
ClientID: heqi-iot-server-dev
Username: heqi-dev
Password: change-me
Address: 127.0.0.1:1883
ListenerID: mqtt-tcp
Devices:
- ClientID: detector-0000000000000001
DeviceID: "0000000000000001"
Username: detector-0000000000000001
Password: change-me
UpTopic: devices/+/up
DownTopic: devices/{deviceId}/down
AckTopic: devices/+/ack