kdriveExpress Defines More...
#include "kdrive_express_config.h"
Go to the source code of this file.
Macros | |
#define | KDRIVE_MAX_GROUP_VALUE_LEN (14) |
The Maximum Length of a Datapoint Value in a GroupValue Telegram. More... | |
#define | KDRIVE_SN_LEN (6) |
The Length of a KNX Serial Number. More... | |
#define | KDRIVE_DA_LEN (6) |
The Length of a KNX Domain Address. More... | |
#define | KDRIVE_MAC_LEN (6) |
The Length of a MAC Address. More... | |
#define | KDRIVE_SEC_KEY_LEN (16) |
The Length of a security backbone key. More... | |
#define | KDRIVE_MAX_SEC_PASSWORD_LEN (20 + 1) |
The Maximum Length of a Security Password with Null-termination. More... | |
#define | KDRIVE_INVALID_DESCRIPTOR (-1) |
Indicates an invalid descriptor. More... | |
#define | KDRIVE_DPT16_LENGTH (14) |
The length of a KNX character string for DPT-16 is 112 bits or 14 bytes. More... | |
#define | KDRIVE_MAX_IP_ADDRESS_LEN (16) |
The max length of a formated ip address string e.g. More... | |
#define | KDRIVE_MAX_DEVICE_NAME_LEN (121) |
The max length of a device friendly name (30 char); (inclusive 1 byte for zero + max utf8 char) More... | |
#define | KDRIVE_CEMI_L_DATA_REQ (0x11) |
cEMI message code for L_Data.req More... | |
#define | KDRIVE_CEMI_L_DATA_CON (0x2E) |
cEMI message code for L_Data.con More... | |
#define | KDRIVE_CEMI_L_DATA_IND (0x29) |
cEMI message code for L_Data.ind More... | |
#define | KDRIVE_LAYER_UNKNOWN (0x0000) |
Unknown. More... | |
#define | KDRIVE_LAYER_NONE (0x8000) |
"No layer" More... | |
#define | KDRIVE_LAYER_LINK (0x0001) |
Link Layer. More... | |
#define | KDRIVE_LAYER_BUSMON (0x0002) |
Busmonitor. More... | |
#define | KDRIVE_LAYER_RAW (0x0004) |
Raw. More... | |
#define | KDRIVE_LAYER_TLL (0x0020) |
cEMI Transport Layer Local More... | |
#define | KDRIVE_MEDIUM_TP (0x02) |
Medium TP 1. More... | |
#define | KDRIVE_MEDIUM_PL (0x04) |
Medium PL 110. More... | |
#define | KDRIVE_MEDIUM_RF (0x10) |
Medium RF. More... | |
#define | KDRIVE_MEDIUM_IP (0x20) |
Medium IP. More... | |
#define | KDRIVE_KNX_BUS_STATE_UNKNOWN (0) |
KNX bus state: Unknown. More... | |
#define | KDRIVE_KNX_BUS_STATE_DISCONNECTED (1) |
KNX bus state: Disconnected. More... | |
#define | KDRIVE_KNX_BUS_STATE_CONNECTED (2) |
KNX bus state: Connected. More... | |
#define | KDRIVE_PACKET_DIR_RX (0) |
Packet Direction: Rx. More... | |
#define | KDRIVE_PACKET_DIR_TX (1) |
Packet Direction: Tx. More... | |
#define | KDRIVE_TUNNEL_SLOT_STATUS_FREE (0x01) |
Tunneling slot status Free: 0 = not free; 1 = free. More... | |
#define | KDRIVE_TUNNEL_SLOT_STATUS_AUTH (0x02) |
Tunneling slot status Authorised: 0 = authorisation is required; 1 = no authorisation is required. More... | |
#define | KDRIVE_TUNNEL_SLOT_STATUS_USABLE (0x04) |
Tunneling slot status Usable: 0 = This slot is not usable; 1 = This slot is usable. More... | |
#define | KDRIVE_BITS(length) ((length) * 8) |
converts the length of a byte buffer into length in bits More... | |
kdriveExpress Defines
#define KDRIVE_BITS | ( | length | ) | ((length) * 8) |
converts the length of a byte buffer into length in bits
#define KDRIVE_CEMI_L_DATA_CON (0x2E) |
cEMI message code for L_Data.con
#define KDRIVE_CEMI_L_DATA_IND (0x29) |
cEMI message code for L_Data.ind
#define KDRIVE_CEMI_L_DATA_REQ (0x11) |
cEMI message code for L_Data.req
#define KDRIVE_DA_LEN (6) |
The Length of a KNX Domain Address.
#define KDRIVE_DPT16_LENGTH (14) |
The length of a KNX character string for DPT-16 is 112 bits or 14 bytes.
#define KDRIVE_INVALID_DESCRIPTOR (-1) |
Indicates an invalid descriptor.
#define KDRIVE_KNX_BUS_STATE_CONNECTED (2) |
KNX bus state: Connected.
#define KDRIVE_KNX_BUS_STATE_DISCONNECTED (1) |
KNX bus state: Disconnected.
#define KDRIVE_KNX_BUS_STATE_UNKNOWN (0) |
KNX bus state: Unknown.
#define KDRIVE_LAYER_BUSMON (0x0002) |
Busmonitor.
#define KDRIVE_LAYER_LINK (0x0001) |
Link Layer.
#define KDRIVE_LAYER_NONE (0x8000) |
"No layer"
#define KDRIVE_LAYER_RAW (0x0004) |
Raw.
#define KDRIVE_LAYER_TLL (0x0020) |
cEMI Transport Layer Local
#define KDRIVE_LAYER_UNKNOWN (0x0000) |
Unknown.
#define KDRIVE_MAC_LEN (6) |
The Length of a MAC Address.
#define KDRIVE_MAX_DEVICE_NAME_LEN (121) |
The max length of a device friendly name (30 char); (inclusive 1 byte for zero + max utf8 char)
#define KDRIVE_MAX_GROUP_VALUE_LEN (14) |
The Maximum Length of a Datapoint Value in a GroupValue Telegram.
#define KDRIVE_MAX_IP_ADDRESS_LEN (16) |
The max length of a formated ip address string e.g.
192.168.234.123; (inclusive 1 byte for zero)
#define KDRIVE_MAX_SEC_PASSWORD_LEN (20 + 1) |
The Maximum Length of a Security Password with Null-termination.
#define KDRIVE_MEDIUM_IP (0x20) |
Medium IP.
#define KDRIVE_MEDIUM_PL (0x04) |
Medium PL 110.
#define KDRIVE_MEDIUM_RF (0x10) |
Medium RF.
#define KDRIVE_MEDIUM_TP (0x02) |
Medium TP 1.
#define KDRIVE_PACKET_DIR_RX (0) |
Packet Direction: Rx.
#define KDRIVE_PACKET_DIR_TX (1) |
Packet Direction: Tx.
#define KDRIVE_SEC_KEY_LEN (16) |
The Length of a security backbone key.
#define KDRIVE_SN_LEN (6) |
The Length of a KNX Serial Number.
#define KDRIVE_TUNNEL_SLOT_STATUS_AUTH (0x02) |
Tunneling slot status Authorised: 0 = authorisation is required; 1 = no authorisation is required.
#define KDRIVE_TUNNEL_SLOT_STATUS_FREE (0x01) |
Tunneling slot status Free: 0 = not free; 1 = free.
#define KDRIVE_TUNNEL_SLOT_STATUS_USABLE (0x04) |
Tunneling slot status Usable: 0 = This slot is not usable; 1 = This slot is usable.