[BLUFI] Add Blufi activation and deactivation at runtime (#2058)

Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
FlorianandFlorian authored and GitHub committed 2024-09-17 09:32:20 -05:00
1 parent 776ed6568d
commit 4b20976a08
3 files changed
+58 -5

No files matched your search

+4
View File
@@ -648,6 +648,7 @@ enum PowerMode { DEACTIVATED = -1,
struct SYSConfig_s {
bool mqtt; // if true the gateway will publish the received data on the MQTT broker
bool serial; // if true the gateway will publish the received data on the SERIAL
bool blufi; // if true the gateway will be accesible with blufi
bool offline;
bool discovery; // HA discovery convention
bool ohdiscovery; // OH discovery specificities
@@ -663,6 +664,9 @@ struct SYSConfig_s {
#ifndef DEFAULT_SERIAL
# define DEFAULT_SERIAL false
#endif
#ifndef DEFAULT_BLUFI
# define DEFAULT_BLUFI true
#endif
#ifndef DEFAULT_OFFLINE
# define DEFAULT_OFFLINE false
#endif