feat(mqtt): persist observer preferences as JSON

This commit is contained in:
agessaman committed 2026-08-09 12:04:55 -07:00
1 parent 8f12b89d6d
commit da204b8fee
27 files changed
+2131 -254

No files matched your search

+2 -2
View File
@@ -891,7 +891,7 @@ MyMesh::MyMesh(mesh::MainBoard &board, mesh::Radio &radio, mesh::MillisecondCloc
_prefs.radio_fem_rxgain = 1;
// Observer defaults (alert.*, etc.) moved to applyMQTTDefaults() — they live
// in /mqtt_prefs now, not NodePrefs.
// in /mqtt.json now, not NodePrefs.
// bridge defaults (same as repeater)
_prefs.bridge_enabled = 1; // enabled
@@ -900,7 +900,7 @@ MyMesh::MyMesh(mesh::MainBoard &board, mesh::Radio &radio, mesh::MillisecondCloc
_prefs.bridge_baud = 115200; // baud rate
_prefs.bridge_channel = 1; // channel 1
// MQTT/WiFi/timezone defaults live in /mqtt_prefs now (see applyMQTTDefaults).
// MQTT/WiFi/timezone defaults live in /mqtt.json now (see applyMQTTDefaults).
next_post_idx = 0;
next_client_idx = 0;