This is the specification-defined data types. It should not contain "custom" types and is expected to have [0x00-0xFF] values.

  • Values of analog types may be added to or subtracted from other values of the same type and are typically used to measure the value of properties in the real world that vary continuously over a range.
  • Values of discrete data types only have meaning as individual values and may not be added or subtracted.

Enumeration Members

ARRAY

class=composite, length=variable, non-value=[0]==0xFFFF

ATTR_ID

Defined in 2.6.1.4 of ZCL spec, class=discrete, length=2, non-value=0xFFFF

BAC_OID

BACnet OID, allow internetworking (format defined in BACnet ref), class=discrete, length=4, non-value=0xFFFFFFFF

BAG

SET Same but allows duplicate values

BITMAP16

class=discrete, length=2

BITMAP24

class=discrete, length=3

BITMAP32

class=discrete, length=4

BITMAP40

class=discrete, length=5

BITMAP48

class=discrete, length=6

BITMAP56

class=discrete, length=7

BITMAP64

class=discrete, length=8

BITMAP8

class=discrete, length=1

BOOLEAN

0x00=false, 0x01=true, class=discrete, length=1, non-value=0xFF

CHAR_STR

class=composite, length=0x00-0xFE, non-value=0xFF

CLUSTER_ID

Defined in 2.6.1.3 of ZCL spec, class=discrete, length=2, non-value=0xFFFF

DATA16

class=discrete, length=2

DATA24

class=discrete, length=3

DATA32

class=discrete, length=4

DATA40

class=discrete, length=5

DATA48

class=discrete, length=6

DATA56

class=discrete, length=7

DATA64

class=discrete, length=8

DATA8

class=discrete, length=1

DATE

ZclDate , class=analog, length=4, unused-subfield=0xFF, non-value=0xFFFFFFFF

DOUBLE_PREC

class=analog, length=8, non-value=NaN

ENUM16

class=discrete, length=2, non-value=0xFF

ENUM8

class=discrete, length=1, non-value=0xFF

IEEE_ADDR

class=discrete, length=8, non-value=0xFFFFFFFFFFFFFFFF

INT16

class=analog, length=2, non-value=0x8000

INT24

class=analog, length=3, non-value=0x800000

INT32

class=analog, length=4, non-value=0x80000000

INT40

class=analog, length=5, non-value=0x8000000000

INT48

class=analog, length=6, non-value=0x800000000000

INT56

class=analog, length=7, non-value=0x80000000000000

INT64

class=analog, length=8, non-value=0x8000000000000000

INT8

class=analog, length=1, non-value=0x80

LONG_CHAR_STR

class=composite, length=0x0000-0xFFFE, non-value=0xFFFF

LONG_OCTET_STR

class=composite, length=0x0000-0xFFFE, non-value=0xFFFF

NO_DATA

length=0

OCTET_STR

class=composite, length=0x00-0xFE, non-value=0xFF

SEC_KEY

Any 128-bit value, class=discrete, length=16

SEMI_PREC

class=analog, length=2, non-value=NaN

SET

class=composite, length=max(0xFFFE * DataType) non-value=(length=0xFFFF)

SINGLE_PREC

class=analog, length=4, non-value=NaN

STRUCT

class=composite, length=variable, non-value=(length)

TOD

Time of Day,

ZclTimeOfDay , class=analog, length=4, unused-subfield=0xFF, non-value=0xFFFFFFFF

UINT16

class=analog, length=2, non-value=0xFFFF

UINT24

class=analog, length=3, non-value=0xFFFFFF

UINT32

class=analog, length=4, non-value=0xFFFFFFFF

UINT40

class=analog, length=5, non-value=0xFFFFFFFFFF

UINT48

class=analog, length=6, non-value=0xFFFFFFFFFFFF

UINT56

class=analog, length=7, non-value=0xFFFFFFFFFFFFFF

UINT64

class=analog, length=8, non-value=0xFFFFFFFFFFFFFFFF

UINT8

class=discrete, length=1, non-value=0xFF

UNKNOWN

length=0

UTC

Number of seconds since 2000-01-01 00:00:00 UTC, class=analog, length=4, non-value=0xFFFFFFFF