Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modification #10

Open
redave opened this issue Nov 1, 2024 · 1 comment
Open

Modification #10

redave opened this issue Nov 1, 2024 · 1 comment

Comments

@redave
Copy link

redave commented Nov 1, 2024

as long as I use this coding everything is fine. and I'm waiting for further information about the canbus tja1050 in it. but I have a little question, can you add a code like autoconnect to the browser, so after we enter the wifi the browser opens immediately

example code:
WiFiManager wm;
bool res;
res = wm.autoConnect("OBD2 Master","password");

thank you for your attention.

@muki01
Copy link
Owner

muki01 commented Nov 1, 2024

Hello. Thank you for your feedback. I understand what you mean. I have tried this before and it was working but when you do it from phones it doesn't look very good because the direct browser doesn't open it opens in another way. It works fine on computers because the direct browser opens. But since it doesn't work well on phones I didn't add it to the code. In addition it is not done with WifiManager but with the DNS library. As far as I know WifiManager tries to connect to the registered network and if it can't connect it creates a captive portal and asks you to enter your Wifi information there. Correct me if I'm wrong.

It looks like this, the name of the AP is shown on the top and it shows things like autoconnect, that's why I didn't like it.
a

@muki01 muki01 pinned this issue Nov 1, 2024
@muki01 muki01 unpinned this issue Nov 1, 2024
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

No branches or pull requests

2 participants