Add cloud bridge and provisioning support for ESP32 gateway

- Introduced DaliCloudBridge for MQTT communication with backend.
- Added GatewayProvisioningStore for persisting cloud connection settings using NVS.
- Updated CMakeLists.txt to include new source files.
- Enhanced README.md with usage examples and configuration details.
This commit is contained in:
Tony
2026-03-31 08:44:30 +08:00
parent 7e8ac7f566
commit a8a82f9627
8 changed files with 531 additions and 0 deletions
+3
View File
@@ -10,7 +10,10 @@ idf_component_register(
"src/sequence.cpp"
"src/sequence_store.cpp"
"src/color.cpp"
"src/gateway_cloud.cpp"
"src/gateway_provisioning.cpp"
INCLUDE_DIRS "include"
REQUIRES mqtt cjson nvs_flash
)
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17)