Skip to content

Commit f7f2db8

Browse files
authored
Merge pull request #581 from blinker-iot/dev_3.0
update codes, fix get wifi config codes
2 parents e5b2007 + 5655bfb commit f7f2db8

File tree

5 files changed

+21
-3
lines changed

5 files changed

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

src/Adapters/BlinkerMQTT.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@
1616
ESP8266WiFiMulti wifiMulti;
1717
#elif defined(ESP32)
1818
#include <WiFi.h>
19+
20+
#if defined(ESP32)
21+
extern "C" {
22+
#include <esp_err.h>
23+
#include <esp_wifi.h>
24+
#include <esp_event.h>
25+
}
26+
#endif
27+
1928
#include <ESPmDNS.h>
2029
#include <WiFiMulti.h>
2130
#include <HTTPClient.h>

src/Adapters/BlinkerPROESP.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@
1111
#include <base64.h>
1212
#elif defined(ESP32)
1313
#include <WiFi.h>
14+
15+
#if defined(ESP32)
16+
extern "C" {
17+
#include <esp_err.h>
18+
#include <esp_wifi.h>
19+
#include <esp_event.h>
20+
}
21+
#endif
22+
1423
#include <ESPmDNS.h>
1524
#include <HTTPClient.h>
1625

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

1010
#define BLINKER_CONNECT_TIMEOUT_MS 10000UL
1111

0 commit comments

Comments
 (0)