Skip to content

Commit 82fa171

Browse files
committed
update codes, upgrade CONFIG INIT codes.
1 parent 5e0e4a8 commit 82fa171

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
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.80210609",
16+
"version": "0.3.80210611",
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.80210609
2+
version=0.3.80210611
33
author=i3water
44
maintainer=i3wawter
55
sentence=Build a easy way for your IoT project.

src/Adapters/BlinkerMQTT.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,7 +2650,7 @@ int BlinkerMQTT::checkPrintLimit()
26502650
{
26512651
if ((millis() - _print_time) < 60000)
26522652
{
2653-
if (_print_times < 10) return true;
2653+
if (_print_times < 30) return true;
26542654
else
26552655
{
26562656
BLINKER_ERR_LOG(BLINKER_F("MQTT MSG LIMIT"));
@@ -3005,15 +3005,15 @@ bool BlinkerMQTT::autoInit()
30053005
if (checkConfig())
30063006
{
30073007

3008-
WiFi.begin();
3008+
WiFi.begin(WiFi.SSID(), WiFi.psk());
30093009
::delay(500);
30103010

30113011
// BLINKER_LOG(BLINKER_F("Waiting for WiFi "),
30123012
// BLINKER_WIFI_AUTO_INIT_TIMEOUT / 1000,
30133013
// BLINKER_F("s, will enter SMARTCONFIG or "),
30143014
// BLINKER_F("APCONFIG while WiFi not connect!"));
30153015

3016-
BLINKER_LOG(BLINKER_F("Connecting to WiFi"));
3016+
BLINKER_LOG(BLINKER_F("Connecting to WiFi: "), WiFi.SSID());
30173017

30183018
// uint8_t _times = 0;
30193019
// while (WiFi.status() != WL_CONNECTED) {

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.80210609"
8+
#define BLINKER_VERSION "0.3.80210611"
99

1010
#define BLINKER_CONNECT_TIMEOUT_MS 10000UL
1111

0 commit comments

Comments
 (0)