Skip to content

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

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

Closed
avillacis opened this issue Jun 21, 2021 · 0 comments
Labels
Area: BT&Wifi BT & Wifi related issues
Milestone

Comments

@avillacis
Copy link

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.

@VojtechBartoska VojtechBartoska added the Area: BT&Wifi BT & Wifi related issues label Jun 23, 2021
@VojtechBartoska VojtechBartoska added this to the 2.0.0 milestone Jul 14, 2021
me-no-dev added a commit that referenced this issue Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BT&Wifi BT & Wifi related issues
Projects
None yet
Development

No branches or pull requests

2 participants