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
2a977c46
Commit
2a977c46
authored
Aug 31, 2020
by
黄振令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【内容修改】如果tcp还没创建,等待几秒再发
【提交人】huang.zhenling
parent
34e7c939
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
common/api/tcp_channel.c
common/api/tcp_channel.c
+1
-1
platform/zigbee/app/builder/Z3GatewayHost/libapi_com.so
platform/zigbee/app/builder/Z3GatewayHost/libapi_com.so
+0
-0
No files found.
common/api/tcp_channel.c
View file @
2a977c46
...
...
@@ -639,7 +639,7 @@ static void loop_tcp_client_thread(void *arg){
int
kk_tcp_client_send
(
char
*
data
,
int
len
){
int
ret
=
0
;
int
cnt
=
0
;
if
(
data
!=
NULL
&&
g_client_ctrl
.
isConnect
==
1
){
if
(
data
!=
NULL
){
while
(
g_client_ctrl
.
sd
==
-
1
&&
cnt
<
5
){
printf
(
"[%s] tcp don't connect, sleep 1s !!!!
\n
"
,
__FUNCTION__
);
sleep
(
1
);
...
...
platform/zigbee/app/builder/Z3GatewayHost/libapi_com.so
View file @
2a977c46
No preview for this file type
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