You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hmm - actually that documentation isn't too clear... It should (IMO):

    • Close any sockets opened by the JS code (does this)
    • Clear the program/intervals/etc and not load saved code (does this)
    • Reset the pin states to power-on states (jshReset)

    Ideally it should be as close to power-on as possible, but as you say we ought to think that maybe someone will be programming it via a network connection in the future.

    So yes, I think probably leave WiFi as-is. There is the default argument when connecting to an AP or making one, and I wonder whether if that is false we should probably disconnect from WiFi (you can put it to sleep I think?).

About

Avatar for Gordon @Gordon started