Zigbee Network Processor (ZNP) Example App
Introduction
This document discusses how to use the Zigbee Network Processor (ZNP) Example Application. ZNP Application is an example that provides all the Zigbee functionality through a serial interface, this solution allows the Zigbee application run on an external microcontroller while ZNP handles all the Zigbee protocol tasks and leave the resources of the application controller free to handle the application.
Hardware Prerequisites
Software Prerequisites
Code Composer Studio™ (CCS) v7.3 or newer
- A host application capable of sending ZNP commands, such as:
- Z-Tool (provided with Z-Stack, core v2.7.1)
Example Usage
ZNP application provides the fuctionality of a Zigbee core stack through serial APIs described in the Z-Stack Monitor and Test API document. This API provides its functionality as synchronous request, asynchronous request and callbacks mostly to allow a complete interaction with the Zigbee network. ZNP application can be tested by using Z-Tool desktop application (v2.7.1), which provides the full interface to the Monitor and Test (MT) commands to be send/receive from/to ZNP device. ZNP application can also be used as a testing tool to validate behavior to certain commands or interact with Zigbee applications in development or deployed in the field. For further details on Z-Tool usage, refer to the Z-Tool Help document.
Serial interface
- Open a serial session (e.g.
PuTTY
, etc.) to the appropriate COM port.- The COM port can be determined via Device Manager in Windows or via
ls /dev/tty*
in Linux.
- The COM port can be determined via Device Manager in Windows or via
The connection will have the following settings:
Baud-rate: 115200
Data bits: 8
Stop bits: 1
Parity: None
Flow Control: None