Skip to content

Commit 10ff617

Browse files
authored
Merge pull request #600 from blinker-iot/dev_3.0
update codes, fix ESP32 support codes.
2 parents c20e2e2 + efde12b commit 10ff617

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"type": "git",
1414
"url": "https://github.com/blinker-iot/blinker-library.git"
1515
},
16-
"version": "0.3.10",
16+
"version": "0.3.10230510",
1717
"homepage": "https://diandeng.tech/home",
1818
"export": {
1919
"exclude": [

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Blinker
2-
version=0.3.10
2+
version=0.3.10230510
33
author=i3water
44
maintainer=i3wawter
55
sentence=Build a easy way for your IoT project.

src/Blinker/BlinkerConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// #include "Blinker/BlinkerUtility.h"
66
#include "../Server/BlinkerServer.h"
77

8-
#define BLINKER_VERSION "0.3.10"
8+
#define BLINKER_VERSION "0.3.10230510"
99

1010
#define BLINKER_CONNECT_TIMEOUT_MS 10000UL
1111

src/modules/mqtt/Adafruit_MQTT.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -276,16 +276,16 @@ uint16_t Adafruit_MQTT::readFullPacket(uint8_t *buffer, uint16_t maxsize, uint16
276276
#if defined(ESP32)
277277
const char* Adafruit_MQTT::connectErrorString(int8_t code) {
278278
switch (code) {
279-
case 1: return F("The Server does not support the level of the MQTT protocol requested");
280-
case 2: return F("The Client identifier is correct UTF-8 but not allowed by the Server");
281-
case 3: return F("The MQTT service is unavailable");
282-
case 4: return F("The data in the user name or password is malformed");
283-
case 5: return F("Not authorized to connect");
284-
case 6: return F("Exceeded reconnect rate limit. Please try again later.");
285-
case 7: return F("You have been banned from connecting. Please contact the MQTT server administrator for more details.");
286-
case -1: return F("Connection failed");
287-
case -2: return F("Failed to subscribe");
288-
default: return F("Unknown error");
279+
case 1: return ("The Server does not support the level of the MQTT protocol requested");
280+
case 2: return ("The Client identifier is correct UTF-8 but not allowed by the Server");
281+
case 3: return ("The MQTT service is unavailable");
282+
case 4: return ("The data in the user name or password is malformed");
283+
case 5: return ("Not authorized to connect");
284+
case 6: return ("Exceeded reconnect rate limit. Please try again later.");
285+
case 7: return ("You have been banned from connecting. Please contact the MQTT server administrator for more details.");
286+
case -1: return ("Connection failed");
287+
case -2: return ("Failed to subscribe");
288+
default: return ("Unknown error");
289289
}
290290
}
291291
#else

0 commit comments

Comments
 (0)