Skip to content

[ESP32] SimpleWifi Reconnect #460

Closed
Closed
@cujomalainey

Description

@cujomalainey

Blynk library version: 0.6.1
IDE: Neovim
IDE version: N/A
Board type: Adafruit Feather HUZZAH32
Additional modules: External LEDs

Scenario, steps to reproduce

Start a device, let it connect to wifi, disconnect wifi (e.g. disconnect router or turn off hotspot) then plug back in an resume wifi

Expected Result

Device would resume wifi when it becomes available

Actual Result

Device is stuck forever re-attempting to connect to the server

[21543] Connecting to blynk-cloud.com:80
[E][WiFiClient.cpp:220] connect(): lwip_connect_r: 118
[26544] Connecting to blynk-cloud.com:80
[E][WiFiClient.cpp:220] connect(): lwip_connect_r: 118

Side notes

From what I can tell. It appears the ESP32 needs an explicit disconnect when a WiFi connection fails. I was digging around but I can't tell if it is getting that call from within the framework.

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