zap
zap copied to clipboard
ZAP stands for ZCL Advanced Platform. It is used to configure clusters, attributes and other entities for Matter and ZigbeePro applications.
See PR (https://github.com/project-chip/connectedhomeip/pull/36458) for details and slack discussion: https://csamembers.slack.com/archives/C01B01GH64E/p1731349802658659 It seems like a change in `` caused unwanted changes in .matter after a zap regen. If we change the name...
According to the Matter-1.4 Device Library Specification (also in the 1.3 version) the attribute "OnLevel" is not required for the "Dimmable Light" device type: It is not listed in the...
Adds support for `typedef` in zap, supporting things like defining a `VideoStreamID` as a `uint16`, see the camera spec: https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/10004 See also Matter SDK template changes @ https://github.com/project-chip/connectedhomeip/pull/36124 This should...
ZAP can't generate correct default values for string type attributes with a numeric value assigned
ZAP can't generate correct default values for string type attributes with a numeric value assigned ### Example ZAP content: ``` { "name": "UserActiveModeTriggerInstruction", "code": 7, "mfgCode": null, "side": "server", "type":...
zap-cli is in the ZIP released file but not part of the released RPM package. ``` rpm -ql zap /opt/zap/LICENSE.electron.txt /opt/zap/LICENSES.chromium.html /opt/zap/apack.json /opt/zap/chrome-sandbox ... /opt/zap/vk_swiftshader_icd.json /opt/zap/zap /usr/lib/.build-id ... ```
When running zap-cli for the first time on a given machine, concurrently, we have a decent chance of zap-cli failing. Related to: https://github.com/vercel/pkg/issues/1829
We could not find a way to set an attribute default value to null in the xml. A good assumption would be : if isNullable is true and no default...
`selectEndpointClusterAttributes` uses `clusterId` while `selectAllAttributesBySide` uses `clusterRef`. We should be consistent.
Sometimes ZAP generation just passes without any generated files and errors. Find a suitable way to catch these errors in our all helper functions or catch these errors in a...
``zcl_command_arguments` has an `isArray` property and `type` contains the array element type. But zcl_attributes iterators does not expose an `isArray` property and `entryType` contains the array element type, while `type`...