Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
car-controlserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenzhongjian
car-controlserver
Commits
263b27a2
Commit
263b27a2
authored
Dec 25, 2024
by
957dd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update mqtt
parent
478d7e6b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
7 deletions
+1
-7
log.txt
log/log.txt
+0
-0
main
main
+0
-0
main.c
main.c
+1
-7
No files found.
log/log.txt
View file @
263b27a2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
main
View file @
263b27a2
No preview for this file type
main.c
View file @
263b27a2
...
...
@@ -84,14 +84,8 @@ void *Mqtt_onnect(void *arg)
mqtt_init
();
//mqtt初始化
mqtt_create
(
mosq
);
//创建mqtt客户端
//mqtt_wirte();//mqtt心跳首次发送
if
(
mqtt_create
(
mosq
)
!=-
1
)
{
mqtt_create
(
mosq
)
;
mqtt_cycle
(
mosq
);
}
mqtt_clean
(
mosq
);
return
NULL
;
}
...
...
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