summaryrefslogtreecommitdiffstats
path: root/src/knx/netip/qknxnetip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/knx/netip/qknxnetip.h')
-rw-r--r--src/knx/netip/qknxnetip.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/knx/netip/qknxnetip.h b/src/knx/netip/qknxnetip.h
index 26a891c..96e3a63 100644
--- a/src/knx/netip/qknxnetip.h
+++ b/src/knx/netip/qknxnetip.h
@@ -238,7 +238,12 @@ namespace QKnx
TunnelingRequestTimeout = 1000,
// KNXnet/IP routing service
- RoutingBusyWaitTime = 100
+ RoutingBusyWaitTime = 100,
+
+ // KNXnet/IP secure session
+ SecureSessionTimeout = 60000,
+ SecureSessionRequestTimeout = 10000,
+ SecureSessionAuthenticateTimeout = 10000
};
Q_ENUM_NS(Timeout)
@@ -297,6 +302,16 @@ namespace QKnx
Unknown = 0xff
};
Q_ENUM_NS(SecureSessionStatus)
+
+ enum SecureUserId : quint8
+ {
+ Reserved = 0x00,
+ Management = 0x01,
+ UserRole = 0x02,
+ Invalid = 0x80
+ };
+ Q_ENUM_NS(SecureUserId)
+ Q_KNX_EXPORT bool isSecureUserId(SecureUserId userId);
}
}
namespace QKnxNetIp = QKnx::NetIp;