HARestAPI icon indicating copy to clipboard operation
HARestAPI copied to clipboard

Verify error

Open yoann56100 opened this issue 3 years ago • 1 comments

when compiling the code i got this error

C:\Users\yoann\Documents\Arduino\libraries\HARestAPI-0.3\src\HARestAPI.cpp: In member function 'String HARestAPI::sendGetHA(String)': C:\Users\yoann\Documents\Arduino\libraries\HARestAPI-0.3\src\HARestAPI.cpp:103:21: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify' 103 | if (wsclient->verify(_fingerprint.c_str(), _serverip.c_str())) | ^~~~~~ C:\Users\yoann\Documents\Arduino\libraries\HARestAPI-0.3\src\HARestAPI.cpp: In member function 'bool HARestAPI::sendPostHA(String, String)': C:\Users\yoann\Documents\Arduino\libraries\HARestAPI-0.3\src\HARestAPI.cpp:200:21: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify' 200 | if (wsclient->verify(_fingerprint.c_str(), _serverip.c_str())) | ^~~~~~ exit status 1 Erreur de compilation pour la carte LOLIN(WEMOS) D1 mini (clone)

yoann56100 avatar Jul 18 '22 11:07 yoann56100

change esp8266 board version to 2.7.4 works for me

kanicrab avatar Sep 11 '23 03:09 kanicrab