Exports TI Z-Stack Constants of AF, SYS, ZDO, MAC, UTIL, SAPI, and DBG layers.
Please visit the Wiki.
zstack-constants exports all constants used in TI's zigbee z-stack.
$ npm install zstack-constants --save
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
Licensed under MIT.