You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Nope, this is for http://www.espruino.com/WiFi - the Espruino board with Wifi on it

    For now, you should be able to do:

    wifi.at.registerLine("WIFI DISCONNECT", function() {
      ...
    });  
    

    I haven't tested that but I believe it should work.

    However you should also be able to check wifi.getIP - if it fails then you'll know you're not connected.

About

Avatar for Gordon @Gordon started