forked from project-chip/zap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apack.info
86 lines (68 loc) · 1.71 KB
/
apack.info
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
# 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:8
featureLevel=1
id=zclConfigurator
# Trigger file extension. No period.
uc.triggerExtension=zap
executable(zap:win32.x86_64) {
exe=zap.exe
optional=true
}
executable(zap:linux.x86_64) {
exe=zap
optional=true
}
executable(zap:macosx.x86_64) {
exe=zap.app/Contents/MacOS/zap
optional=true
}
executable(zap_regen:win32.x86_64) {
exe=zap.exe
optional=true
}
executable(zap_regen:linux.x86_64) {
exe=zap
optional=true
}
executable(zap_regen:macosx.x86_64) {
exe=zap.app/Contents/MacOS/zap
optional=true
}
executable(zap) {
engine=node
optional=true
exe=src-script/zap-start.js
}
executable(zap_regen) {
engine=node
optional=true
exe=src-script/zap-generate.js
}
function(ui:uc_cli) {
cmd=$(zap)
}
function(selfcheck:uc_cli) {
cmd=$(zap) selfCheck
}
function(version:uc_cli) {
cmd=$(zap) --version
}
function(uc_generate) {
cmd=$(zap_regen) 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}
}
function(zapHelp) {
cmd=$(zap) --help
}
function(zapSelfcheck) {
cmd=$(zap) selfCheck
}
function(zapServer) {
cmd=$(zap) --noUi --showUrl --zcl ${sdkRoot}/app/zcl/zcl-zap.json --generationTemplate ${sdkRoot}/protocol/zigbee/app/framework/gen-template/gen-templates.json --studioHttpPort ${studioHttpPort}
}
function(zapFull) {
cmd=$(zap) --showUrl --zcl ${sdkRoot}/app/zcl/zcl-zap.json
}