CemiServer Namespace

QKnx::NetIp::CemiServer

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

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

    类型

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

    详细描述

    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.

    类型文档编制

    enum class CemiServer:: Error

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

    常量 描述
    QKnx::NetIp::CemiServer::Error::Unspecified 0x00 The error that occurred is unknown. Can occur in negative read or write confirmation frames.
    QKnx::NetIp::CemiServer::Error::OutOfRange 0x01 Denotes a general write error if OutOfMaxRange or OutOfMinRange are not applicable. Can occur in negative write confirmation frames.
    QKnx::NetIp::CemiServer::Error::OutOfMaxRange 0x02 The value to write was too high. Can occur in negative write confirmation frames.
    QKnx::NetIp::CemiServer::Error::OutOfMinRange 0x03 The value to write was too low. Can occur in negative write confirmation frames.
    QKnx::NetIp::CemiServer::Error::Memory 0x04 The memory cannot be written or can only be written with faults. Can occur in negative write confirmation frames.
    QKnx::NetIp::CemiServer::Error::ReadOnly 0x05 Write access to a read-only or a write protected property. Can occur in negative write confirmation frames.
    QKnx::NetIp::CemiServer::Error::IllegalCommand 0x06 The used command is not valid or not supported by the cEMI server.
    QKnx::NetIp::CemiServer::Error::NonExistingProperty 0x07 Read or write access to an non-existing property. Can occur in negative read or write confirmation frames.
    QKnx::NetIp::CemiServer::Error::TypeConflict 0x08 Write access with a wrong data type (datapoint length).
    QKnx::NetIp::CemiServer::Error::PropertyIndexRangeError 0x09 Read or write access to a non-existing property-array index. Can occur in negative read or write confirmation frames.
    QKnx::NetIp::CemiServer::Error::TemporaryNotWritable 0x0a The property exists but cannot be set to a new value at the time. Can occur in negative write confirmation frames.
    QKnx::NetIp::CemiServer::Error::None 0xff No 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.

    常量 描述
    QKnx::NetIp::CemiServer::ReturnCode::NoError 0x00 The function was successfully executed. The return code indicates the positive result of the function.