forked from project-chip/zap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apack.json
100 lines (100 loc) · 3.13 KB
/
apack.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"id": "zclConfigurator",
"label": "Zigbee Cluster Configurator",
"description": "Graphical configuration tool for application and libraries based on Zigbee Cluster Library.",
"path": [".", "node_modules/.bin/", "ZAP.app/Contents/MacOS"],
"requiredFeatureLevel": "apack.core:9",
"featureLevel": 83,
"uc.triggerExtension": "zap",
"executable": {
"zap:win32.x86_64": {
"exe": "zap.exe",
"optional": true
},
"zap:linux.x86_64": {
"exe": "zap",
"optional": true
},
"zap:macosx.x86_64": {
"exe": "zap.app/Contents/MacOS/zap",
"optional": true
},
"zap:macosx.ARM64": {
"exe": "zap.app/Contents/MacOS/zap",
"optional": true
},
"zap": {
"engine": "node",
"optional": true,
"exe": "src-script/zap-start.js"
},
"zap-cli:win32.x86_64": {
"exe": "zap-cli.exe",
"optional": true
},
"zap-cli:linux.x86_64": {
"exe": "zap-cli",
"optional": true
},
"zap-cli:macosx.x86_64": {
"exe": "zap-cli",
"optional": true
},
"zap-cli:macosx.ARM64": {
"exe": "zap-cli",
"optional": true
},
"zap-cli": {
"engine": "node",
"optional": true,
"exe": "src-script/zap-start.js"
}
},
"function": {
"ui:uc_cli": {
"cmd": "$(zap)"
},
"selfcheck:uc_cli": {
"cmd": "$(zap-cli) selfCheck"
},
"version:uc_cli": {
"cmd": "$(zap-cli) --version"
},
"uc_generate": {
"cmd": "$(zap-cli) generate --noUi --noServer -o ${generationOutput} --zcl ${sdkRoot}/app/zcl/zcl-zap.json --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json --in ${contentFolder}"
},
"uc_upgrade": {
"cmd": "$(zap-cli) convert --noUi --noServer -o ${tempContentFolder}/zcl_config.zap --zcl ${sdkRoot}/app/zcl/zcl-zap.json --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json ${tempContentFolder}/zcl_config.zap --results ${results}"
},
"zapHelp": {
"cmd": "$(zap) --help"
},
"zapSelfcheck": {
"cmd": "$(zap) selfCheck"
},
"zapServer": {
"cmd": "$(zap) server --reuseZapInstance --zcl ${sdkRoot}/app/zcl/zcl-zap.json --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json --studioHttpPort ${studioHttpPort}"
},
"zapStop": {
"cmd": "$(zap) stop --reuseZapInstance"
},
"zapStatus": {
"cmd": "$(zap) status --reuseZapInstance"
},
"zapServerNoSdk": {
"cmd": "$(zap) server --reuseZapInstance --studioHttpPort ${studioHttpPort}"
},
"zapFull": {
"cmd": "$(zap) --showUrl --zcl ${sdkRoot}/app/zcl/zcl-zap.json"
},
"zapRegenSdk": {
"cmd": "$(zap) regenerateSdk --sdk ${sdkJsonFile}"
},
"zapIscConvert": {
"cmd": "$(zap) convert --noUi --noServer --noZapFileLog --zcl ${sdkRoot}/app/zcl/zcl-zap.json --out ${outFile} ${inFile}"
},
"zapIscOpen": {
"cmd": "$(zap) --noServer --zcl ${sdkRoot}/app/zcl/zcl-zap.json --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-teplates.json ${inFile}"
}
}
}