Skip to content
/ zap Public
forked fromproject-chip/zap

ZAP is Zigbee Cluster Library configuration tool and generator. It allows users to configure their ZCL application using web-like interface and then generate the required artifacts for this application, based upon the templates inside a given ZCL SDK.

License

Notifications You must be signed in to change notification settings

pedramk/zap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Repository files navigation

ZCL Advanced Platform

ZCL Advanced Platform

Generation and back-end tests Cypress UI tests SonarCloud scan Build and release

What is ZAP?

ZAP is a generic generation engine and user interface for applications and libraries based onZigbee Cluster Library,the specification developed by theZigbee Alliance.

ZAP allows you to perform the following:

  • perform SDK-specific customized generation of all global artifacts (constants, types, IDs, etc) based on the ZCL specification
  • provide UI for the end-user to select specific application configuration (clusters, attributes, commands, etc.)
  • perform SDK-specific customized generation of all user selected configuration artifacts (application configuration, endpoint configuration, etc) based on ZCL specification and customer-provided application configuration.

ZAP is a generic templating engine. Examples are provided for how to generate artifacts for the C language environment, but one could easily add new templates for other language environments, such as C++, java, node.js, python or any other.

Quick instructions

This is a node.js application. In order to run it, you need to havenpminstalled. The best way is to simply download latest install ofnodeand you will get npm. If you have an older version of node installed on your workstation, it may give you trouble, particularly if it's very old. So make sure you have decently recent (v12.x or v14.x should work as of 2021) version of node available. Runnode --versionto check what version is picked up.

Once you have a desired version of node, you can run:

npm ci

which will download install all the project dependencies. It is not uncommon to run into native library compilation problems at this point. There are varioussrc-script/install-*scripts for different platforms. Please refer toFAQfor additional details of which script to run on different platforms and then rerunnpm ci.

Then run:

npm run zap

Refer tomore detailed instructionsfor more details.

License

This software is licensed underApache 2.0 license.

Detailed Documentation

About

ZAP is Zigbee Cluster Library configuration tool and generator. It allows users to configure their ZCL application using web-like interface and then generate the required artifacts for this application, based upon the templates inside a given ZCL SDK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ZAP 47.6%
  • JavaScript 45.8%
  • Vue 4.2%
  • TypeScript 2.2%
  • Shell 0.1%
  • Sass 0.1%