Update JSON dictionary

Ray Jones 2019-07-19 20:59:41 +00:00
parent f5bf1a17fa
commit d0ecec5147

@ -6,6 +6,7 @@ i.e. {"name1":value1,"name2":value2}
Only actual value changes are transmitted to minimise traffic. Only actual value changes are transmitted to minimise traffic.
However, whenever a new client attaches to the ESP32, every client will receive the full set of information. However, whenever a new client attaches to the ESP32, every client will receive the full set of information.
i.e. every time a client connects, they will always get the complete status of the heater, then only changes to the values, unless another user connects. i.e. every time a client connects, they will always get the complete status of the heater, then only changes to the values, unless another user connects.
Some parameters are only sent upon being requested via a "Query" command, eg "MQuery" delivers MQTT setup parameters, "SQuery" delivers system parameters, etc.
The table below documents the JSON names sent between the ESP32 and Bluetooth or WiFi clients. The table below documents the JSON names sent between the ESP32 and Bluetooth or WiFi clients.
Some commands are bi-directional, others are simply command directives (to ESP32), or status reporting (from ESP32). Some commands are bi-directional, others are simply command directives (to ESP32), or status reporting (from ESP32).