Skip to content

WiFi companion radio does not reconnect after losing AP connectivity #2300

@swannman

Description

@swannman

Description

The WiFi companion radio firmware (heltec_v4_companion_radio_wifi) calls WiFi.begin() once at startup with no reconnection handling. If the AP goes down or the device loses WiFi connectivity after the initial connection, it never reconnects.

Root Cause

The project uses espressif32@6.11.0 which ships with ESP32 Arduino core 2.x (ESP-IDF 4.4). In this version, the built-in WiFi.setAutoReconnect() is unreliable — it doesn't persist through certain disconnect reasons like AP reboots, beacon loss, or DHCP timeouts.

Expected Behavior

The device should periodically detect WiFi disconnection and attempt to reconnect automatically.

Fix

#2299

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions