Guten Morgen,
da ich ja bald meinen WARP-Charger erhalte, wollte ich mich schon mal etwas mit der Software beschäftigen.
Leider lässt sich das Projekt "esp32-brick" z. Z. nicht übersetzen, da hier die letzten Änderungen in der Klasse "API" aus dem Projekt "esp32-lib" anscheinend noch nicht nachgezogen wurden:
...
Building in debug mode
Compiling .pio/build/esp32dev/src/main.cpp.o
Compiling .pio/build/esp32dev/src/modules/firmware_update/firmware_update.cpp.o
Compiling .pio/build/esp32dev/src/modules/proxy/proxy.cpp.o
Compiling .pio/build/esp32dev/src/modules/wifi/wifi.cpp.o
src/main.cpp:41:25: error: no matching function for call to 'API::API(<brace-enclosed initializer list>)'
API api{true, true, true};
^
In file included from src/main.cpp:23:0:
.pio/libdeps/esp32dev/esp32-lib/src/api.h:57:5: note: candidate: API::API()
API() {}
^
.pio/libdeps/esp32dev/esp32-lib/src/api.h:57:5: note: candidate expects 0 arguments, 3 provided
.pio/libdeps/esp32dev/esp32-lib/src/api.h:55:7: note: candidate: API::API(const API&)
class API {
^
.pio/libdeps/esp32dev/esp32-lib/src/api.h:55:7: note: candidate expects 1 argument, 3 provided
.pio/libdeps/esp32dev/esp32-lib/src/api.h:55:7: note: candidate: API::API(API&&)
.pio/libdeps/esp32dev/esp32-lib/src/api.h:55:7: note: candidate expects 1 argument, 3 provided
src/main.cpp: In function 'void register_default_urls()':
src/main.cpp:122:26: error: no matching function for call to 'API::registerDebugUrl()'
api.registerDebugUrl();
^
In file included from src/main.cpp:23:0:
.pio/libdeps/esp32dev/esp32-lib/src/api.h:67:10: note: candidate: void API::registerDebugUrl(AsyncWebServer*)
void registerDebugUrl(AsyncWebServer *server);
^
.pio/libdeps/esp32dev/esp32-lib/src/api.h:67:10: note: candidate expects 1 argument, 0 provided
src/main.cpp: In lambda function:
src/main.cpp:187:13: error: 'class API' has no member named 'onEventConnect'
api.onEventConnect(client);
^
*** [.pio/build/esp32dev/src/main.cpp.o] Error 1
================================================================= [FAILED] Took 50.93 seconds =================================================================
Wann wird hierzu eine Korrektur erfolgen bzw. ist diese vielleicht schon erfolgt und ich habe nur den falschen Branch?
Vielen Dank & Gruß Thomas