Skip to content

Arduino-ESP32 2.0.0-alpha REGRESSION: WiFi object never fires ARDUINO_EVENT_WIFI_READY #5315

Closed
@avillacis

Description

@avillacis

In commit c24a340 , code was added to manually fire SYSTEM_EVENT_WIFI_READY:

  • Add SYSTEM_EVENT_WIFI_READY call back once wifi service is init. allows you to hook in, as the sdk does not generate this event for you.

However, in commit 5502879 that merges ESP32S2 and ESP-IDF 4.4+ support, the code to fire an event on WiFi init (which should be ARDUINO_EVENT_WIFI_READY) was overwritten and removed without any explanation, and is missing up to this day. Code that depended on hooking on WiFi init is now broken, as ARDUINO_EVENT_WIFI_READY is never fired anywhere else in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions