XBee Firmware Library  1.6.0
Data Structures | Typedefs | Functions | Variables
zcl_types.h File Reference

Data Structures

union  zcl40_t
 40-bit unsigned in host-byte-order More...
 
union  zcl48_t
 48-bit unsigned in host-byte-order More...
 

Typedefs

typedef union zcl40_t zcl40_t
 40-bit unsigned in host-byte-order More...
 
typedef union zcl48_t zcl48_t
 48-bit unsigned in host-byte-order More...
 
typedef PACKED_STRUCT zcl_date_t
 Date (for #ZCL_TYPE_TIME_DATE Data Type) More...
 
typedef PACKED_STRUCT zcl_timeofday_t
 Time of Day (for #ZCL_TYPE_TIME_TOD Data Type) More...
 
typedef uint32_t zcl_utctime_t
 

Functions

int zcl_sizeof_type (uint8_t type)
 Return the number of octets used by a given ZCL datatype. More...
 
const char * zcl_type_name (uint8_t type)
 Return a descriptive string for a given ZCL attribute type. More...
 

Variables

uint8_t day
 1-31 or 0xff for unused More...
 
uint8_t dayofweek
 1-7 (1 = Monday, 7 = Sunday) or 0xff for unused More...
 
uint8_t hundredths
 0-99 or 0xff for unused More...
 
uint8_t minutes
 0-59 or 0xff for unused More...
 
uint8_t month
 1-12 or 0xff for unused More...
 
uint8_t seconds
 0-59 or 0xff for unused More...
 
const uint8_t zcl_type_info [256]
 Table to store information on each ZCL datatype. More...
 

Detailed Description

Macros and structures related to the ZCL datatypes.

All multi-byte types are little-endian.