ESP-IDF APSTA Mode - test STA credentials

greycon
Posts: 33
Joined: Fri Nov 03, 2023 9:59 pm

ESP-IDF APSTA Mode - test STA credentials

Postby greycon » Mon Mar 04, 2024 5:04 pm

Hi, I have a device which issues a configuration page to a browser, allowing users to select an SSID, and enter a Password. I then want to test those credentials, using the device as STA. I have started the device in APSTA mode, and issued a scan for SSIDs. So, the user connects to the device with their browser - the device acts as AP.

Now, how do I take the SSID and Password posted back from the browser and test a connect as STA ? If I change the WiFi STA config, and restart WiFi, I fear that the browser will lose the connection.

Has anyone else done something along these lines?

Who is online

Users browsing this forum: No registered users and 112 guests