Why WiFi Wouldn't Reconnect: The Race Condition in My Disconnect Handler
Calling esp_wifi_stop() triggers a disconnect event that immediately tries to reconnect, leaving WiFi in a weird half-stopped state.
- room-tracker
- ESP32
- WiFi
- Race Conditions
- Event Handling