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

Compilation error: 'SYSTEM_EVENT_STA_GOT_IP' was not declared in this scope; did you mean 'IP_EVENT_STA_GOT_IP'? #316

Open
jjpd19 opened this issue Mar 3, 2025 · 0 comments

Comments

@jjpd19
Copy link

jjpd19 commented Mar 3, 2025

While compiling I got this error:

meteomir.ino: In function 'void WiFiEvent(arduino_event_id_t)':
E:\Proyectos\Arduino\meteomir\meteomir.ino:42:10: error: 'SYSTEM_EVENT_STA_GOT_IP' was not declared in this scope; did you mean 'IP_EVENT_STA_GOT_IP'?
   42 |     case SYSTEM_EVENT_STA_GOT_IP:
      |          ^~~~~~~~~~~~~~~~~~~~~~~
      |          IP_EVENT_STA_GOT_IP
E:\Proyectos\Arduino\meteomir\meteomir.ino:48:10: error: 'SYSTEM_EVENT_STA_DISCONNECTED' was not declared in this scope; did you mean 'WIFI_EVENT_STA_DISCONNECTED'?
   48 |     case SYSTEM_EVENT_STA_DISCONNECTED:
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          WIFI_EVENT_STA_DISCONNECTED

Before that, despite of having installed the library with the zip file, it asked me for the folder AsynMqttClient with some file. I had to extract it manually from the zip and copied within the .ino file directory.

Would anybody help me? Thank you in advance.

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

1 participant