CemiServer Namespace

QKnx::NetIp::CemiServer

The QKnx::NetIp::CemiServer namespace defines enumerations related to KNXnet/IP communication with a cEMI server. More...

Header: #include <CemiServer>
qmake: QT += knx

Types

enum class Error { Unspecified, OutOfRange, OutOfMaxRange, OutOfMinRange, Memory, …, None }
enum class ReturnCode { NoError }

Detailed Description

The common external message interface (cEMI) message format is a generic structure for transmitting KNX frames between cEMI servers and cEMI clients independently of the medium.

Type Documentation

enum class CemiServer::Error

This enum describes the possible error codes returned by the remote cEMI server after cEMI service management requests.

ConstantValueDescription
QKnx::NetIp::CemiServer::Error::Unspecified0x00The error that occurred is unknown. Can occur in negative read or write confirmation frames.
QKnx::NetIp::CemiServer::Error::OutOfRange0x01Denotes a general write error if OutOfMaxRange or OutOfMinRange are not applicable. Can occur in negative write confirmation frames.
QKnx::NetIp::CemiServer::Error::OutOfMaxRange0x02The value to write was too high. Can occur in negative write confirmation frames.
QKnx::NetIp::CemiServer::Error::OutOfMinRange0x03The value to write was too low. Can occur in negative write confirmation frames.
QKnx::NetIp::CemiServer::Error::Memory0x04The memory cannot be written or can only be written with faults. Can occur in negative write confirmation frames.
QKnx::NetIp::CemiServer::Error::ReadOnly0x05Write access to a read-only or a write protected property. Can occur in negative write confirmation frames.
QKnx::NetIp::CemiServer::Error::IllegalCommand0x06The used command is not valid or not supported by the cEMI server.
QKnx::NetIp::CemiServer::Error::NonExistingProperty0x07Read or write access to an non-existing property. Can occur in negative read or write confirmation frames.
QKnx::NetIp::CemiServer::Error::TypeConflict0x08Write access with a wrong data type (datapoint length).
QKnx::NetIp::CemiServer::Error::PropertyIndexRangeError0x09Read or write access to a non-existing property-array index. Can occur in negative read or write confirmation frames.
QKnx::NetIp::CemiServer::Error::TemporaryNotWritable0x0aThe property exists but cannot be set to a new value at the time. Can occur in negative write confirmation frames.
QKnx::NetIp::CemiServer::Error::None0xffNo error occurred. Please do not use.

enum class CemiServer::ReturnCode

This enum describes the possible error codes returned by the remote cEMI server after cEMI function properties service requests.

A return code larger than NoError indicates the negative result of the function.

ConstantValueDescription
QKnx::NetIp::CemiServer::ReturnCode::NoError0x00The function was successfully executed. The return code indicates the positive result of the function.