Skip to content

Commit 929919c

Browse files
committed
Merge branch 'master' of https://github.com/256dpi/arduino-mqtt
2 parents 10fa8c9 + 794a2a5 commit 929919c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ env:
33
global:
44
- IDE_VERSION=1.8.7
55
matrix:
6-
- EXAMPLE="AdafruitHuzzahESP8266" BOARD="esp8266:esp8266:huzzah:FlashSize=4M3M,CpuFrequency=80"
7-
- EXAMPLE="AdafruitHuzzahESP8266Secure" BOARD="esp8266:esp8266:huzzah:FlashSize=4M3M,CpuFrequency=80"
6+
- EXAMPLE="AdafruitHuzzahESP8266" BOARD="esp8266:esp8266:huzzah:eesz=4M3M,xtal=80"
7+
- EXAMPLE="AdafruitHuzzahESP8266Secure" BOARD="esp8266:esp8266:huzzah:eesz=4M3M,xtal=80"
88
- EXAMPLE="ArduinoEthernetShield" BOARD="arduino:avr:uno"
99
- EXAMPLE="ArduinoMKRGSM1400" BOARD="arduino:samd:mkrgsm1400"
1010
- EXAMPLE="ArduinoMKRGSM1400Secure" BOARD="arduino:samd:mkrgsm1400"

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=MQTT
2-
version=2.4.1
2+
version=2.4.2
33
author=Joel Gaehwiler <joel.gaehwiler@gmail.com>
44
maintainer=Joel Gaehwiler <joel.gaehwiler@gmail.com>
55
sentence=MQTT library for Arduino

src/MQTTClient.h

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ class MQTTClient {
7474

7575
void setOptions(int keepAlive, bool cleanSession, int timeout);
7676

77-
bool connect(const char clientId[], bool skip = false) { return this->connect(clientId, nullptr, nullptr); }
78-
bool connect(const char clientId[], const char username[], bool skip = false) { return this->connect(clientId, username, nullptr); }
77+
bool connect(const char clientId[], bool skip = false) { return this->connect(clientId, nullptr, nullptr, skip); }
78+
bool connect(const char clientId[], const char username[], bool skip = false) { return this->connect(clientId, username, nullptr, skip); }
7979
bool connect(const char clientId[], const char username[], const char password[], bool skip = false);
8080

8181
bool publish(const String &topic) { return this->publish(topic.c_str(), ""); }

0 commit comments

Comments
 (0)