refactor(mqtt): migrate observer settings to MQTTPrefs structure
Refactored the handling of observer-related settings by moving them from NodePrefs to a new MQTTPrefs structure. This change centralizes MQTT, WiFi, timezone, SNMP, and alert configurations, improving code organization and maintainability. The new structure allows for better separation of concerns and prepares the codebase for future enhancements.
This commit is contained in:
1 parent
9535f243af
commit
2eb41baeda
14 files changed
+372
-561
No files matched your search
+3
-1
@@ -180,7 +180,9 @@ protected:
|
||||
virtual uint32_t getCADFailMaxDuration() const;
|
||||
virtual int getInterferenceThreshold() const { return 0; } // disabled by default
|
||||
virtual int getAGCResetInterval() const { return 0; } // disabled by default
|
||||
virtual uint32_t getRadioWatchdogMillis() const;
|
||||
#ifdef WITH_MQTT_BRIDGE
|
||||
virtual uint32_t getRadioWatchdogMillis() const; // observer-only radio recovery
|
||||
#endif
|
||||
|
||||
public:
|
||||
void begin();
|
||||
|
||||
Reference in new issue
Block a user