zstack-constants

0.2.0 • Public • Published

zstack-constants

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

Travis branch npm npm


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.

Package Sidebar

Install

npm i zstack-constants

Weekly Downloads

23

Version

0.2.0

License

MIT

Last publish

Collaborators

  • simenkid