UNPKG

zigbee-shepherd

Version:

An open source ZigBee gateway solution with node.js.

14 lines (11 loc) 299 B
/* jshint node: true */ "use strict" const { zclFactory } = require("zcl-packet") module.exports = zclId => { const { frame, parse, header } = zclFactory(zclId) return { frame, parse, header // TODO: Notify when frameType or other values is weird, don't just silently eat it } }