Zigbee Router Generic App
Introduction
This document discusses briefly the template code provide for developers to create its own application with the minimum required overhead.
Software Prerequisites
Code Composer Studio™ (CCS) v7.3 or newer
Functional Description
Software Overview
This section describes software components and the corresponding source file.
Application Files
- zcl_genericapp.c/.h: Contains the application’s event loop, device initialization function calls (for timers, peripherals, Nvm, LEDs, Switches, Serial interface), Zigbee stack notifications and all application logic is expected to be defined in this module.
- zcl_genericapp_data.c/.h: Is meant to contain the endpoint, cluster and attribute definitions for the application.
- main.c Defines the application task, the application stack size.
- bdb_interface.h Defines commissioning parameters to be used and configured in the application upon calling commissioning methods (see zclGenericApp_initParameters()).
Example Usage
This application only provides two buttons as the most basic interface to create/join a network and reset the application to factory default state.
Buttons
BTN-1
: Starts the commissioning process.BTN-2
: Reset the application to factory new state.