Skip to content
代码片段 群组 项目
用户头像
Boris Zbarsky 编辑于
We treated things with neither "introduced" nor "provisional" annotations as
provisional in availabilityHelper(), but isProvisional() returned false for
them.  This could lead us to generate non-provisional code (conditioned on
isProvisional()) that would try to call into things with provisional
availability, which would fail to compile.

The fix is to make isProvisional the source of truth for whether things are
provisional, move the "no introduced annotation" check into isProvisional, and
factor out the "have provisional annotation" logic so we can keep having the
warning when we take the "provisional because not otherwise annotated" codepath.
8f00f925
历史

ZCL Advanced Platform

ZCL Advanced Platform

Build and release packages Zigbee code regeneration Matter code regeneration

What is ZAP?

ZAP is a generic generation engine and user interface for applications and libraries based on Zigbee Cluster Library, the specification developed by the Connectivity Standards 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 setup

Node Version

  • Node LTS: 18.16.0

Prebuilt binaries

On the release page, there are two flavors of prebuilt binaries.

  • Official release: Verified builds with dedicated Zigbee test suites. The release name format is vYYYY.DD.MM
  • Pre-release: Builds with the latest features and are NOT verified with dedicated Zigbee test suites. The release name format is vYYYY.DD.MM-nightly

Source code

Refer to development instructions for more details.

License

This software is licensed under Apache 2.0 license.

Detailed Documentation