Zigbee_Basic_Client_Coord Application Description

How to use the Basic Attributes of an OnOff cluster on a device acting as a Client within a Centralized Zigbee network.

The purpose of this application is to show how to create a Zigbee centralized network, and how to read Basic attributes of an OnOff Client cluster. Once the Zigbee mesh network is created, the user can send requests from the Server to the Client through push buttons SW1 & SW2 in order to obtain Attributes.

Keywords

Connectivity, Zigbee, Zigbee protocol, 802.15.4 protocol, OnOff cluster, basic attributes

Hardware Requirements

For this application it is requested to have:

    
                 Router                                          Coord.
               +--------+                                      +--------+
               |        |                                      |        |
               | OnOff  |                                      | OnOff  |        
               | Client |                                      | Server | 
               |  with  |                                      |        |
               | Basic  |                                      | Basic  |
               | Attrb. |                                      | Client |
               |        |                                      |        |
   PushB SW1=> |        |    ZbZclOnOffClientToggleReq         |        |
               |        | -----------------------------------> |        | => Red LED Toggle
               |        |                                      |        |
               |        |                                      |        |
               |        |             ZbZclReadReq             |        | <= PushB SW1
               |        | <----------------------------------- |        | 
               |        | -----------------------------------> |        | => Display Manufacturer Name
               |        |                                      |        |              
               |        |                                      |        |                          
               |        |             ZbZclReadReq             |        | <= PushB SW2
               |        | <----------------------------------- |        | 
               |        | -----------------------------------> |        | => Display ZCL Version & Power Source
               |        |                                      |        |                          
               +--------+                                      +--------+

Application Setup

Note: When LED Red, Green and Blue are toggling it is indicating an error has occurred on application.

Hardware and Software environment

Traces

Note

By default, this application runs with Zigbee PRO stack R23.
If you want to run this application using Zigbee PRO stack R22, you should replace ZigBeeProR23_FFD.a by ZigBeeProR22_FFD.a and ZigBeeProR23_RFD.a by ZigBeeProR22_RFD.a and ZigBeeClusters.a by ZigBeeClustersR22.a in the build environment.
Also, set in the project setup compilation flag CONFIG_ZB_REV=22.