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
2ad424a3
Commit
2ad424a3
authored
Aug 31, 2020
by
尹佳钦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复复位问题
parent
97630633
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
platform/zigbee/app/builder/Z3GatewayHost/kk_test.c
platform/zigbee/app/builder/Z3GatewayHost/kk_test.c
+6
-0
No files found.
platform/zigbee/app/builder/Z3GatewayHost/kk_test.c
View file @
2ad424a3
...
...
@@ -89,6 +89,9 @@ int kk_sendData2CCU(char* data, int len){
}
}
//void kk_dispatch_report_attribute(EmberEUI64 eui64, uint8_t EP, EmberAfClusterId clusterId, EmberAfAttributeId attributeId, uint8_t dataType, uint8_t len, uint8_t * data);
void
kk_rpc_reportDevices
(
EmberEUI64
mac
)
{
cJSON
*
devicesJson
;
...
...
@@ -646,6 +649,9 @@ void kk_dispatch_report_attribute(EmberEUI64 eui64,
for
(
i
=
0
;
i
<
PROPERTIES_MAX_NUM
;
i
++
){
device_item
=
&
g_tsl_zigbee_map
[
i
];
report_item
=
&
device_item
->
zigbee_ctrl
;
if
(
device_item
==
NULL
||
report_item
==
NULL
)
return
;
for
(
j
=
0
;
j
<
device_item
->
num
;
j
++
){
if
(
report_item
[
j
].
clusterId
==
clusterId
&&
report_item
[
j
].
attributeId
==
attributeId
){
...
...
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