Greg Young - trying to update older but working...
trying to update older but working sensESP
working unit, built on 2.6.0 , i want to change to wifi etc credentials (which at the time i hardcoded into main.cpp)
cant get it to update?
ive changed the credentials in main.cpp under app builder section..
Have erased ESP32 (using both platformIO tool, also tried using python esptool - both report success, but i continually find the ESP trying to
access the "old"wifi network ( using serial monitor, i can see it working and trying to access old incorrect SSID etc)
Then decided to build a new project .. using same (previuosly working ok) platformIO.ini file (with 2.6.0)
... after doing this, it does a bunch of platformIO stuff, and then when i try to build, i get following error
I also tried using the very latest example main.cpp and platformIO.ini files that are on github "example page" .. and also getting same below error
Compiling .pio\build\esp32dev\lib4e6\AceButton\ace_button\testing\EventTracker.cpp.o
Archiving .pio\build\esp32dev\lib31b\libESPAsyncWiFiManager.a
.pio/libdeps/esp32dev/WebSockets/src/WebSocketsClient.cpp: In member function 'void WebSocketsClient::loop()':
.pio/libdeps/esp32dev/WebSockets/src/WebSocketsClient.cpp:279:30: error: 'class WiFiClientSecure' has no member named 'setCACertBundle'; did you mean 'setCACert'?
_client.ssl->setCACertBundle(_CA_bundle);
^~~~~~~
setCACert
Compiling .pio\build\esp32dev\lib370\ESPmDNS\ESPmDNS.cpp.o
*** [.pio\build\esp32dev\lib017\WebSockets\WebSocketsClient.cpp.o] Error 1
==================================================================== [FAILED] Took 22.52 seconds ====================================================================
1 Reply
its a red colored fatal error that stops the build process.