esp8266 / esp8266/Arduino

Brief SoftAP Connection Loss During WiFi Connection Attempt

Open
#3,195 4 comments 1 reaction 0 assignees View on GitHub
component: SDK type: bug
Dominant language
C++
Stars
16.7k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

### Basic Info

Hardware: ESP-12S

### Description

When the SoftAP is active (the ESP8266 is acting as an Access Point), I attempt to connect to a WiFi router as a Station using WifiMulti.appAP("SSID", "PASS") then WifiMulti.run(). On successful connection, I notice that the SoftAP signal that is being broadcast is dropping out momentarily.

It's pretty hard to capture but I've been testing from my MacBook Air with https://packetsender.com/.

### Order of Events:
1. I set WiFi.mode(WIFI_AP_STA).
2. I fire up the SoftAP and start a UDP server with a hardcoded IP address and port.
3. I then wait for a message from PacketSender with the SSID and Pw for the WiFi router.
4. I take those credentials and attempt the connection, this is where the SoftAP drops out. I know it's dropping out because I'm sending an acknowledge UDP packet back but the packet fails to send.

Has anyone else seen this behavior?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.