Skip to content
代码片段 群组 项目
提交 a4c7df9b 编辑于 作者: Timotej Ecimovic's avatar Timotej Ecimovic
浏览文件

Add another test bucket.

上级 b8466bcf
No related branches found
No related tags found
无相关合并请求
......@@ -36,6 +36,7 @@
"gen": "node src-script/zap-generate.js -z ./zcl-builtin/silabs/zcl.json -g ./test/gen-template/zigbee/gen-templates.json -i ./test/resource/three-endpoint-device.zap -o ./tmp",
"gen2": "node src-script/zap-generate.js -z ./zcl-builtin/silabs/zcl.json -g ./test/gen-template/zigbee/gen-templates.json -i ./test/resource/generation-test-file-1.zap -o ./tmp",
"gen3": "node src-script/zap-generate.js -z ./zcl-builtin/dotdot/library.xml -g ./test/gen-template/zigbee/gen-templates.json -i ./test/resource/generation-test-file-1.zap -o ./tmp",
"gendotdot": "node src-script/zap-generate.js -z ./zcl-builtin/dotdot/library.xml -g ./test/gen-template/dotdot/dotdot-templates.json -o ./tmp",
"analyze": "node src-script/zap-start.js analyze -z ./zcl-builtin/silabs/zcl.json -g ./test/gen-template/zigbee/gen-templates.json ./test/resource/three-endpoint-device.zap -o ./tmp",
"genchip": "node src-script/zap-generate.js -z ./zcl-builtin/silabs/zcl.json -g ./test/gen-template/chip/gen-test.json -i ./test/resource/chip/chip_test.zap -o ./tmp",
"pack": "node src-script/build-spa.js && electron-builder --dir",
......
{
"name": "UIC Test templates",
"version": "test-dotdot-v1",
"requiredFeatureLevel": 2,
"templates": [
{
"path": "test1.zapt",
"name": "DotDot test 1",
"output": "test1.h"
}
]
}
{{#zcl_commands}}
typedef void (*{{dotdot_prefix}}_{{parent.label}}_{{label}}_callback_t)(
{{#zcl_command_arguments}}
{{#first}}
const dotdot_unid_t unid,
const dotdot_endpoint_id_t endpoint,
{{/first}}
{{asUnderlyingType type}} {{label}}
{{else}}
const dotdot_unid_t unid,
const dotdot_endpoint_id_t endpoint
{{/zcl_command_arguments}}
);
{{/zcl_commands}}
typedef struct {
{{#zcl_attributes}}
{{asUnderlyingType type}} {{label}};
{{/zcl_attributes}}
} {{dotdot_prefix}}_{{label}}_state_t;
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册