zstack-constants
v0.2.0
Published
Exports TI Z-Stack Constants of AF, SYS, ZDO, MAC, UTIL, SAPI, and DBG layers.
Downloads
90
Maintainers
Readme
zstack-constants
Exports TI Z-Stack Constants of AF, SYS, ZDO, MAC, UTIL, SAPI, and DBG layers.
Documentation
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.