The app seems to be broken. I have tried compiling it as per the instructions on a windows 11 and on a mac. I get the same errors on both. Can anyone please help me? Here is the error code from VS.
Compiling .pio/build/esp-wrover-kit/src/Apps/WiFiWps/WpsConnect.cpp.o
src/Apps/WiFiWps/WpsConnect.cpp: In function 'void wpsInitConfig(bool)':
src/Apps/WiFiWps/WpsConnect.cpp:30:12: error: 'struct esp_wps_config_t' has no member named 'crypto_funcs'
config.crypto_funcs = &g_wifi_default_wps_crypto_funcs;
^~~~~~~~~~~~
src/Apps/WiFiWps/WpsConnect.cpp:30:28: error: 'g_wifi_default_wps_crypto_funcs' was not declared in this scope
config.crypto_funcs = &g_wifi_default_wps_crypto_funcs;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/Apps/WiFiWps/WpsConnect.cpp:30:28: note: suggested alternative: 'g_wifi_default_wpa_crypto_funcs'
config.crypto_funcs = &g_wifi_default_wps_crypto_funcs;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g_wifi_default_wpa_crypto_funcs
src/Apps/WiFiWps/WpsConnect.cpp: In function 'void Wps_run(bool)':
src/Apps/WiFiWps/WpsConnect.cpp:90:27: error: no matching function for call to 'onEvent(void (&)(arduino_event_id_t, system_event_info_t))'
WiFi.onEvent(WiFiEvent);
^
In file included from /Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiSTA.h:28,
from /Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:32,
from lib/M5Stack/M5StackMod.h:30,
from src/Apps/WiFiWps/WpsConnect.h:2,
from src/Apps/WiFiWps/WpsConnect.cpp:8:
/Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:159:21: note: candidate: 'wifi_event_id_t WiFiGenericClass::onEvent(WiFiEventCb, arduino_event_id_t)' <near match>
wifi_event_id_t onEvent(WiFiEventCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);
^~~~~~~
/Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:159:21: note: conversion of argument 1 would be ill-formed:
src/Apps/WiFiWps/WpsConnect.cpp:90:18: error: invalid conversion from 'void ()(arduino_event_id_t, system_event_info_t)' to 'WiFiEventCb' {aka 'void ()(arduino_event_id_t)'} [-fpermissive]
WiFi.onEvent(WiFiEvent);
^~~~~~~~~
In file included from /Users/readacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiSTA.h:28,
from /Users/jredacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFi.h:32,
from lib/M5Stack/M5StackMod.h:30,
from src/Apps/WiFiWps/WpsConnect.h:2,
from src/Apps/WiFiWps/WpsConnect.cpp:8:
/Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:161:21: note: candidate: 'wifi_event_id_t WiFiGenericClass::onEvent(WiFiEventSysCb, arduino_event_id_t)' <near match>
wifi_event_id_t onEvent(WiFiEventSysCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX);
^~~~~~~
/Users/redacted/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.h:161:21: note: conversion of argument 1 would be ill-formed:
src/Apps/WiFiWps/WpsConnect.cpp:90:18: error: invalid conversion from 'void ()(arduino_event_id_t, system_event_info_t)' to 'WiFiEventSysCb' {aka 'void ()(arduino_event_t*)'} [-fpermissive]
WiFi.onEvent(WiFiEvent);
^~~~~~~~~
*** [.pio/build/esp-wrover-kit/src/Apps/WiFiWps/WpsConnect.cpp.o] Error 1
========================== [FAILED] Took 6.34 seconds ==========================
- The terminal process "platformio 'run'" terminated with exit code: 1.
- Terminal will be reused by tasks, press any key to close it.