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

Connect to Wifi with Access Points #1854

Closed
GrexAut opened this issue Apr 3, 2016 · 1 comment
Closed

Connect to Wifi with Access Points #1854

GrexAut opened this issue Apr 3, 2016 · 1 comment

Comments

@GrexAut
Copy link

GrexAut commented Apr 3, 2016

Hi,

I'm trying to connect to an Wifi Network where 2 APs streaming the network.
I'm using the example "connect to wifi", and it is only printing "Connecting to xxx ........" - If I do 2 WifiScan, I find the Wifi SSIDs (Main AP, and secondary AP).

Is there an option to connect via BSSID (MAC Address)

@igrr
Copy link
Member

igrr commented Apr 4, 2016

Yes you can specify BSSID as fourth (optional) argument in WiFi.begin call.
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.h#L38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants