feat(gateway_network): integrate GatewayBridgeService and add bridge handling

- Updated CMakeLists.txt to require gateway_bridge component.
- Modified GatewayNetworkService to include a pointer to GatewayBridgeService.
- Added new HTTP handlers for bridge GET and POST requests.
- Implemented query utility functions for handling request parameters.
- Enhanced response handling for bridge actions with JSON responses.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Tony
2026-05-01 03:54:02 +08:00
parent 2c1aa28d4f
commit d16c289626
19 changed files with 3186 additions and 10 deletions
+18
View File
@@ -0,0 +1,18 @@
set(GATEWAY_BRIDGE_REQUIRES
dali_domain
dali_cpp
espressif__cjson
freertos
log
lwip
nvs_flash
)
idf_component_register(
SRCS "src/gateway_bridge.cpp"
INCLUDE_DIRS "include"
REQUIRES ${GATEWAY_BRIDGE_REQUIRES}
PRIV_REQUIRES gateway_bacnet
)
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17)