Closed DEADSEC-SECURITY closed 4 years ago
I'm trying to compile SinricPro but it's returning the following error:
Libraries:
Wifi - 1.2.7
ArduinoJson - 6.12.0
SinricPro - 2.4.0
WebSockets - 2.2.0
Arduino board:
Arduino: 1.8.13 (Windows Store 1.8.39.0) (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, 115200, 4M (3M SPIFFS)" C:\Users\amng8\Documents\Arduino\libraries\WebSockets\src\WebSocketsClient.cpp: In member function 'void WebSocketsClient::loop()': C:\Users\amng8\Documents\Arduino\libraries\WebSockets\src\WebSocketsClient.cpp:172:30: error: 'class WiFiClientSecure' has no member named 'setCACert' _client.ssl->setCACert((const uint8_t *)_CA_cert, strlen(_CA_cert) + 1); ^ exit status 1 Error compiling for board NodeMCU 0.9 (ESP-12 Module).
Please see comment on #78
Did #78 work for you on this issue too?
@sivar2311 updating the core with the latest one worked for me.
I'm trying to compile SinricPro but it's returning the following error:
Libraries:
Wifi - 1.2.7
ArduinoJson - 6.12.0
SinricPro - 2.4.0
WebSockets - 2.2.0
Arduino board: