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
149ec289
Commit
149ec289
authored
Sep 21, 2020
by
陈伟灿
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hzl' into 'master'
【修改内容】1. 去掉重复定义 See merge request chenweican/k-sdk!16
parents
3de8f63f
508cd389
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
11 deletions
+3
-11
platform/zigbee/app/builder/Z3GatewayHost/ZB/kk_device_table_db.c
.../zigbee/app/builder/Z3GatewayHost/ZB/kk_device_table_db.c
+1
-1
platform/zigbee/app/builder/Z3GatewayHost/kk_test.c
platform/zigbee/app/builder/Z3GatewayHost/kk_test.c
+1
-1
platform/zigbee/app/builder/Z3GatewayHost/kk_test.h
platform/zigbee/app/builder/Z3GatewayHost/kk_test.h
+0
-8
platform/zigbee/protocol/zigbee/tool/random/random-linux.c
platform/zigbee/protocol/zigbee/tool/random/random-linux.c
+1
-1
No files found.
platform/zigbee/app/builder/Z3GatewayHost/ZB/kk_device_table_db.c
View file @
149ec289
...
@@ -177,7 +177,7 @@ void kk_device_joined(EmberNodeId node)
...
@@ -177,7 +177,7 @@ void kk_device_joined(EmberNodeId node)
UTIL_LOG_INFO
(
"
\n
********************kk device joined********************
\n
"
);
UTIL_LOG_INFO
(
"
\n
********************kk device joined********************
\n
"
);
if
(
emberAfDeviceTableGetEui64FromNodeId
(
node
,
mac
)
==
false
){
if
(
emberAfDeviceTableGetEui64FromNodeId
(
node
,
mac
)){
deviceTableIndex
=
emberAfDeviceTableGetIndexFromNodeId
(
node
);
deviceTableIndex
=
emberAfDeviceTableGetIndexFromNodeId
(
node
);
if
(
deviceTableIndex
!=
0xffff
){
if
(
deviceTableIndex
!=
0xffff
){
devPtr
=
emberAfDeviceTablePointer
();
devPtr
=
emberAfDeviceTablePointer
();
...
...
platform/zigbee/app/builder/Z3GatewayHost/kk_test.c
View file @
149ec289
...
@@ -201,7 +201,7 @@ void emberAfMainTickCallback(void)
...
@@ -201,7 +201,7 @@ void emberAfMainTickCallback(void)
static
unsigned
int
last_time
;
static
unsigned
int
last_time
;
unsigned
int
time
=
halCommonGetInt32uMillisecondTick
();
unsigned
int
time
=
halCommonGetInt32uMillisecondTick
();
if
((
time
-
last_time
)
>=
5
00
){
if
((
time
-
last_time
)
>=
30
00
){
last_time
=
time
;
last_time
=
time
;
kk_productCode_tick
();
kk_productCode_tick
();
//printf("kk_productCode_tick!\n");
//printf("kk_productCode_tick!\n");
...
...
platform/zigbee/app/builder/Z3GatewayHost/kk_test.h
View file @
149ec289
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#define ZIGBEE_COO_PRODUCT_CODE "2"
#define ZIGBEE_COO_PRODUCT_CODE "2"
#define TEST_PRODUCT_CODE "24"
#define TEST_PRODUCT_CODE "24"
#define GW2CCU_PROTOCOL "tcp"
#define MSG_TOPO_CHANGE_TYPE_STR "changeType"
#define MSG_TOPO_CHANGE_TYPE_STR "changeType"
#define MSG_TOPO_CHANGE_DEVICES_STR "devices"
#define MSG_TOPO_CHANGE_DEVICES_STR "devices"
...
@@ -39,13 +38,6 @@
...
@@ -39,13 +38,6 @@
int
kk_zcl_onoff_set
(
jrpc_context
*
ctx
,
const
char
*
mac
,
unsigned
char
ep
,
void
*
data
);
int
kk_zcl_onoff_set
(
jrpc_context
*
ctx
,
const
char
*
mac
,
unsigned
char
ep
,
void
*
data
);
int
kk_sendData2CCU
(
char
*
data
,
int
len
);
#define RPC_KK_TEST_FUNCTION_TABLE \
#define RPC_KK_TEST_FUNCTION_TABLE \
...
...
platform/zigbee/protocol/zigbee/tool/random/random-linux.c
View file @
149ec289
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
// Our strategy is print out the source for the randomness and hope security
// Our strategy is print out the source for the randomness and hope security
// conscious users will verify this on their own systems.
// conscious users will verify this on their own systems.
static
const
char
randomDevice
[]
=
"/dev/random"
;
static
const
char
randomDevice
[]
=
"/dev/
urandom"
;
//"/dev/
random";
//==============================================================================
//==============================================================================
// Funtions
// Funtions
...
...
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