• Hi!
    I am still learning so I want to apologize in advance if I say something incorrect.

    The thing is, I initialize the Espruino as an AP and create a Web Server with the AP IP address. The pages presented by the Web Server show a list of the nearby Access Points detected by "wifi.scan" in checkboxes. It also has 4 text fields: to introduce the WiFi password, an IP, a Gateway and a Netmask. The customer should select one of the detected WiFi networks and fill the blanks in the four text fields.
    With the inputs submitted by the customer it tries to connect to this new WiFi and creates another WebServer with the IP, gateway and netmask received.

    So, after this process Espruino WiFi should be able to have simultaneously the AP generated by the Espruino and connected to the WiFi network, each one with its Web Server associated. When I create the second page, the first Web Server disappears, and also the Espruino stops working as an AP itself.

    How can I keep both Web Servers active and the Espruino working as an AP also connected to the new WiFi network I receive? Am I missing something important?

    Thanks for the help!


Avatar for M.Montore @M.Montore started