You are reading a single comment by @Ollie and its replies. Click here to read the full conversation.
  • No this is good here, but gitter sometimes faster - that's the only reason I mentioned it.

    That is a good question. Using wifi.save(), puts you outside of the normal callback approach, but you can assess connected status and do your own if test with wifi.getStatus()?

    http://www.espruino.com/Reference#t_l_Wi­fi_getStatus

    I have code to refactor now that the ESP8266 port is really quite polished. The above will be my approach. We need the "station" property and will be looking for "connected" as the value.

About

Avatar for Ollie @Ollie started