From 50c62c35463b62a3a7acebf9ebe22d44f1c6dca2 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Thu, 19 Feb 2026 12:29:05 +0100 Subject: Log attribute reads to debug console and replace raw C++ types with Qt equivalents Connect QOpcUaNode::attributeRead signal to new handler that logs read results (value or error code) to the debug console via BobinkClient::statusMessage. Add nameFromAttribute() helper. Replace const char* arrays with QLatin1StringView, bare string literals with QStringLiteral, uint with quint32, int with qint32. Rename statusLog to debugLog in Main.qml for consistency. --- src/BobinkClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/BobinkClient.h') diff --git a/src/BobinkClient.h b/src/BobinkClient.h index c86cfaa..5b7b284 100644 --- a/src/BobinkClient.h +++ b/src/BobinkClient.h @@ -167,7 +167,7 @@ private: bool m_certAccepted = false; QString m_discoveryUrl; - int m_discoveryInterval = 30000; // ms + qint32 m_discoveryInterval = 30000; // ms QTimer m_discoveryTimer; bool m_discovering = false; QList m_discoveredServers; -- cgit v1.2.3