用的是官方的标准案例,主板选择的是DF的FrieBeetle Esp32。蓝牙可以正常连接,wifi连接的时候报错信息如下
In file included from C:\Program Files (x86)\Arduino\libraries\blinker-library-0.3.7\src/BlinkerESPMQTT.h:16:0,
from C:\Program Files (x86)\Arduino\libraries\blinker-library-0.3.7\src/Blinker.h:38,
from C:\Program Files (x86)\Arduino\libraries\blinker-library-0.3.7\examples\Blinker_Hello\Hello_WiFi\Hello_WiFi.ino:48:
C:\Program Files (x86)\Arduino\libraries\blinker-library-0.3.7\src/Adapters/BlinkerMQTT.h: In member function 'int BlinkerMQTT::connectServer()':
C:\Program Files (x86)\Arduino\libraries\blinker-library-0.3.7\src/Adapters/BlinkerMQTT.h:2477:18: error: 'class WiFiClientSecure' has no member named 'setInsecure'
client_s.setInsecure();
^
"WiFi.h" 对应多个库
已使用: C:\Users\Administrator\AppData\Local\Arduino15\packages\firebeetle32\hardware\esp32\0.1.0\libraries\WiFi
未使用:C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
为开发板 FireBeetle-ESP32 编译时出错。