Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈伟灿
k-sdk
Commits
1df76f11
Commit
1df76f11
authored
Sep 16, 2020
by
陈伟灿
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'yjq' into 'master'
Yjq See merge request chenweican/k-sdk!6
parents
1901a96b
d6475802
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
31 deletions
+30
-31
platform/zigbee/app/builder/Z3GatewayHost/ZB/dev_map_table.json
...rm/zigbee/app/builder/Z3GatewayHost/ZB/dev_map_table.json
+29
-24
platform/zigbee/app/builder/Z3GatewayHost/ZB/kk_device_table_db.c
.../zigbee/app/builder/Z3GatewayHost/ZB/kk_device_table_db.c
+1
-7
No files found.
platform/zigbee/app/builder/Z3GatewayHost/ZB/dev_map_table.json
View file @
1df76f11
...
...
@@ -181,32 +181,37 @@
"productCode"
:
"3057"
,
"productName"
:
"邦德系列.白色声光传感器(KONKE)"
},{
"modleId"
:
""
,
"productCode"
:
""
,
"productName"
:
""
"modleId"
:
"
02020000
"
,
"productCode"
:
"
3067
"
,
"productName"
:
"
智能窗帘电机Z3S(KONKE)(说明:杜亚款)
"
},{
"modleId"
:
""
,
"productCode"
:
""
,
"productName"
:
""
"modleId"
:
"
02020001
"
,
"productCode"
:
"
3068
"
,
"productName"
:
"
威刚系列.智能窗帘电机Z3S(KONKE)(说明:威士达款)
"
},{
"modleId"
:
""
,
"productCode"
:
""
,
"productName"
:
""
"modleId"
:
"
01000002
"
,
"productCode"
:
"
3069
"
,
"productName"
:
"
双路智能灯控模块Z3S(KONKE)
"
},{
"modleId"
:
""
,
"productCode"
:
""
,
"productName"
:
""
"modleId"
:
"04028301"
,
"productCode"
:
"3070"
,
"productName"
:
"传感器模块Z3S(KONKE)"
},{
"modleId"
:
"03300001"
,
"productCode"
:
"3071"
,
"productName"
:
"智能水阀控制器Z3S(KONKE)"
},{
"modleId"
:
"03310001"
,
"productCode"
:
"3072"
,
"productName"
:
"智能燃气机械臂控制器Z3S(KONKE)"
},{
"modleId"
:
"01020001"
,
"productCode"
:
"3073"
,
"productName"
:
"幻彩灯带控制器Z3S(KONKE)"
},{
"modleId"
:
"00648631"
,
"productCode"
:
"3077"
,
"productName"
:
"多功能面板(亚运村临时项目)"
}
]
}
智能窗帘电机Z
3
S(KONKE)
(说明:杜亚款)
0
x
02020000
3067
威刚系列.智能窗帘电机Z
3
S(KONKE)
(说明:威士达款)
0
x
02020001
3068
双路智能灯控模块Z
3
S(KONKE)
0
x
01000002
3069
传感器模块Z
3
S(KONKE)
0
x
04028301
3070
智能水阀控制器Z
3
S(KONKE)
0
x
03300001
3071
智能燃气机械臂控制器Z
3
S(KONKE)
0
x
03310001
3072
幻彩灯带控制器Z
3
S(KONKE)
0
x
01020001
3073
485
转ZigBee模块Z
3
S(KONKE)
3074
红外遥控器Z
3
S(亚运村临时项目)
0
x
00800000
(透传)
1043
多功能面板(亚运村临时项目)
0
x
00648631
3077
platform/zigbee/app/builder/Z3GatewayHost/ZB/kk_device_table_db.c
View file @
1df76f11
...
...
@@ -521,7 +521,7 @@ void kk_device_config_load_from_db(void)
kk_device_table_s
*
ptr
=
kk_zb_device_table
;
while
(
ptr
!=
NULL
){
if
(
ptr
->
productCode
!=
NULL
){
if
(
ptr
->
productCode
!=
NULL
&&
strlen
(
ptr
->
productCode
)
!=
0
){
kk_device_config_map_add
(
ptr
->
productCode
);
}
ptr
=
ptr
->
next
;
...
...
@@ -538,9 +538,3 @@ void emberAfPluginDeviceTableInitialized(void)
kk_device_config_load_from_db
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment