forked from project-chip/zap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapack.json
More file actions
114 lines (114 loc) · 4.88 KB
/
apack.json
File metadata and controls
114 lines (114 loc) · 4.88 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"id": "zclConfigurator",
"label": "ZCL Advanced Platform (ZAP)",
"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": 107,
"uc.triggerExtension": "zap",
"uc.sdkProvidedProperties": "zcl.matterZclJsonFile,zcl.matterTemplateJsonFile,zcl.zigbeeZclJsonFile,zcl.zigbeeTemplateJsonFile",
"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.aarch64": {
"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.aarch64": {
"exe": "zap-cli",
"optional": true
},
"zap-cli": {
"engine": "node",
"optional": true,
"exe": "src-script/zap-start.js"
}
},
"ui": {
"launchItem": {
"id": "ZAP",
"category": "tools",
"label": "ZCL Advanced Platform",
"icon": "zap.png",
"launchUiFunction": "launchZAP",
"toolTip": "ZCL Advanced Platform"
}
},
"function": {
"launchZAP": {
"cmd": "$(zap)"
},
"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} --packageMatch fuzzy [ --zcl ${sdkRoot}/app/zcl/zcl-zap.json | --zcl ${zcl.zigbeeZclJsonFile} ] [ --zcl ${sdkRoot}/extension/matter_extension/src/app/zap-templates/zcl/zcl.json | --zcl ${zcl.matterZclJsonFile} ] [ --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json | --generationTemplate ${zcl.zigbeeTemplateJsonFile} ] [ --generationTemplate ${sdkRoot}/extension/matter_extension/src/app/zap-templates/app-templates.json | --generationTemplate ${zcl.matterTemplateJsonFile} ] --in ${contentFolder} --noLoadingFailure --appendGenerationSubdirectory --upgradeZapFile"
},
"uc_upgrade": {
"cmd": "$(zap-cli) upgrade --results ${results} -d ${tempContentFolder} [ --zcl ${sdkRoot}/app/zcl/zcl-zap.json | --zcl ${zcl.zigbeeZclJsonFile} ] [ --zcl ${sdkRoot}/extension/matter_extension/src/app/zap-templates/zcl/zcl.json | --zcl ${zcl.matterZclJsonFile} ] [ --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json | --generationTemplate ${zcl.zigbeeTemplateJsonFile} ] [ --generationTemplate ${sdkRoot}/extension/matter_extension/src/app/zap-templates/app-templates.json | --generationTemplate ${zcl.matterTemplateJsonFile} ] --noLoadingFailure"
},
"zapHelp": {
"cmd": "$(zap) --help"
},
"zapSelfcheck": {
"cmd": "$(zap) selfCheck"
},
"zapServer": {
"cmd": "$(zap) server --reuseZapInstance --packageMatch fuzzy [ --zcl ${sdkRoot}/app/zcl/zcl-zap.json | --zcl ${zcl.zigbeeZclJsonFile} ] [ --zcl ${sdkRoot}/extension/matter_extension/src/app/zap-templates/zcl/zcl.json | --zcl ${zcl.matterZclJsonFile} ] [ --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json | --generationTemplate ${zcl.zigbeeTemplateJsonFile} ] [ --generationTemplate ${sdkRoot}/extension/matter_extension/src/app/zap-templates/app-templates.json | --generationTemplate ${zcl.matterTemplateJsonFile} ] --studioHttpPort ${studioHttpPort} --noLoadingFailure --appendGenerationSubdirectory"
},
"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 | --zcl ${zcl.zigbeeZclJsonFile} ]"
},
"zapRegenSdk": {
"cmd": "$(zap) regenerateSdk --sdk ${sdkJsonFile}"
},
"zapIscConvert": {
"cmd": "$(zap) convert --noUi --noServer --noZapFileLog [ --zcl ${sdkRoot}/app/zcl/zcl-zap.json | --zcl ${zcl.zigbeeZclJsonFile} ] --out ${outFile} ${inFile}"
},
"zapIscOpen": {
"cmd": "$(zap) --noServer [ --zcl ${sdkRoot}/app/zcl/zcl-zap.json | --zcl ${zcl.zigbeeZclJsonFile} ] [ --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json | --generationTemplate ${zcl.zigbeeTemplateJsonFile} ] ${inFile}"
}
}
}