forked from project-chip/zap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apack.json
75 lines (75 loc) · 2.57 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
{
"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": 81,
"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": {
"engine": "node",
"optional": true,
"exe": "src-script/zap-start.js"
}
},
"function": {
"ui:uc_cli": {
"cmd": "$(zap)"
},
"selfcheck:uc_cli": {
"cmd": "$(zap) selfCheck"
},
"version:uc_cli": {
"cmd": "$(zap) --version"
},
"uc_generate": {
"cmd": "$(zap) 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) 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}"
}
}
}