GithubHelp home page GithubHelp logo

Comments (3)

rjwats avatar rjwats commented on July 21, 2024 1

Setting the access point provision mode to "never" will prevent the access point from coming up in the event of WiFi connection failure. Disable it if you like, but you won't be able to re-configure the device if you change your WiFi password (without re-flashing via serial).

The back-off retry approach might give you better luck. I've not had any issues with connecting to WiFi first time personally so this issue I suspect it's related to WiFi channel switching. I'm planning on implementing the exponential back-off retry approach, which might help in your situation.

from esp8266-react.

rjwats avatar rjwats commented on July 21, 2024

There is a deliberate delay if there is a failure to connect to the WiFi. See the code in WiFiSettingsService.cpp to see how this works. The delay is fixed to 60 seconds.

The delay is required to prevent the device continually channel switching when in auto-reconnect mode - this causes the access point stability issues.

There might be an improved solution to this with a back-off retry approach which would allow for more frequent retries without crippling the access point.

I'll look at implementing this soon.

from esp8266-react.

uncodead avatar uncodead commented on July 21, 2024

from esp8266-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.