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+
1102.7
211 * Fix remaining-length handling to prevent buffer overrun
312 * 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
22
33Permission is hereby granted, free of charge, to any person obtaining
44a 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
1717 is configurable via ` MQTT_MAX_PACKET_SIZE ` in ` PubSubClient.h ` or can be changed
1818 by calling ` PubSubClient::setBufferSize(size) ` .
1919 - 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) ` .
2122 - The client uses MQTT 3.1.1 by default. It can be changed to use MQTT 3.1 by
2223 changing value of ` MQTT_VERSION ` in ` PubSubClient.h ` .
2324
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ setServer KEYWORD2
2727setCallback KEYWORD2
2828setClient KEYWORD2
2929setStream KEYWORD2
30+ setKeepAlive KEYWORD2
31+ setBufferSize KEYWORD2
32+ setSocketTimeout KEYWORD2
3033
3134#######################################
3235# Constants (LITERAL1)
Original file line number Diff line number Diff line change 66 "type" : " git" ,
77 "url" : " https://github.com/knolleary/pubsubclient.git"
88 },
9- "version" : " 2.7 " ,
9+ "version" : " 2.8 " ,
1010 "exclude" : " tests" ,
1111 "examples" : " examples/*/*.ino" ,
1212 "frameworks" : " arduino" ,
Original file line number Diff line number Diff line change 11name =PubSubClient
2- version =2.7
2+ version =2.8
33author =Nick O' Leary <nick.oleary@gmail.com>
44maintainer=Nick O' Leary <nick.oleary@gmail.com>
55sentence =A client library for MQTT messaging.
You can’t perform that action at this time.
0 commit comments