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
Closed

extend Wifi.connect() with option bssid #1595

MaBecker opened this issue Jan 10, 2019 · 1 comment
Assignees
Labels
enhancement ESP8266 This is only a problem on ESP8266 devices

Comments

@MaBecker
Copy link
Contributor

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 added enhancement ESP8266 This is only a problem on ESP8266 devices labels Jan 10, 2019
@MaBecker MaBecker self-assigned this Apr 10, 2019
@MaBecker
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ESP8266 This is only a problem on ESP8266 devices
Projects
None yet
Development

No branches or pull requests

1 participant