Skip to content

Commit

Permalink
[libmqttc] cleanup api
Browse files Browse the repository at this point in the history
  • Loading branch information
gozfree committed Sep 12, 2021
1 parent fd8ec68 commit c07f9e7
Show file tree
Hide file tree
Showing 7 changed files with 2,270 additions and 2,547 deletions.
Empty file modified gear-lib/libmqttc/MQTTFreeRTOS.c
100755 → 100644
Empty file.
Empty file modified gear-lib/libmqttc/MQTTFreeRTOS.h
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion gear-lib/libmqttc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ CFLAGS := -g -Wall -fPIC
LTYPE := debug
endif
#-Werror
CFLAGS += -DLINUX_SO
CFLAGS += -DLINUX_SO -DMQTT_CLIENT -DMQTT_SERVER

ifeq ($(OUTPUT),/usr/local)
OUTLIBPATH :=/usr/local
Expand Down
3 changes: 3 additions & 0 deletions gear-lib/libmqttc/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## libmqttc
This is a simple mqtt client library based on paho.mqtt(29ab2aa).

1.mosquitto_sub -h localhost -t "will topic" -P "testpassword" -u "testuser" -v
2.test_libmqttc

Loading

0 comments on commit c07f9e7

Please sign in to comment.