mesh management stuff

This commit is contained in:
2018-09-01 16:56:45 +02:00
parent 3c882436bd
commit a06b3aee40
10 changed files with 109 additions and 12 deletions

View File

@@ -1,7 +1,9 @@
# Mesh Sprocket Example
## OTA
## MQTT stuff
mosquitto_sub -h citadel.lan -p 1883 -v -t '#'
mosquitto_pub -h citadel.lan -p 1883 -t '/down/domain_id/gateway' -m '{"device":"broadcast", "msg": {"mode": 3, "value": 4} }'
Enable OTA:
mosquitto_pub -h citadel.lan -p 1883 -t '/down/wirelos/gateway' -m '{"target":"broadcast", "domain": "wirelos", "msg": {"target":"broadcast", "type": 3, msg: "OTA"} }'