Giter Site home page Giter Site logo

cursor position about autoconnect HOT 7 CLOSED

hieromon avatar hieromon commented on August 18, 2024
cursor position

from autoconnect.

Comments (7)

cruizg avatar cruizg commented on August 18, 2024

a question about it, if I want to turn off the AP mode, how could I do it?

from autoconnect.

Hieromon avatar Hieromon commented on August 18, 2024

About auto focus after SSID selected:
It is a good point on what is missing from AutoConnect menu. I will make improvements as soon as possible.

About turn off AP after just joined to new AP:
Execute RESET from the AutoConnect menu, ESP8266 will restart and connected to the current SSID in WIFI_STA mode.
Or is that you want to reconnect to the current SSID with WIFI_STA without resetting it? If so, you need to switch WIFI mode to STA by sketch itself after AutoConnect::begin. it will look like the following code.

AutoConnect potal;
void setup() {
  if (portal.begin()) {
    WiFi.softAPdisconnect(true);
    delay(1000);
    WiFi.setAutoReconnect(true);
    WiFi.mode(WIFI_STA);
    delay(100);
    WiFi.waitForConnectResult();
  }
}

However, with the above code, you can not receive the successfully connected screen on the smartphone. Because turning off AP mode will disconnect the smartphone. It will be possible if AutoConnect redirects the connection success screen to the IP that is connected now.
This function may be useful, but some conditions are necessary. It is necessary for the smartphone to automatically reconnect to the same AP as the AP connected to ESP8266.

from autoconnect.

cruizg avatar cruizg commented on August 18, 2024

What happens is that after configuring the AP, I would like the ESP8266AP to no longer appear in my RED list, since someone else could connect and change the settings that I already have configured in my ESP8266. I would also like that when the module is turned on again and it is not necessary to connect to the NETWORK, turn on the AP mode again and reconfigure the RED since it is possible that the NETWORK PIN has changed.
Its Great your API.
Best Regards.

from autoconnect.

Hieromon avatar Hieromon commented on August 18, 2024

Even if the connection succeeds with the first WiFi.begin() in AutoConnect, if it is different from the expected SSID, do you want to start the reconfigure the connection?

Also about autofocus to the password field, I already improved the library and It will be released soon as 0.9.4.

from autoconnect.

cruizg avatar cruizg commented on August 18, 2024

I have an esp8266 module and I configure it with your library for the AP that exposes, after configuring it it does not make sense for the AP to continue active, given that someone could access that AP and change some configuration that's why I think that after configure the AP this disappears has the module esp8266 already be connected to WiFi, but if for some reason the esp8266 is restarted or the WiFi key is changed the esp8266 should have the ability with your Liberia to be able to enable the AP again to reconfigure it .

from autoconnect.

cruizg avatar cruizg commented on August 18, 2024

Cambiar a español
Another thing your module when I start the AP I notice that it is good and it works but I think you should have the way to start with a dynamic SSID (for example the Mac or chip name) as well as start it with a key or without a password, that way the bookstore WiFi anafe, eh opted for you Liberia because in my opinion it is better developed. About autofocus, very very thanks.

from autoconnect.

Hieromon avatar Hieromon commented on August 18, 2024

I have no objection to improving the library, but clear specifications are necessary.
I feel that you have an important idea about the AutoConnect AP mode when starting the captive portal.
But please make one topic with one issue thread. If the theme is compounded it will be confusing.
I organized it as follows.

  1. Specify dynamically determined SSID without Password when AutoConnect captive portal started. issue #4.
  2. Please, you explain more clearly for turning off the AP mode at AutoConnect started.

I posted for the dynamic SSID with issue #4 and you can revise the requirement in the thread. Please, you post the "Turning off the AP" with a new issue.
A branch is made for each enhancement. Its issue whose improvement has been completed will be merged into the master branch and closed.

An enhancement of this issue as autofocus to the password field has been pushed to the branch "feature/autofocus_password_field" and you can try this one.
If there is no problem I will merge it into the master branch.

from autoconnect.

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.