Skip to content

esp-hosted: initial fix for esp32-p4#73

Merged
cotestatnt merged 4 commits intocotestatnt:masterfrom
mhaberler:mah-3.2.0
Feb 13, 2026
Merged

esp-hosted: initial fix for esp32-p4#73
cotestatnt merged 4 commits intocotestatnt:masterfrom
mhaberler:mah-3.2.0

Conversation

@mhaberler
Copy link
Copy Markdown
Contributor

first cut for a fix so WiFi.scanNetworks() works on esp32 with esp-hosted network support

works for me for the M5Stack Tab5

I understand the logic to be as follows:

  • the external networking processor C6 also stores the Wi-Fi credentials in its local NVRAM.
  • Once the host CPU (p4) sends the start scan command, the C6 is already trying to reconnect to WiFi using its stored credentials and this fails the scan network's call.
  • Explicitly deleting the stored credentials before the scan fixes the behavior.
  • Once you select the Wifi SSID and store its credentials, the C6 connects to this network and stores the Wifi credentials in its local RAM again.

m5stack-tab5 still is capricious

There's no LED and button available, so drop those.
Try to upgrade the C6 coprocessor firmware via OTA required.
for unclear reasons the tab5 needs a M5Unified incantation to work properly.
@cotestatnt cotestatnt merged commit dcd4844 into cotestatnt:master Feb 13, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants