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: 72

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

ATTR_ID: 233

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

BAC_OID: 234

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

BAG: 81

SET Same but allows duplicate values

BITMAP16: 25

class=discrete, length=2

BITMAP24: 26

class=discrete, length=3

BITMAP32: 27

class=discrete, length=4

BITMAP40: 28

class=discrete, length=5

BITMAP48: 29

class=discrete, length=6

BITMAP56: 30

class=discrete, length=7

BITMAP64: 31

class=discrete, length=8

BITMAP8: 24

class=discrete, length=1

BOOLEAN: 16

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

CHAR_STR: 66

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

CLUSTER_ID: 232

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

DATA16: 9

class=discrete, length=2

DATA24: 10

class=discrete, length=3

DATA32: 11

class=discrete, length=4

DATA40: 12

class=discrete, length=5

DATA48: 13

class=discrete, length=6

DATA56: 14

class=discrete, length=7

DATA64: 15

class=discrete, length=8

DATA8: 8

class=discrete, length=1

DATE: 225

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

DOUBLE_PREC: 58

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

ENUM16: 49

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

ENUM8: 48

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

IEEE_ADDR: 240

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

INT16: 41

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

INT24: 42

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

INT32: 43

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

INT40: 44

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

INT48: 45

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

INT56: 46

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

INT64: 47

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

INT8: 40

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

LONG_CHAR_STR: 68

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

LONG_OCTET_STR: 67

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

NO_DATA: 0

length=0

OCTET_STR: 65

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

SEC_KEY: 241

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

SEMI_PREC: 56

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

SET: 80

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

SINGLE_PREC: 57

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

STRUCT: 76

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

TOD: 224

Time of Day,

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

UINT16: 33

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

UINT24: 34

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

UINT32: 35

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

UINT40: 36

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

UINT48: 37

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

UINT56: 38

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

UINT64: 39

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

UINT8: 32

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

UNKNOWN: 255

length=0

UTC: 226

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