feat(gateway): add ESP-Touch smartconfig provisioning support and enhance network management
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -46,6 +46,7 @@ struct GatewayChannelSnapshot {
|
||||
|
||||
struct GatewayControllerSnapshot {
|
||||
bool setup_mode{false};
|
||||
bool wireless_setup_mode{false};
|
||||
bool ble_enabled{false};
|
||||
bool wifi_enabled{false};
|
||||
bool ip_router_enabled{false};
|
||||
@@ -73,6 +74,8 @@ class GatewayController {
|
||||
void addGatewayNameSink(GatewayNameSink sink);
|
||||
|
||||
bool setupMode() const;
|
||||
bool wirelessSetupMode() const;
|
||||
void setWirelessSetupMode(bool enabled);
|
||||
bool bleEnabled() const;
|
||||
bool wifiEnabled() const;
|
||||
bool ipRouterEnabled() const;
|
||||
@@ -174,6 +177,7 @@ class GatewayController {
|
||||
std::map<uint8_t, SceneStore> scenes_;
|
||||
std::map<uint8_t, GroupStore> groups_;
|
||||
bool setup_mode_{false};
|
||||
bool wireless_setup_mode_{false};
|
||||
bool ble_enabled_{false};
|
||||
bool wifi_enabled_{false};
|
||||
bool ip_router_enabled_{true};
|
||||
|
||||
Reference in New Issue
Block a user