Skip to content

Commit 729aee6

Browse files
authored
Merge pull request #575 from blinker-iot/dev_3.0
update codes, upgrade supports code.
2 parents 9814ca0 + 0cbd553 commit 729aee6

File tree

108 files changed

+1044
-2548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1044
-2548
lines changed

examples/Blinker_AHRS/AHRS_BLE/AHRS_BLE.ino

Lines changed: 0 additions & 83 deletions
This file was deleted.

examples/Blinker_AHRS/AHRS_WiFi/AHRS_WiFi.ino

Lines changed: 0 additions & 87 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

examples/Blinker_CLOUDCONFIG/CLOUDCONFIG_WiFi/CLOUDCONFIG_WiFi.ino renamed to examples/Blinker_Cloud/Blinker_DataStorage/Blinker_ConfigData/Blinker_ConfigData.ino

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ char pswd[] = "Your WiFi network WPA password or WEP key";
5353

5454
void configGet(const String & data)
5555
{
56-
BLINKER_LOG("Blinker.configGet(): ", data);
56+
BLINKER_LOG("config get: ", data);
5757
}
5858

5959
void dataRead(const String & data)
@@ -66,11 +66,12 @@ void dataRead(const String & data)
6666
Blinker.print("millis", BlinkerTime);
6767

6868
digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
69-
if (Blinker.configUpdate("Hello blinker!")) {
69+
70+
// update data must be Json
71+
if (Blinker.configUpdate("{\"Hello\":\"blinker\"}"))
72+
{
7073
Blinker.configGet();
7174
}
72-
73-
Blinker.delay(60000);
7475
}
7576

7677
void setup()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

examples/Blinker_DataStorage/Blinker_JsonData/Blinker_JsonData.ino

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)