Skip to content

Compile error: SYSTEM_EVENT_STA_GOT_IP and SYSTEM_EVENT_STA_DISCONNECTED #1

@rvarnam

Description

@rvarnam

I'm getting the error below when compiling. I'm using:

  • Arduino IDE 2.0.3
  • ArduioWebsockets by Gil Maimon 0.5.3
  • M5Stick-C-Plus

`[filepath]ProPresenterClicker.ino: In function 'void setup()':
[filepath]ProPresenterClicker.ino:218:40: error: 'SYSTEM_EVENT_STA_GOT_IP' is not a member of 'arduino_event_id_t'
WiFi.onEvent(WiFiGotIP, WiFiEvent_t::SYSTEM_EVENT_STA_GOT_IP);
^~~~~~~~~~~~~~~~~~~~~~~
[filepath]ProPresenterClicker.ino:219:47: error: 'SYSTEM_EVENT_STA_DISCONNECTED' is not a member of 'arduino_event_id_t'
WiFi.onEvent(WiFiDisconnected, WiFiEvent_t::SYSTEM_EVENT_STA_DISCONNECTED);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

exit status 1

Compilation error: 'SYSTEM_EVENT_STA_GOT_IP' is not a member of 'arduino_event_id_t'`

Any thoughts? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions