Digi XBee(R) ANSI C Host Library
Macros | Functions | Variables
zcl_types.c File Reference

Information on each ZCL datatype; see zcl_type_info[] for additional documentation. More...

#include "zigbee/zcl_types.h"
#include <stdio.h>

Macros

#define zcl_types_debug
 
#define _IN_RANGE_ASSIGN_PREFIX(group, low, high)
 
#define _CASE_WITH_RETURN(n)   case ZCL_TYPE_ ## n: return # n;
 

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

const uint8_t zcl_type_info [256]
 Table to store information on each ZCL datatype. More...
 

Detailed Description

Information on each ZCL datatype; see zcl_type_info[] for additional documentation.

Macro Definition Documentation

#define _IN_RANGE_ASSIGN_PREFIX (   group,
  low,
  high 
)
Value:
(ZCL_TYPE_ ## group ## _ ## low ## BIT <= type \
&& type <= ZCL_TYPE_ ## group ## _ ## high ## BIT) prefix = # group