ESP32RET icon indicating copy to clipboard operation
ESP32RET copied to clipboard

Compilaton errors

Open Kabron287 opened this issue 3 years ago • 2 comments

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.

Kabron287 avatar Oct 17 '22 09:10 Kabron287

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.

collin80 avatar Oct 18 '22 00:10 collin80

My errors eliminated by using info.disconnected.reason and SYSTEM_EVENT_STA_DISCONNECTED instead

I use the latest 1.0.6 ESP32 core version.

Kabron287 avatar Oct 18 '22 08:10 Kabron287