Green Power Read/Write/Request Attribute

Introduction

This document discusses how to use the Green Power Read/Write/Req Attribute Application and the different parts that compose it. Green Power Read/Write/Req Attribute Application is an example which exercises different features of TI Zigbee for a green power device implementation. The example can operate as battery powered device while using bidirectional commissioning and bidirectional operation.

Some of the features exercised include:

Software Prerequisites

Functional Description

Software Overview

This section describes the software components and the corresponding source files.

Application Files

The device will behave as a battery operated device, being in deep sleep until a key is pressed.

Configuration With SysConfig

SysConfig is a GUI configuration tool that allows for TI driver and stack configurations.

To configure using SysConfig, import the SysConfig-enabled project into CCS. Double click the *.syscfg file from the CCS project explorer, where * is the name of the example project. The SysConfig GUI window will appear, where Zigbee stack and TI driver configurations can be adjusted. These settings will be reflected in the generated files.

The example project comes with working default settings for SysConfig. For the purposes of this README, it is not recommended to change the default driver settings, as any changes may impact the functionality of the example. The Zigbee stack settings may be changed as required for your use case.

Note that some Zigbee settings are stored in non-volatile storage, and Zigbee prioritizes stored settings over SysConfig settings. To guarantee SysConfig settings are applied, perform a factory reset of the device to clear non-volatile storage.

Example Usage

This section describes how to use this sample application.

Buttons

Buttons have different usage depending on whether the device is commissioned or not.

When not commissioned (first start): - BTN-1: Starts the commissioning process. - BTN-2: N/A

After commissioning, the device will send a request attribute command one time.

Then, every 15 seconds, the button state is read: - BTN-1: Send a request attribute command. - BTN-2: Send an attribute reporting command.

Commissioning the device Into the network

Green Power Devices can be commissioned to a Zigbee network by sending a commissioning GPDF, a GPDF with auto-commissioning or a commissioning tool. A Zigbee device with green power proxy capabilities can create an entry for a Green Power Device with the commissioning data. The proxy device will translate the GPDF commands to ZCL notifications for the Zigbee network.