Hidden/empty AP SSID

meneldor
Posts: 75
Joined: Mon Dec 25, 2017 7:28 am

Hidden/empty AP SSID

Postby meneldor » Thu Jan 25, 2018 8:10 am

Hello,

i searched but didnt find any answer to my problem. My router doenst broadcast the SSID(its hidden). I have a web configuration page on my esp32 where i scan for available AP's. The scan shows many AP's with hidden ssid's so i dont know which one to connect to.
What to set to wifi_config_t as SSID when its empy? How it knows which of them to connect if they are all hidden?

Thanks!

meneldor
Posts: 75
Joined: Mon Dec 25, 2017 7:28 am

Re: Hidden/empty AP SSID

Postby meneldor » Fri Jan 26, 2018 5:46 pm

Please guys, i need help.

vonnieda
Posts: 145
Joined: Tue Nov 07, 2017 3:42 pm

Re: Hidden/empty AP SSID

Postby vonnieda » Sun Jan 28, 2018 9:15 pm

You should be able to use bssid (mac address) instead of ssid. See: https://esp-idf.readthedocs.io/en/lates ... p_record_t

meneldor
Posts: 75
Joined: Mon Dec 25, 2017 7:28 am

Re: Hidden/empty AP SSID

Postby meneldor » Sun Jan 28, 2018 10:13 pm

I tried with sta.bssid and sta.bssid_set = 1 but it aborts on esp_wifi_connect.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Hidden/empty AP SSID

Postby WiFive » Sun Jan 28, 2018 10:41 pm

You should prompt the user to enter the ssid before scan and use the ssid in the scan config.

Who is online

Users browsing this forum: No registered users and 75 guests