These constants do not match the values used in the ZigBee specification, but follow the rules below:
Related documentation: [1] ZigBee Cluster Library specification, Document 075123r04ZB, May 29, 2012.
| Modifier and Type | Field and Description |
|---|---|
| public static final short | ARRAY
According to ZigBee Cluster Library [1], an Array is an ordered sequence of zero or more elements, all of the same data type. |
| public static final short | ATTRIBUTE_ID
The type of an attribute identifier. |
| public static final short | BACNET_OID
According to ZigBee Cluster Library [1], the BACnet OID data type is included to allow interworking with BACnet. |
| public static final short | BAG
According to ZigBee Cluster Library [1], a Bag behaves exactly the same as a Set, except that two elements may have the same value. |
| public static final short | BITMAP_16
Bitmap16-bit |
| public static final short | BITMAP_24
Bitmap 24-bit |
| public static final short | BITMAP_32
Bitmap 32-bit |
| public static final short | BITMAP_40
Bitmap 40-bit |
| public static final short | BITMAP_48
Bitmap 48-bit |
| public static final short | BITMAP_56
Bitmap 56-bit |
| public static final short | BITMAP_64
Bitmap 64-bit |
| public static final short | BITMAP_8
According to ZigBee Cluster Library [1], the Bitmap type holds logical values, one per bit, depending on its length. |
| public static final short | BOOLEAN
According to ZigBee Cluster Library [1], the Boolean type represents a logical value, either FALSE (0x00) or TRUE (0x01). |
| public static final short | CHARACTER_STRING
According to ZigBee Cluster Library [1], the Character String data type contains data octets encoding characters according to the language and character set field of the complex descriptor. |
| public static final short | CLUSTER_ID
The type of a cluster identifier. |
| public static final short | DATE
The Date data type format is specified in section 2.5.2.20 of ZigBee Cluster Specification [1]. |
| public static final short | ENUMERATION_16
Enumeration 16-bit |
| public static final short | ENUMERATION_8
According to ZigBee Cluster Library [1], the Enumeration type represents an index into a lookup table to determine the final value. |
| public static final short | FLOATING_DOUBLE
According to ZigBee Cluster Library [1], the format of the double precision data type is based on the IEEE 754 standard for binary floating-point arithmetic. |
| public static final short | FLOATING_SEMI
According to ZigBee Cluster Library [1], the ZigBee semi-precision number format is based on the IEEE 754 standard for binary floating-point arithmetic. |
| public static final short | FLOATING_SINGLE
According to ZigBee Cluster Library [1], the format of the single precision data type is based on the IEEE 754 standard for binary floating-point arithmetic. |
| public static final short | GENERAL_DATA_16
General Data 16-bit |
| public static final short | GENERAL_DATA_24
General Data 24-bit |
| public static final short | GENERAL_DATA_32
General Data 32-bit |
| public static final short | GENERAL_DATA_40
General Data 40-bit |
| public static final short | GENERAL_DATA_48
General Data 48-bit |
| public static final short | GENERAL_DATA_56
General Data 56-bit |
| public static final short | GENERAL_DATA_64
General Data 64-bit |
| public static final short | GENERAL_DATA_8
According to ZigBee Cluster Library [1], the General Data type may be used when a data element is needed but its use does not conform to any of other types. |
| public static final short | IEEE_ADDRESS
According to ZigBee Cluster Library [1], the IEEE Address data type is a 64-bit IEEE address that is unique to every ZigBee device. |
| public static final short | LONG_CHARACTER_STRING
According to ZigBee Cluster Library [1], the Long Character String data type contains data octets encoding characters according to the language and character set field of the complex descriptor. |
| public static final short | LONG_OCTET_STRING
According to ZigBee Cluster Library [1], the Long Octet String data type contains data in application-defined formats. |
| public static final short | NO_DATA
According to ZigBee Cluster Library [1], the no data type represents an attribute with no associated data. |
| public static final short | OCTET_STRING
According to ZigBee Cluster Library [1], the Octet String data type contains data in application-defined formats. |
| public static final short | SECURITY_KEY_128
According to ZigBee Cluster Library [1], the 128-bit Security Key data type is for use in ZigBee security, and may take any 128-bit value. |
| public static final short | SET
According to ZigBee Cluster Library [1], a Set is a collection of elements with no associated order. |
| public static final short | SIGNED_INTEGER_16
Signed Integer 16-bit |
| public static final short | SIGNED_INTEGER_24
Signed Integer 24-bit |
| public static final short | SIGNED_INTEGER_32
Signed Integer 32-bit |
| public static final short | SIGNED_INTEGER_40
Signed Integer 40-bit |
| public static final short | SIGNED_INTEGER_48
Signed Integer 48-bit |
| public static final short | SIGNED_INTEGER_56
Signed Integer 56-bit |
| public static final short | SIGNED_INTEGER_64
Signed Integer 64-bit |
| public static final short | SIGNED_INTEGER_8
According to ZigBee Cluster Library [1], the Signed Integer type represents a signed integer with a decimal range of -(2^7-1) to 2^7-1, - (2^15-1) to 2^15-1, -(2^23-1) to 2^23-1, -(2^31-1) to 2^31-1, -(2^39-1) to 2^39-1, -(2^47-1) to 2^47-1, -(2^55-1) to 2^55-1, or -(2^63-1) to 2^63-1, depending on its length. |
| public static final short | STRUCTURE
According to ZigBee Cluster Library [1], a Structure is an ordered sequence of elements, which may be of different data types. |
| public static final short | TIME_OF_DAY
The Time of Day data type format is specified in section 2.5.2.19 of ZCL specification [1]. |
| public static final short | UNKNOWN
The UNKNOWN type is used when the data type is unknown. |
| public static final short | UNSIGNED_INTEGER_16
Unsigned Integer 16-bit |
| public static final short | UNSIGNED_INTEGER_24
Unsigned Integer 24-bit |
| public static final short | UNSIGNED_INTEGER_32
Unsigned Integer 32-bit |
| public static final short | UNSIGNED_INTEGER_40
Unsigned Integer 40-bit |
| public static final short | UNSIGNED_INTEGER_48
Unsigned Integer 48-bit |
| public static final short | UNSIGNED_INTEGER_56
Unsigned Integer 56-bit |
| public static final short | UNSIGNED_INTEGER_64
Unsigned Integer 64-bit |
| public static final short | UNSIGNED_INTEGER_8
According to ZigBee Cluster Library [1], the Unsigned Integer type represents an unsigned integer with a decimal range of 0 to 2^8-1, 0 to 2^16-1, 0 to 2^24-1, 0 to 2^32-1, 0 to 2^40-1, 0 to 2^48-1, 0 to 2^56-1, or 0 to 2^64-1, depending on its length. |
| public static final short | UTC_TIME
According to ZigBee Cluster Library [1], UTCTime is an unsigned 32-bit value representing the number of seconds since 0 hours, 0 minutes, 0 seconds, on the 1st of January, 2000 UTC (Universal Coordinated Time). |
| Access | Constructor and Description |
|---|---|
| private |
| ARRAY | back to summary |
|---|---|
| public static final short ARRAY According to ZigBee Cluster Library [1], an Array is an ordered sequence of zero or more elements, all of the same data type. This data type may be any ZCL defined data type, including Array, Structure, Bag or Set. The total nesting depth is limited to 15. | |
| ATTRIBUTE_ID | back to summary |
|---|---|
| public static final short ATTRIBUTE_ID The type of an attribute identifier. | |
| BACNET_OID | back to summary |
|---|---|
| public static final short BACNET_OID According to ZigBee Cluster Library [1], the BACnet OID data type is included to allow interworking with BACnet. The format is described in the referenced standard. | |
| BAG | back to summary |
|---|---|
| public static final short BAG According to ZigBee Cluster Library [1], a Bag behaves exactly the same as a Set, except that two elements may have the same value. | |
| BITMAP_16 | back to summary |
|---|---|
| public static final short BITMAP_16 Bitmap16-bit | |
| BITMAP_24 | back to summary |
|---|---|
| public static final short BITMAP_24 Bitmap 24-bit | |
| BITMAP_32 | back to summary |
|---|---|
| public static final short BITMAP_32 Bitmap 32-bit | |
| BITMAP_40 | back to summary |
|---|---|
| public static final short BITMAP_40 Bitmap 40-bit | |
| BITMAP_48 | back to summary |
|---|---|
| public static final short BITMAP_48 Bitmap 48-bit | |
| BITMAP_56 | back to summary |
|---|---|
| public static final short BITMAP_56 Bitmap 56-bit | |
| BITMAP_64 | back to summary |
|---|---|
| public static final short BITMAP_64 Bitmap 64-bit | |
| BITMAP_8 | back to summary |
|---|---|
| public static final short BITMAP_8 According to ZigBee Cluster Library [1], the Bitmap type holds logical values, one per bit, depending on its length. There is no value that represents an invalid value of this type. The Bitmap type is defined with several sizes: 8, 16, 24, 32, 40, 48, 56 and 64 bits. | |
| BOOLEAN | back to summary |
|---|---|
| public static final short BOOLEAN According to ZigBee Cluster Library [1], the Boolean type represents a logical value, either FALSE (0x00) or TRUE (0x01). The value 0xff represents an invalid value of this type. All other values of this type are forbidden. | |
| CHARACTER_STRING | back to summary |
|---|---|
| public static final short CHARACTER_STRING According to ZigBee Cluster Library [1], the Character String data type contains data octets encoding characters according to the language and character set field of the complex descriptor. | |
| CLUSTER_ID | back to summary |
|---|---|
| public static final short CLUSTER_ID The type of a cluster identifier. | |
| DATE | back to summary |
|---|---|
| public static final short DATE The Date data type format is specified in section 2.5.2.20 of ZigBee Cluster Specification [1]. | |
| ENUMERATION_16 | back to summary |
|---|---|
| public static final short ENUMERATION_16 Enumeration 16-bit | |
| ENUMERATION_8 | back to summary |
|---|---|
| public static final short ENUMERATION_8 According to ZigBee Cluster Library [1], the Enumeration type represents an index into a lookup table to determine the final value. The values 0xff and 0xffff represent invalid values of the 8-bit and 16-bit types respectively. | |
| FLOATING_DOUBLE | back to summary |
|---|---|
| public static final short FLOATING_DOUBLE According to ZigBee Cluster Library [1], the format of the double precision data type is based on the IEEE 754 standard for binary floating-point arithmetic. | |
| FLOATING_SEMI | back to summary |
|---|---|
| public static final short FLOATING_SEMI According to ZigBee Cluster Library [1], the ZigBee semi-precision number format is based on the IEEE 754 standard for binary floating-point arithmetic. | |
| FLOATING_SINGLE | back to summary |
|---|---|
| public static final short FLOATING_SINGLE According to ZigBee Cluster Library [1], the format of the single precision data type is based on the IEEE 754 standard for binary floating-point arithmetic. | |
| GENERAL_DATA_16 | back to summary |
|---|---|
| public static final short GENERAL_DATA_16 General Data 16-bit | |
| GENERAL_DATA_24 | back to summary |
|---|---|
| public static final short GENERAL_DATA_24 General Data 24-bit | |
| GENERAL_DATA_32 | back to summary |
|---|---|
| public static final short GENERAL_DATA_32 General Data 32-bit | |
| GENERAL_DATA_40 | back to summary |
|---|---|
| public static final short GENERAL_DATA_40 General Data 40-bit | |
| GENERAL_DATA_48 | back to summary |
|---|---|
| public static final short GENERAL_DATA_48 General Data 48-bit | |
| GENERAL_DATA_56 | back to summary |
|---|---|
| public static final short GENERAL_DATA_56 General Data 56-bit | |
| GENERAL_DATA_64 | back to summary |
|---|---|
| public static final short GENERAL_DATA_64 General Data 64-bit | |
| GENERAL_DATA_8 | back to summary |
|---|---|
| public static final short GENERAL_DATA_8 According to ZigBee Cluster Library [1], the General Data type may be used when a data element is needed but its use does not conform to any of other types. The General Data type is defined with several sizes: 8, 16, 24, 32, 40, 48, 56 and 64 bits. | |
| IEEE_ADDRESS | back to summary |
|---|---|
| public static final short IEEE_ADDRESS According to ZigBee Cluster Library [1], the IEEE Address data type is a 64-bit IEEE address that is unique to every ZigBee device. A value of 0xffffffffffffffff indicates that the address is unknown. | |
| LONG_CHARACTER_STRING | back to summary |
|---|---|
| public static final short LONG_CHARACTER_STRING According to ZigBee Cluster Library [1], the Long Character String data type contains data octets encoding characters according to the language and character set field of the complex descriptor. | |
| LONG_OCTET_STRING | back to summary |
|---|---|
| public static final short LONG_OCTET_STRING According to ZigBee Cluster Library [1], the Long Octet String data type contains data in application-defined formats. | |
| NO_DATA | back to summary |
|---|---|
| public static final short NO_DATA According to ZigBee Cluster Library [1], the no data type represents an attribute with no associated data. | |
| OCTET_STRING | back to summary |
|---|---|
| public static final short OCTET_STRING According to ZigBee Cluster Library [1], the Octet String data type contains data in application-defined formats. | |
| SECURITY_KEY_128 | back to summary |
|---|---|
| public static final short SECURITY_KEY_128 According to ZigBee Cluster Library [1], the 128-bit Security Key data type is for use in ZigBee security, and may take any 128-bit value. | |
| SET | back to summary |
|---|---|
| public static final short SET According to ZigBee Cluster Library [1], a Set is a collection of elements with no associated order. Each element has the same data type, which may be any ZCL defined data type, including Array, Structure, Bag or Set. The nesting depth is limited to 15. | |
| SIGNED_INTEGER_16 | back to summary |
|---|---|
| public static final short SIGNED_INTEGER_16 Signed Integer 16-bit | |
| SIGNED_INTEGER_24 | back to summary |
|---|---|
| public static final short SIGNED_INTEGER_24 Signed Integer 24-bit | |
| SIGNED_INTEGER_32 | back to summary |
|---|---|
| public static final short SIGNED_INTEGER_32 Signed Integer 32-bit | |
| SIGNED_INTEGER_40 | back to summary |
|---|---|
| public static final short SIGNED_INTEGER_40 Signed Integer 40-bit | |
| SIGNED_INTEGER_48 | back to summary |
|---|---|
| public static final short SIGNED_INTEGER_48 Signed Integer 48-bit | |
| SIGNED_INTEGER_56 | back to summary |
|---|---|
| public static final short SIGNED_INTEGER_56 Signed Integer 56-bit | |
| SIGNED_INTEGER_64 | back to summary |
|---|---|
| public static final short SIGNED_INTEGER_64 Signed Integer 64-bit | |
| SIGNED_INTEGER_8 | back to summary |
|---|---|
| public static final short SIGNED_INTEGER_8 According to ZigBee Cluster Library [1], the Signed Integer type represents a signed integer with a decimal range of -(2^7-1) to 2^7-1, - (2^15-1) to 2^15-1, -(2^23-1) to 2^23-1, -(2^31-1) to 2^31-1, -(2^39-1) to 2^39-1, -(2^47-1) to 2^47-1, -(2^55-1) to 2^55-1, or -(2^63-1) to 2^63-1, depending on its length. The values that represents an invalid value of this type are 0x80, 0x8000, 0x800000, 0x80000000, 0x8000000000, 0x800000000000, 0x80000000000000 and 0x8000000000000000 respectively. This type is defined with several sizes: 8, 16, 24, 32, 40, 48, 56 and 64 bits. | |
| STRUCTURE | back to summary |
|---|---|
| public static final short STRUCTURE According to ZigBee Cluster Library [1], a Structure is an ordered sequence of elements, which may be of different data types. Each data type may be any ZCL defined data type, including Array, Structure, Bag or Set. The total nesting depth is limited to 15. | |
| TIME_OF_DAY | back to summary |
|---|---|
| public static final short TIME_OF_DAY The Time of Day data type format is specified in section 2.5.2.19 of ZCL specification [1]. | |
| UNKNOWN | back to summary |
|---|---|
| public static final short UNKNOWN The UNKNOWN type is used when the data type is unknown. | |
| UNSIGNED_INTEGER_16 | back to summary |
|---|---|
| public static final short UNSIGNED_INTEGER_16 Unsigned Integer 16-bit | |
| UNSIGNED_INTEGER_24 | back to summary |
|---|---|
| public static final short UNSIGNED_INTEGER_24 Unsigned Integer 24-bit | |
| UNSIGNED_INTEGER_32 | back to summary |
|---|---|
| public static final short UNSIGNED_INTEGER_32 Unsigned Integer 32-bit | |
| UNSIGNED_INTEGER_40 | back to summary |
|---|---|
| public static final short UNSIGNED_INTEGER_40 Unsigned Integer 40-bit | |
| UNSIGNED_INTEGER_48 | back to summary |
|---|---|
| public static final short UNSIGNED_INTEGER_48 Unsigned Integer 48-bit | |
| UNSIGNED_INTEGER_56 | back to summary |
|---|---|
| public static final short UNSIGNED_INTEGER_56 Unsigned Integer 56-bit | |
| UNSIGNED_INTEGER_64 | back to summary |
|---|---|
| public static final short UNSIGNED_INTEGER_64 Unsigned Integer 64-bit | |
| UNSIGNED_INTEGER_8 | back to summary |
|---|---|
| public static final short UNSIGNED_INTEGER_8 According to ZigBee Cluster Library [1], the Unsigned Integer type represents an unsigned integer with a decimal range of 0 to 2^8-1, 0 to 2^16-1, 0 to 2^24-1, 0 to 2^32-1, 0 to 2^40-1, 0 to 2^48-1, 0 to 2^56-1, or 0 to 2^64-1, depending on its length. The values that represents an invalid value of this type are 0xff, 0xffff, 0xffffff, 0xffffffff, 0xffffffffff, 0xffffffffffff, 0xffffffffffffff and 0xffffffffffffffff respectively. This type is defined with several sizes: 8, 16, 24, 32, 40, 48, 56 and 64 bits. | |
| UTC_TIME | back to summary |
|---|---|
| public static final short UTC_TIME According to ZigBee Cluster Library [1], UTCTime is an unsigned 32-bit value representing the number of seconds since 0 hours, 0 minutes, 0 seconds, on the 1st of January, 2000 UTC (Universal Coordinated Time). The value that represents an invalid value of this type is 0xffffffffff. | |
| ZigBeeDataTypes | back to summary |
|---|---|
| private ZigBeeDataTypes() | |