forked from project-chip/zap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapack.info
42 lines (33 loc) · 1.15 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
# 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) {
engine=node
exe=src-script/zap-start.js
}
executable(zap_regen) {
engine=node
exe=src-script/zap-generate.js
}
function(uc_generate) {
cmd=$(zap_regen) --out ${generationOutput} --zcl ${sdkRoot}/protocol/zigbee/tool/appbuilder/zcl.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}/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
}