File tree Expand file tree Collapse file tree 6 files changed +17
-4
lines changed Expand file tree Collapse file tree 6 files changed +17
-4
lines changed Original file line number Diff line number Diff line change
1
+ 2.8
2
+ * Add setBufferSize() to override MQTT_MAX_PACKET_SIZE
3
+ * Add setKeepAlive() to override MQTT_KEEPALIVE
4
+ * Add setSocketTimeout() to overide MQTT_SOCKET_TIMEOUT
5
+ * Added check to prevent subscribe/unsubscribe to empty topics
6
+ * Declare wifi mode prior to connect in ESP example
7
+ * Use `strnlen` to avoid overruns
8
+ * Support pre-connected Client objects
9
+
1
10
2.7
2
11
* Fix remaining-length handling to prevent buffer overrun
3
12
* Add large-payload API - beginPublish/write/publish/endPublish
Original file line number Diff line number Diff line change 1
- Copyright (c) 2008-2015 Nicholas O'Leary
1
+ Copyright (c) 2008-2020 Nicholas O'Leary
2
2
3
3
Permission is hereby granted, free of charge, to any person obtaining
4
4
a copy of this software and associated documentation files (the
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ Full API documentation is available here: https://pubsubclient.knolleary.net
17
17
is configurable via ` MQTT_MAX_PACKET_SIZE ` in ` PubSubClient.h ` or can be changed
18
18
by calling ` PubSubClient::setBufferSize(size) ` .
19
19
- The keepalive interval is set to 15 seconds by default. This is configurable
20
- via ` MQTT_KEEPALIVE ` in ` PubSubClient.h ` .
20
+ via ` MQTT_KEEPALIVE ` in ` PubSubClient.h ` or can be changed by calling
21
+ ` PubSubClient::setKeepAlive(keepAlive) ` .
21
22
- The client uses MQTT 3.1.1 by default. It can be changed to use MQTT 3.1 by
22
23
changing value of ` MQTT_VERSION ` in ` PubSubClient.h ` .
23
24
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ setServer KEYWORD2
27
27
setCallback KEYWORD2
28
28
setClient KEYWORD2
29
29
setStream KEYWORD2
30
+ setKeepAlive KEYWORD2
31
+ setBufferSize KEYWORD2
32
+ setSocketTimeout KEYWORD2
30
33
31
34
#######################################
32
35
# Constants (LITERAL1)
Original file line number Diff line number Diff line change 6
6
"type" : " git" ,
7
7
"url" : " https://github.com/knolleary/pubsubclient.git"
8
8
},
9
- "version" : " 2.7 " ,
9
+ "version" : " 2.8 " ,
10
10
"exclude" : " tests" ,
11
11
"examples" : " examples/*/*.ino" ,
12
12
"frameworks" : " arduino" ,
Original file line number Diff line number Diff line change 1
1
name =PubSubClient
2
- version =2.7
2
+ version =2.8
3
3
author =Nick O' Leary <nick.oleary@gmail.com>
4
4
maintainer=Nick O' Leary <nick.oleary@gmail.com>
5
5
sentence =A client library for MQTT messaging.
You can’t perform that action at this time.
0 commit comments