fix: enhance KNX OAM router functionality and security features

Signed-off-by: Tony <tonylu@tony-cloud.com>
This commit is contained in:
Tony
2026-05-29 01:31:58 +08:00
parent bb0fb01c00
commit f39ae6f0c6
13 changed files with 375 additions and 35 deletions
@@ -38,6 +38,8 @@ class OamRouterRuntime {
bool programmingMode() const;
void setProgrammingMode(bool enabled);
void toggleProgrammingMode();
bool matchesSecureSyncSerial(CemiFrame& frame) const;
bool matchesRecentSecureToolAccess(CemiFrame& frame) const;
EtsMemorySnapshot snapshot() const;
DeviceObject* deviceObject();
@@ -60,6 +62,8 @@ class OamRouterRuntime {
std::string nvs_namespace_;
CemiFrameSender sender_;
CemiFrameSender bus_frame_sender_;
mutable uint16_t recent_secure_tool_source_{0xffff};
mutable int64_t recent_secure_tool_sync_us_{0};
#if defined(ENABLE_BAU091A_PERSONA)
EspIdfPlatform platform_;
Bau091A device_;