Zigbee Router OTA Server Example App
- Introduction
- Hardware Prerequisites
- Software Prerequisites
- Configuration With SysConfig
- Example Usage
Introduction
This document only discusses how to commission the OTA server application into a network, as details of the OTA upgrade process is fully described in the Z-Stack OTA Upgrade User's Guide, which is available in the SDK documentation.
Hardware Prerequisites
- The Launchpad which is used by this particular project.
Software Prerequisites
Code Composer Studio™ (CCS) v9.1 or newer
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 Z-Stack settings are stored in non-volatile storage, and Z-Stack 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 sample application is meant to be used along with OTAServer desktop application provided in Z-Stack SDK in tools folder. The serial interface must be configured with the following serial parameters:
Baud-rate: 115200
Data bits: 8
Stop bits: 1
Parity: None
Flow Control: CTS/RST
To commission the device into the network press button 1 (BTN-1
) or use the interface provided in the desktop application. To fully run an OTA upgrade process, a Client Device is also required. Further details on how to setup the devices, generate the binaries, use the desktop application and complete a full OTA upgrade are described in the Z-Stack OTA Upgrade User's Guide, which is available in the SDK documentation.