Access point to SSID selector - Adafruit ESP32 Feather V2

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mikedmorris
 
Posts: 29
Joined: Sat Dec 07, 2013 3:59 am

Access point to SSID selector - Adafruit ESP32 Feather V2

Post by mikedmorris »

I'm looking for sample Arduino code to set up the ESP32 Feather as an access point, serve a web page that allows users to see nearby SSIDs, select an SSID and enter password, then reset as WIFI client on the selected SSID and serve a DIFFERENT web page. Has anybody seen an example like that before?

Would also be nice to detect a long press on the reset and go back to Access Point serving the SSID selector page again.

User avatar
mikedmorris
 
Posts: 29
Joined: Sat Dec 07, 2013 3:59 am

Re: Access point to SSID selector - Adafruit ESP32 Feather V2

Post by mikedmorris »

To clarify:
  • Long press the reset button on an Adafruit Feather ESP32 board causes it to boot in AP mode with an open SSID, serving a web page that lists nearby WIFI SSIDs.
  • From that web page, user can select a SSID and enter the WPA password, and click Save/Reboot.
  • When the board reboots, it will be in client mode on the selected WIFI network and serve a different web page to the user on its new DHCP-assigned IP address on the selected WIFI network.
  • Quick press reset reboots and stays in client mode, long press reset to go back to open AP with SSID selection page served again.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”