• Sat 2017.02.25

    The Espruino page on Internet has numerous examples

    but only when connected as a station. It is also required to be able to connect via code or a command in the WebIDE left panel.

    I'm still struggling with connecting to the ESP8266-12 using a request only from the browser in ap mode. The browser never connects and times out.

    This site can’t be reached took too long to respond.
    Checking the connection
    Checking the proxy and the firewall
    Running Windows Network Diagnostics

    I have been successful at connecting as a station and using wifi.getAPIP(), wifi.getAPDetails(), wifi.getIP(), wifi.getStatus() (see post #1 above) to view the status while viewing responses from the browser when in station mode. A request of is never recognized in ap mode as seen by wifi.getStatus()

    Even tried forcing the IP

    var settings = {ip:'',gw:'',net­mask:''};
    wifi.setAPIP(settings, setTimeout(function(){http.createServer(­pageHandler).listen(80);},300));

    but found function setAPIP() is not available in

    1v89 Copyright 2016 G.Williams
    Uncaught Error: Function "setAPIP" not found!
     at line 3 col 8

    and the module I have wont accept a (re)flash of 1v91 http://forum.espruino.com/comments/13481­959/

    I have used Chrome's suggestion to to verify there is no proxy server set and made sure the LAN setting 'Automatically detect settings' is set.

    I have turned off the firewall and disabled anti-virus during testing.

    Currently at a loss for other ideas to test out.


Avatar for Robin @Robin started