• 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 192.168.4.1 request only from the browser in ap mode. The browser never connects and times out.

    This site can’t be reached

    192.168.4.1 took too long to respond.
    Try:
    Checking the connection
    Checking the proxy and the firewall
    Running Windows Network Diagnostics
    ERR_CONNECTION_TIMED_OUT

    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 192.168.4.1 is never recognized in ap mode as seen by wifi.getStatus()

    Even tried forcing the IP

    var settings = {ip:'192.168.4.1',gw:'192.168.1.254',net­mask:'255.255.255.0'};
    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.

About

Avatar for Robin @Robin started