You are reading a single comment by @Ollie and its replies. Click here to read the full conversation.
  • Where is that function call to main() coming from? Do you have code saved that is loaded at boot?

    You should get this, or similar, this is the output of a connection with screen:

    |   __|___ ___ ___ _ _|_|___ ___ 
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v91.122 Copyright 2016 G.Williams
    
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    Flash map 4MB:512/512, manuf 0xef chip 0x4016
    
    >var wifi=require("Wifi")
    =function () { [native code] }
    >wifi.getStatus()
    ={ 
      "mode": "sta", 
      "station": "connected", 
      "ap": "disabled", 
      "phy": "11n", 
      "powersave": "ps-poll", 
      "savedMode": "off"
     }
    
    

    In the terminal try issue a reset() first, this will clear saved code, then issue a save() then try again.

About

Avatar for Ollie @Ollie started