[SYS] Add connection fallback capability (#1950)

This feature enable to rotate among the connection parameters index to find a valid one when the current MQTT connection is not working
This commit is contained in:
Florian authored and GitHub committed 2024-05-22 05:48:48 -05:00
1 parent 819d3c2d91
commit 0db67f75aa
3 files changed
+25 -1

No files matched your search

+4
View File
@@ -140,6 +140,10 @@ mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTtoSYS/config" -m
}'
```
::: tip
If the client can't connect to the MQTT broker corresponding to the current `cnt_index`, it will increment the index to the next valid connection set and restart with it.
:::
## Saving/Loading connection parameters/certificates at runtime
This chapter details the process for managing certificates/connections parameters used for secure MQTT communication with OpenMQTTGateway