• tested this images on a ESP8266 12 board

    var wifi = require("Wifi");
    wifi.connect("xxx", {password:"xxx"}, function(ap){ 
       console.log("connected"); 
      wifi.save()
    });
    

    result after reset

    >rllœž|Œlà|Œlìb|Ž‚ì’r’bŒbŒònnžlnnœâìbpŒŽlrlrlpònà‚lbnâ|ŒŽbŒònnîlŒŽl`nnl`nrŽ’’n’’l`pònàrŒœœâàbnâ|쎎ŽbŒònnîl`nnl`nrŽ’’nŽlpònàrŒœœâàìlbnâ|ŒŽŒbŒònnîl`nnl`nrŽ’’n‚l`r’’n‚l`rlŒŒnœŒònnžŒžâŒrnnnŒlŒbŽlì’lì’’‚ŒŽlll~rlì’lllnœâŒl’lllì’lŒnàŽnì’n~ŒŒllà€bìŒllpb‚br‚Œìl`nlŽpŒìl`bl`l’’nžnŒ’ânlž|bll`rlŒâì‚nì’r‚òn|ìlŒl`Œâr’lŒþ
    
         _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v92 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 0xe0 chip 0x4016
    >require("Wifi").getIP();
    ={
      "ip": "192.168.194.121",
      "netmask": "255.255.255.0",
      "gw": "192.168.194.1",
      "mac": "5c:cf:7f:c1:12:0b"
     }
    > 
    

    so it works

About

Avatar for MaBe @MaBe started