Skip to content

unreliable access point problem with STA+AP mode #817

@mattvenn

Description

@mattvenn

I've had an issue where I get unreliable access points on one ESP and fine on another. Seems the issue is stored in the flash.

When I looked at the diagnostic messagess (using WiFi.printDiag(Serial) from both modules I found this on the bad one:

Mode: STA+AP
PHY mode: N
Channel: 9
AP id: 0
Status: 1
Auto connect: 1

and this on the good one:

Mode: AP
PHY mode: N
Channel: 1
AP id: 0
Status: 255
Auto connect: 1

By adding this line:

WiFi.mode(WIFI_AP);

before I setup the AP with

WiFi.softAP(ssid);

the problem was resolved.

Is this worth adding to the example, or is there a bug somewhere with STA+AP mode?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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