tree: a1c9c12a8f4aadee6d012a726d7a261cf3fa4527 [path history] [tgz]
  1. af-structs.zapt
  2. att-storage.zapt
  3. attribute-id.zapt
  4. attribute-size.zapt
  5. attribute-type.zapt
  6. call-command-handler-src.zapt
  7. call-command-handler.zapt
  8. callback-stub-src.zapt
  9. callback.zapt
  10. chip-templates.json
  11. client-command-macro.zapt
  12. cluster-id.zapt
  13. command-id.zapt
  14. endpoint_config.zapt
  15. enums.zapt
  16. gen_config.zapt
  17. helper-chip.js
  18. print-cluster.zapt
  19. README.md
src/app/zap-templates/README.md

ZAP generation templates

What is this repo?

This directory contains generation templates for ZAP, ZCL Advanced Platform.

IMPORTANT: Changes to templates will affect all examples.

Useful command for CHIP

Run ZAP with UI to configure endpoints and clusters

cd ./third_party/zap/repo/
node src-script/zap-start.js --logToStdout  --gen ../../../src/app/zap-templates/chip-templates.json

Generate files in headless mode

cd ./third_party/zap/repo/
node src-script/zap-generate.js -z ./zcl-builtin/silabs/zcl.json -g ../../../src/app/zap-templates/chip-templates.json -i <path to *.zap file> -o <Path to /gen/ folder>

For more information please see the documentation under docs/ in ZAP