8211514fe3
- Added support for OAM router configuration in app_main, allowing the IP interface individual address to be set based on the OAM router's individual address. - Updated GatewayBridgeService to validate IP interface addresses only when OAM router is disabled, ensuring proper address management. - Introduced KnxResponseDeduplicator to prevent duplicate responses in KNX communication. - Enhanced ETS device runtime to handle bus frames and set up frame receivers for OAM router. - Improved GatewayKnxTpIpRouter to manage OAM router interactions, including handling tunnel frames and bus frames. - Updated CMakeLists to include new knx_device_broker source file. - Refined logging messages to provide clearer context regarding the IP interface being used. - Added methods to retrieve IP interface names and friendly names based on the OAM router configuration. Signed-off-by: Tony <tonylu@tony-cloud.com>
18 lines
677 B
CMake
18 lines
677 B
CMake
idf_component_register(
|
|
SRCS
|
|
"src/gateway_knx.cpp"
|
|
"src/gateway_knx_bridge.cpp"
|
|
"src/gateway_knx_router_lifecycle.cpp"
|
|
"src/gateway_knx_router_openknx.cpp"
|
|
"src/gateway_knx_router_packets.cpp"
|
|
"src/gateway_knx_router_services.cpp"
|
|
"src/gateway_knx_secure_transport.cpp"
|
|
"src/knx_device_broker.cpp"
|
|
"src/oam_router_runtime.cpp"
|
|
"src/ets_device_runtime.cpp"
|
|
"src/ets_memory_loader.cpp"
|
|
INCLUDE_DIRS "include"
|
|
REQUIRES dali_cpp esp_driver_gpio esp_driver_uart esp_hw_support esp_netif freertos log lwip knx mbedtls
|
|
)
|
|
|
|
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) |