2b8ef31263
- Implemented handleUdpDatagram to process incoming UDP datagrams and route them to appropriate handlers based on service type. - Added methods for handling various KNXnet/IP requests including search, description, tunneling, device configuration, connection state, and disconnect requests. - Introduced TunnelClient management for handling multiple tunnel connections, including allocation, resetting, and pruning stale clients. - Implemented secure service handling with appropriate logging for unsupported secure sessions. - Enhanced logging for better traceability of incoming requests and responses. Signed-off-by: Tony <tonylu@tony-cloud.com>
15 lines
549 B
CMake
15 lines
549 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/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
|
|
)
|
|
|
|
set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) |