Firmware icon indicating copy to clipboard operation
Firmware copied to clipboard

[Bug] ESP crashes when connected network shuts down

Open hhvrc opened this issue 2 years ago • 0 comments

Pre-submission checklist

  • [X] I checked that no other Bug Report describing my problem exists.
  • [X] I am running the latest stable or prerelease firmware.
  • [X] My board is on the list of maintained boards.
  • [X] I accept that this issue may be closed if any of the above are found to be untrue.

Board

Wemos-D1-Mini-ESP32

Firmware version

1.0.0-rc.4

Flashing method

Built and uploaded via PlatformIO

Describe what happened as precisely as possible.

The ESP connected to a wifi network and connected to the gateway. The network shut down and the ESP crashed and restarted.

Describe what you expected to happen instead.

It to gracefully release the resources it had allocated and re-launch the captive portal.

In as much detail as possible, describe the exact steps you took to make the problem appear.

  1. Launch a mobile hotspot or something else you can turn on/off
  2. Set up your ESP to connect normally to the gateway via this network.
  3. Once ESP is connected, abruptly shut down the WiFi network

Other remarks

This is not a important bug to solve as the esp returns to the captive portal after reboot, its just an annoying issue.

hhvrc avatar Nov 07 '23 13:11 hhvrc