File tree Expand file tree Collapse file tree 5 files changed +22
-4
lines changed Expand file tree Collapse file tree 5 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 13
13
"type" : " git" ,
14
14
"url" : " https://github.com/blinker-iot/blinker-library.git"
15
15
},
16
- "version" : " 0.3.80210704 " ,
16
+ "version" : " 0.3.80210803 " ,
17
17
"homepage" : " https://diandeng.tech/home" ,
18
18
"export" : {
19
19
"exclude" : [
Original file line number Diff line number Diff line change 1
1
name =Blinker
2
- version =0.3.80210704
2
+ version =0.3.80210803
3
3
author =i3water
4
4
maintainer =i3wawter
5
5
sentence =Build a easy way for your IoT project.
Original file line number Diff line number Diff line change 25
25
26
26
#elif defined(BLINKER_WIFI ) || defined(BLINKER_MQTT )
27
27
28
+ #if defined(BLINKER_APCONFIG_V2 )
29
+ #define BLINKER_APCONFIG
30
+ #define BLINKER_WITHOUT_WS_REG
31
+ #endif
32
+
28
33
#if defined(BLINKER_WIFI )
29
34
#undef BLINKER_WIFI
30
35
#define BLINKER_MQTT
92
97
93
98
#elif defined(BLINKER_PRO_ESP ) || defined(BLINKER_WIFI_AUTO )
94
99
95
- #include "BlinkerAssistant.h"
100
+ #include "BlinkerAssistant.h"
101
+
102
+ #if defined(BLINKER_APCONFIG_V2 )
103
+ #define BLINKER_APCONFIG
104
+ #define BLINKER_WITHOUT_WS_REG
105
+ #endif
96
106
97
107
#if defined(BLINKER_WIFI_AUTO )
98
108
#define BLINKER_PRO_ESP
Original file line number Diff line number Diff line change @@ -3242,6 +3242,10 @@ void BlinkerApi::run()
3242
3242
}
3243
3243
else
3244
3244
{
3245
+ #if defined(BLINKER_WITHOUT_WS_REG)
3246
+ _getRegister = true;
3247
+ _isNew = true;
3248
+ #endif
3245
3249
_proStatus = PRO_DEV_AUTHCHECK_FAIL;
3246
3250
3247
3251
BLINKER_LOG_ALL(BLINKER_F("not auth, conn deviceRegister"));
@@ -3476,6 +3480,10 @@ void BlinkerApi::run()
3476
3480
}
3477
3481
else
3478
3482
{
3483
+ #if defined(BLINKER_WITHOUT_WS_REG)
3484
+ _getRegister = true;
3485
+ _isNew = true;
3486
+ #endif
3479
3487
_mqttAutoStatue = AUTO_DEV_AUTHCHECK_FAIL;
3480
3488
3481
3489
BLINKER_LOG_ALL(BLINKER_F("not auth, conn deviceRegister"));
Original file line number Diff line number Diff line change 5
5
// #include "Blinker/BlinkerUtility.h"
6
6
#include "../Server/BlinkerServer.h"
7
7
8
- #define BLINKER_VERSION "0.3.80210704 "
8
+ #define BLINKER_VERSION "0.3.80210803 "
9
9
10
10
#define BLINKER_CONNECT_TIMEOUT_MS 10000UL
11
11
You can’t perform that action at this time.
0 commit comments