forked from project-chip/zap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapack.info.dist
44 lines (34 loc) · 1.18 KB
/
apack.info.dist
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
# Adapter pack file for Studio.
#
label=Zigbee Advanced Platform
description=Graphical configuration tool for application and libraries based on Zigbee Cluster Library.
path=.,node_modules/.bin/,ZAP.app/Contents/MacOS
requiredFeatureLevel=apack.core:7
featureLevel=1
id=zclConfigurator
# Trigger file extension. No period.
uc.triggerExtension=zap
executable(zap:win32.x86_64) {
exe=zap.exe
}
executable(zap:linux.x86_64) {
exe=zap
}
executable(zap:macosx.x86_64) {
exe=zap.app/Contents/MacOS/zap
}
function(uc_generate) {
cmd=$(zap) generate --noUi --noServer -o ${generationOutput} --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.json --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json ${contentFolder}
}
function(zapHelp) {
cmd=$(zap) --help
}
function(zapSelfcheck) {
cmd=$(zap) selfCheck
}
function(zapServer) {
cmd=$(zap) --noUi --showUrl --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.json --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json --studioHttpPort ${studioHttpPort}
}
function(zapFull) {
cmd=$(zap) --showUrl --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.json
}