Hi. I am trying to replicate this project, https://github.com/jgrahamc/eink_weather.git, and when I compile the project using either Arduino IDE version 1.8.19 or 2.3.6 the compile fails with this error:
/Arduino/libraries/InkplateLibrary/src/include/NetworkClient.cpp: In member function 'uint8_t* NetworkClient::downloadFileHTTPS(const char*, int32_t*)':
/Arduino/libraries/InkplateLibrary/src/include/NetworkClient.cpp:401:13: error: 'class WiFiClientSecure' has no member named 'setInsecure'
client->setInsecure(); // Use HTTPS but don't check cert
^
exit status 1
Compilation error: exit status 1
I used CHATGPT to assist with figuring out what was wrong and it gave me a modification to make in NetworkClient.cpp :
{
// client->setInsecure(); // Use HTTPS but don't check cert ORIGINAL
client->setCACert(nullptr); // CHATGPT Update
}
After this modification everything compiles but I get additional issues that CHATGPT nor the authour of the eink_weather repository can help me with. I am now wondering if my (CHATGPT's) modification to NetworkClient.cpp is causing me these new issues. I have used version 8 of the InkPlateLibrary as well as the most recent version 10.2.2 but both fail to compile.
Any ideas?
Mike