I'd like my IoT device to power up in a state where the user need only type 192.168.4.1 into the browser to gain access to a web page that would enable them to enter their ssid and p/w to gain access.
This is only possible if connected to the ESPs AP
OK - let me try to explain a possible way how to manage this:
ESP can not connect to a AP, so ESP offers his own AP and starts a http server to receive a SSID and Password to connect to over simple html form offered by that server.
Take a smart phone, connect to the ESP APs and open a browser to connect to 192.168.4.1 and enter SSID and Password. sample page
Now ESP tries to connect to that given AP and if connected saves that information and stops his AP and http server
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
This is only possible if connected to the ESPs AP
OK - let me try to explain a possible way how to manage this:
ESP can not connect to a AP, so ESP offers his own AP and starts a http server to receive a SSID and Password to connect to over simple html form offered by that server.
Take a smart phone, connect to the ESP APs and open a browser to connect to 192.168.4.1 and enter SSID and Password. sample page
Now ESP tries to connect to that given AP and if connected saves that information and stops his AP and http server
Is this what you are thinking of ?