本帖最后由 qq2829 于 2019-5-7 20:28 编辑
硬件接线方式参考:
arduino1.67,1.6.10,1.8.9均出现编译错误:
Arduino:1.6.7 (Windows 10), 开发板:"Generic ESP8266 Module, Serial, 80 MHz, 40MHz, QIO, 115200, 512K (64K SPIFFS), ck"
构建选项已变更,全部重新构建
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:22:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:41,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerUpdater.h:12:0: warning: "UPDATE_ERROR_OK" redefined [enabled by default]
#define UPDATE_ERROR_OK (0)
^
In file included from C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:249:0,
from sketch\AT_Firmware_WiFi.ino.cpp:1:
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Updater.h:8:0: note: this is the location of the previous definition
#define UPDATE_ERROR_OK 0
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:22:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:41,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerUpdater.h:13:0: warning: "UPDATE_ERROR_WRITE" redefined [enabled by default]
#define UPDATE_ERROR_WRITE (1)
^
In file included from C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:249:0,
from sketch\AT_Firmware_WiFi.ino.cpp:1:
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Updater.h:9:0: note: this is the location of the previous definition
#define UPDATE_ERROR_WRITE 1
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:22:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:41,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerUpdater.h:14:0: warning: "UPDATE_ERROR_ERASE" redefined [enabled by default]
#define UPDATE_ERROR_ERASE (2)
^
In file included from C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:249:0,
from sketch\AT_Firmware_WiFi.ino.cpp:1:
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Updater.h:10:0: note: this is the location of the previous definition
#define UPDATE_ERROR_ERASE 2
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:22:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:41,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerUpdater.h:16:0: warning: "UPDATE_ERROR_SPACE" redefined [enabled by default]
#define UPDATE_ERROR_SPACE (4)
^
In file included from C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:249:0,
from sketch\AT_Firmware_WiFi.ino.cpp:1:
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Updater.h:11:0: note: this is the location of the previous definition
#define UPDATE_ERROR_SPACE 3
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:22:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:41,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerUpdater.h:17:0: warning: "UPDATE_ERROR_SIZE" redefined [enabled by default]
#define UPDATE_ERROR_SIZE (5)
^
In file included from C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:249:0,
from sketch\AT_Firmware_WiFi.ino.cpp:1:
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Updater.h:12:0: note: this is the location of the previous definition
#define UPDATE_ERROR_SIZE 4
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:22:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:41,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerUpdater.h:18:0: warning: "UPDATE_ERROR_STREAM" redefined [enabled by default]
#define UPDATE_ERROR_STREAM (6)
^
In file included from C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:249:0,
from sketch\AT_Firmware_WiFi.ino.cpp:1:
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Updater.h:13:0: note: this is the location of the previous definition
#define UPDATE_ERROR_STREAM 5
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:22:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:41,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerUpdater.h:19:0: warning: "UPDATE_ERROR_MD5" redefined [enabled by default]
#define UPDATE_ERROR_MD5 (7)
^
In file included from C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Arduino.h:249:0,
from sketch\AT_Firmware_WiFi.ino.cpp:1:
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\cores\esp8266/Updater.h:14:0: note: this is the location of the previous definition
#define UPDATE_ERROR_MD5 6
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:31:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:10,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerMQTTATBase.h:73:1: error: 'SerialConfig' does not name a type
SerialConfig ss_cfg;
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerMQTTATBase.h:79:1: error: 'SerialConfig' does not name a type
SerialConfig serConfig()
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:10:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:199:5: error: 'BearSSL' does not name a type
BearSSL::WiFiClientSecure client_mqtt;
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h: In member function 'virtual int BlinkerMQTTAT::connect()':
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:446:9: error: 'client_mqtt' was not declared in this scope
client_mqtt.setInsecure();
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h: In member function 'virtual char* BlinkerMQTTAT::lastRead()':
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:814:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
return "";
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h: In member function 'int BlinkerMQTTAT::connectServer()':
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1886:5: error: 'client_mqtt' was not declared in this scope
client_mqtt.stop();
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1888:21: error: 'BearSSL' was not declared in this scope
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1888:46: error: template argument 1 is invalid
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1888:46: error: template argument 2 is invalid
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1888:55: error: invalid type in declaration before '(' token
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1888:60: error: expected type-specifier before 'BearSSL'
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1891:13: error: base operand of '->' is not a pointer
client_s->setInsecure();
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1927:21: error: invalid type argument of unary '*' (have 'int')
if (http.begin(*client_s, url_iot)) { // HTTPS
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1940:29: error: 'HTTP_CODE_OK' was not declared in this scope
if (httpCode == HTTP_CODE_OK || httpCode == HTTP_CODE_MOVED_PERMANENTLY) {
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1940:57: error: 'HTTP_CODE_MOVED_PERMANENTLY' was not declared in this scope
if (httpCode == HTTP_CODE_OK || httpCode == HTTP_CODE_MOVED_PERMANENTLY) {
^
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:1945:74: error: 'class HTTPClient' has no member named 'errorToString'
BLINKER_LOG(BLINKER_F("[HTTP] GET... failed, error: "), http.errorToString(httpCode).c_str());
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:10:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h: In member function 'void BlinkerMQTTAT::mDNSInit()':
F:\Arduino1.67\libraries\blinker-library-master\src/Adapters/BlinkerMQTTAT.h:2310:10: error: 'class MDNSResponder' has no member named 'addServiceTxt'
MDNS.addServiceTxt(BLINKER_MDNS_SERVICE_BLINKER, "tcp", "deviceName", String(DEVICE_NAME_MQTT_AT));
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:41:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h: At global scope:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:13:12: error: 'BearSSL' does not name a type
extern BearSSL::WiFiClientSecure client_mqtt;
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:41:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h: In member function 'bool BlinkerOTA::update()':
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:108:5: error: 'BearSSL' has not been declared
BearSSL::WiFiClientSecure client_s;
^
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:108:31: error: expected ';' before 'client_s'
BearSSL::WiFiClientSecure client_s;
^
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:112:5: error: 'client_mqtt' was not declared in this scope
client_mqtt.stop();
^
F:\Arduino1.67\libraries\blinker-library-master\src/Functions/BlinkerOTA.h:115:17: error: 'client_s' was not declared in this scope
bool mfln = client_s.probeMaxFragmentLength(ota_host, ota_port, 1024);
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:69:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h: In member function 'char* BlinkerBridge_key::getName()':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApiBase.h:163:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "false";
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:70:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::deviceName()':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:78:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char * deviceName() { if (isInit) return conn->deviceName(); else return ""; }
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::authKey()':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:79:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char * authKey() { if (isInit) return conn->authKey(); else return ""; }
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h: In member function 'char* BlinkerProtocol::dataParse()':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerProtocol.h:171:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char* dataParse() { if (canParse) return conn->lastRead(); else return ""; }
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: At global scope:
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:529:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
BlinkerWidgets_string _BUILTIN_SWITCH = BlinkerWidgets_string(BLINKER_CMD_BUILTIN_SWITCH);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'void BlinkerApi::run()':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:2210:22: error: 'class ESP8266WiFiClass' has no member named 'reconnect'
WiFi.reconnect();
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:11:0,
from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeKey(uint8_t)':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:4138:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::bridgeName(uint8_t)':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:4145:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "false";
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_str(uint8_t)':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:4585:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_rgb(uint8_t)':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:4599:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'char* BlinkerApi::widgetName_int(uint8_t)':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:4605:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
else return "";
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'String BlinkerApi::blinkerServer(uint8_t, const String&, bool)':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7636:20: error: 'BearSSL' does not name a type
extern BearSSL::WiFiClientSecure client_mqtt;
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7637:13: error: 'client_mqtt' was not declared in this scope
client_mqtt.stop();
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7639:29: error: 'BearSSL' was not declared in this scope
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7639:54: error: template argument 1 is invalid
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7639:54: error: template argument 2 is invalid
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7639:63: error: invalid type in declaration before '(' token
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7639:68: error: expected type-specifier before 'BearSSL'
std::unique_ptr<BearSSL::WiFiClientSecure>client_s(new BearSSL::WiFiClientSecure);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7642:21: error: base operand of '->' is not a pointer
client_s->setInsecure();
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7666:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7679:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7693:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7708:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7721:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7734:37: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7748:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7762:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7775:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7787:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7801:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7814:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7827:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7840:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7852:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7866:41: error: invalid type argument of unary '*' (have 'int')
http.begin(*client_s, url_iot);
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7894:33: error: 'HTTP_CODE_OK' was not declared in this scope
if (httpCode == HTTP_CODE_OK) {
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:7985:79: error: 'class HTTPClient' has no member named 'errorToString'
BLINKER_LOG_ALL(BLINKER_F("[HTTP] ... failed, error: "), http.errorToString(httpCode).c_str());
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h: In member function 'void BlinkerApi::parseATdata()':
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:8461:21: error: 'ss_cfg' was not declared in this scope
ss_cfg = serConfig();
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:8461:40: error: 'serConfig' was not declared in this scope
ss_cfg = serConfig();
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:8526:21: error: 'ss_cfg' was not declared in this scope
ss_cfg = serConfig();
^
F:\Arduino1.67\libraries\blinker-library-master\src/Blinker/BlinkerApi.h:8526:40: error: 'serConfig' was not declared in this scope
ss_cfg = serConfig();
^
In file included from F:\Arduino1.67\libraries\blinker-library-master\src/Blinker.h:172:0,
from F:\鐢ㄦ埛鐩綍\Documents\Arduino\libraries\Blinker\examples\Blinker_AT_Firmware\AT_Firmware_WiFi\AT_Firmware_WiFi.ino:40:
F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h: In member function 'void BlinkerESPMQTTAT::begin()':
F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:28:13: error: 'ss_cfg' was not declared in this scope
ss_cfg = serConfig();
^
F:\Arduino1.67\libraries\blinker-library-master\src/BlinkerESPMQTTAT.h:28:32: error: 'serConfig' was not declared in this scope
ss_cfg = serConfig();
^
exit status 1
编译有误。
|