Skip to content

Commit 1e3f352

Browse files
committed
update codes, upgrade BLINKER MIOT mode codes.
1 parent 6695d1f commit 1e3f352

File tree

4 files changed

+9
-9
lines changed

4 files changed

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

src/Blinker/BlinkerApi.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13210,7 +13210,7 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
1321013210
// else setValue = "off";
1321113211

1321213212
// if (_MIOTHeaterFunc) _MIOTHeaterFunc(setValue);
13213-
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_ECO, setValue);
13213+
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_HEATER, setValue);
1321413214
}
1321513215
else if (rootSet.containsKey(BLINKER_CMD_DRYER)) {
1321613216
String setValue = rootSet[BLINKER_CMD_DRYER];
@@ -13219,7 +13219,7 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
1321913219
// else setValue = "off";
1322013220

1322113221
// if (_MIOTDryerFunc) _MIOTDryerFunc(setValue);
13222-
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_ECO, setValue);
13222+
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_DRYER, setValue);
1322313223
}
1322413224
else if (rootSet.containsKey(BLINKER_CMD_SLEEP)) {
1322513225
String setValue = rootSet[BLINKER_CMD_SLEEP];
@@ -13228,7 +13228,7 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
1322813228
// else setValue = "off";
1322913229

1323013230
// if (_MIOTSleepFunc) _MIOTSleepFunc(setValue);
13231-
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_ECO, setValue);
13231+
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_SLEEP, setValue);
1323213232
}
1323313233
else if (rootSet.containsKey(BLINKER_CMD_SOFT)) {
1323413234
String setValue = rootSet[BLINKER_CMD_SOFT];
@@ -13237,7 +13237,7 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
1323713237
// else setValue = "off";
1323813238

1323913239
// if (_MIOTSoftFunc) _MIOTSoftFunc(setValue);
13240-
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_ECO, setValue);
13240+
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_SOFT, setValue);
1324113241
}
1324213242
else if (rootSet.containsKey(BLINKER_CMD_UV)) {
1324313243
String setValue = rootSet[BLINKER_CMD_UV];
@@ -13246,7 +13246,7 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
1324613246
// else setValue = "off";
1324713247

1324813248
// if (_MIOTUVFunc) _MIOTUVFunc(setValue);
13249-
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_ECO, setValue);
13249+
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_UV, setValue);
1325013250
}
1325113251
else if (rootSet.containsKey(BLINKER_CMD_UNSB)) {
1325213252
String setValue = rootSet[BLINKER_CMD_UNSB];
@@ -13255,7 +13255,7 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
1325513255
// else setValue = "off";
1325613256

1325713257
// if (_MIOTUNSBFunc) _MIOTUNSBFunc(setValue);
13258-
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_ECO, setValue);
13258+
if (_MIOTSetModeFunc_m) _MIOTSetModeFunc_m(BLINKER_CMD_UNSB, setValue);
1325913259
}
1326013260
else if (rootSet.containsKey(BLINKER_CMD_COLOR)) {
1326113261
String setValue = rootSet[BLINKER_CMD_COLOR];

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

1010
#define BLINKER_CONNECT_TIMEOUT_MS 10000UL
1111

0 commit comments

Comments
 (0)