Zigbee_PowerConfig_Server_SED Application Description

How to use the Power Config cluster on a device acting as a SED within a Centralized Zigbee network.

The purpose of this application is to show how to create a Zigbee centralized network, and how to communicate from one node to another one using the Power Config cluster. Once the Zigbee mesh network is created, the Server sends regularly the Battery availability in Percent to Client.

Keywords

Connectivity, Zigbee, Zigbee protocol, 802.15.4 protocol, Power config cluster

Hardware Requirements

For this application it is requested to have:

Demo use case

    
 
               Coord.                                                                             SED
           +-------------+                                                                    +-------------+
           |             |                                                                    |             |                                       
           | PowerConfig |                                                                    | PowerConfig |
           |   Client    |                                                                    |   Server    |  - PowerConfig Server during Init 
           |             |                                                                    |             |    launch a 30 s Periodic Timer
           |             |                                                                    |             |  
           |             |                                                                    |             |  - Every 30 s
           |             |                                                                    |             |    * Read the battery (if exist)
           |             |                                                                    |             |      or simulate it with RNG.
           |             |                                                                    |             |    * <= ZbZclAttrIntegerWrite(ZCL_POWER_CONFIG_ATTR_BATTERY_PCT) 
           |             |  After a SED was connected :                                       |             |
           |             |  ZbZclAttrReportConfigReq(ZCL_POWER_CONFIG_ATTR_BATTERY_PCT, 60sec)|             |    Green LED toggling (if CFG_FULL_LOW_POWER=2)
           |             | -----------------------------------------------------------------> |             |
           |             | <----------------------------------------------------------------- |             |
           |             |                                                                    |             |
           |             | <-------------- Report (every 60 seconds) -------------------------|             |
           |             |                                                                    |             | <= PushB SW1 : Start/Restart 30 s Periodic Timer.               
           |             |                                                                    |             |        
           |             |                                                                    |             | <= PushB SW2 : Stop 30 s Periodic Timer.           
           |             |                                                                    |             |    
           |             |                                                                    |             |            
           +-------------+                                                                    +-------------+
  

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