2b779d5532
- Implement secure transport mechanisms in `gateway_knx_secure_transport.cpp` for handling secure sessions, including AES encryption, session key generation, and secure packet wrapping and unwrapping. - Introduce `OamRouterRuntime` in `oam_router_runtime.cpp` to manage OAM router identity, individual addresses, and tunnel frame handling. - Enhance secure session management with functions for session allocation, authentication, and secure packet processing. - Ensure compatibility with existing KNXnet/IP protocols while adding support for secure communications. Signed-off-by: Tony <tonylu@tony-cloud.com>
17 lines
641 B
CMake
17 lines
641 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/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) |