Digi XBee(R) ANSI C Host Library
Data Structures | Variables
zcl_basic_attributes.h File Reference
#include "zigbee/zcl_basic.h"

Go to the source code of this file.

Data Structures

struct  zcl_basic_dev_info
 Global used to hold values referenced by zcl_basic_attributes[]. More...
 

Variables

const struct zcl_basic_dev_info zcl_basic_dev_info
 
const zcl_attribute_base_t FAR zcl_basic_attributes []
 Table of attributes for the Basic Cluster Server.
 
const zcl_attribute_tree_t FAR zcl_basic_attribute_tree []
 

Detailed Description

ZCL Basic Cluster Overview

This header should be included from the main .C file (after defining the macros described below) to add the globals zcl_basic_dev_info and zcl_basic_attributes[] to the program.

It makes use of the following optional macros:

And one required macro:

For example:

#define ZCL_APP_VERSION 0x12
#define ZCL_MANUFACTURER_NAME "Digi International"
#define ZCL_MODEL_IDENTIFIER "Win32"
#define ZCL_DATE_CODE "20100601 dev"
#define ZCL_POWER_SOURCE ZCL_BASIC_PS_SINGLE_PHASE
// Can now use ZCL_CLUST_ENTRY_BASIC_SERVER in an endpoint's cluster table.