Skip to content

Reset occurs when previously connected wifi is no longer in range #160

@jerry-synap

Description

@jerry-synap

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am using the latest version of esp32-wifi-manager
  • [x ] I have searched open and closed issues to ensure it has not already been reported

Description

Steps to Reproduce

The first time you run the application and add wifi credentials, the application connects and runs normally.
Switch off the wifi the ESP is connected to.
Reset the ESP32
The code will run and inside this method "wifi_manager_timer_retry_cb" it will run into a stack overflow.
You cannot get it to restart the AP again if the previously connected WIFI is not in range.
The only way is to erase the nvs and then the AP starts up again.

System Configuration

ESP_IDF 5.2.1
VSCode

  • Environment (Operating system, version and so on):
    Windows 11 / Ubuntu 20.04 LTS

Can you please point me in the direction on how to solve this? I have tried many things like checking if the XtimerStop is not null etc, adding delays

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions