Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 not work - compiler error from WiFi.h class #17

Open
benjamincermak opened this issue Sep 15, 2024 · 1 comment
Open

ESP32 not work - compiler error from WiFi.h class #17

benjamincermak opened this issue Sep 15, 2024 · 1 comment

Comments

@benjamincermak
Copy link

Defineded class "WiFi.h" for ESP32 class to differnt to "ESP8266WiFi.h"

Error in NetWizard.h

.pio/libdeps/esp32-s3-devkitm-1/NetWizard/src/NetWizard.cpp:194:14: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'uint8_t' {aka 'unsigned char'} [-fpermissive]

.pio/libdeps/esp32-s3-devkitm-1/NetWizard/src/NetWizard.cpp:268:37: error: 'class WiFiClass' has no member named 'AP'

.pio/libdeps/esp32-s3-devkitm-1/NetWizard/src/NetWizard.cpp:416:37: error: no matching function for call to 'WiFiClass::disconnect(bool, bool, int)'

and many more

@ayushsharma82
Copy link
Owner

The current PIO platform for esp32 doesn’t contain the latest Arduino SDK ‘yet’. Please use this platform as we did here: https://github.com/livegrid/OpenMatrix/blob/84d444250567d9d0ed715a6f54851040aeb418bc/platformio.ini#L12

Using this platform will resolve your errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants