0.2.0 • Published 7 years ago

zstack-constants v0.2.0

Weekly downloads
60
License
MIT
Repository
github
Last release
7 years ago

zstack-constants

Exports TI Z-Stack Constants of AF, SYS, ZDO, MAC, UTIL, SAPI, and DBG layers.

Travis branch npm npm

Please visit the Wiki.

Overview

zstack-constants exports all constants used in TI's zigbee z-stack.

Installation

$ npm install zstack-constants --save

Usage

Here is an example. See Usage on the Wiki for details.

// Access constants in adcResolution and gpioOperation namespaces under SYS layer
console.log(ZSC.SYS.adcResolution.BIT_10);  // 1
console.log(ZSC.SYS.gpioOperation.TOGGLE);  // 4

License

Licensed under MIT.