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

extend Wifi.connect() with option bssid #1595

Closed
MaBecker opened this issue Jan 10, 2019 · 1 comment

Comments

@MaBecker
Copy link
Contributor

commented Jan 10, 2019

This will help to avoid REASON_AUTH_EXPIRE problems caused by multiple AP's with the same name.

  • Wifi.scan(),
  • filter SSID,
  • sort by strongest AP descending
  • use this BSSID as option for Wifi.connect()

@wilberforce and @jumjum123 Would be useful for ESP32 too

And It is supported by AT0v40 #

AT+CWJAP_CUR
• AT+CWJAP_CUR ="abc","0123456789"
• If SSID is "ab/,c" and password is "0123456789"/"
AT+CWJAP_CUR=“ab///,c","0123456789/"//"
• If several APs have the same SSID as “abc”,target AP can be found by bssid:
AT+CWJAP_CUR=“abc”,“0123456789”,”ca:d7:19:d8:a6:44”

AT+CWJAP_DEF
• AT+CWJAP_DEF="abc","0123456789"
• If SSID is "ab/,c" and password is "0123456789"/"
AT+CWJAP_DEF=“ab///,c","0123456789/"//"
• If several APs have the same SSID as “abc”,target AP can be found by bssid:
AT+CWJAP_DEF =“abc”,“0123456789”,”ca:d7:19:d8:a6:44”

@MaBecker MaBecker self-assigned this Apr 10, 2019

@MaBecker

This comment has been minimized.

Copy link
Contributor Author

commented Apr 10, 2019

@gfwilliams glad you developed networkParseMACAddress() this will save me a lot of time - thanks!

@MaBecker MaBecker closed this Apr 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.