Open Kabron287 opened 1 year ago
You have a different version of the arduino_esp32 core files than it is built for. That's why you're getting the error. I think the code is updated to work with the latest ESP32 core files so try getting the latest version.
My errors eliminated by using info.disconnected.reason and SYSTEM_EVENT_STA_DISCONNECTED instead
I use the latest 1.0.6 ESP32 core version.
wifi_manager.cpp: 36:32: error: 'union system_event_info_t' has no member named 'wifi_sta_disconnected
wifi_manager.cpp: 45:12: error: 'ARDUINO_EVENT_WIFI_STA_DISCONNECTED' was not declared in this scope
What could be done. Please, do not suggest to use binary from savvycan.com. I have different can pins and could not change them in HW.