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|ìrbbònnlnnâìbplrlrlpònàlbnâ|bònnîll`nnl`nrnl`pònàrâàbnâ|ìbònnîl`nnl`nrnlpònàrâàìlbnâ|bònnîl`nnl`nrnl`rnl`rlnònnârnnnlblìlìlll~rlìlllnâllllìlnànìn~llàbìllpbbrìl`nlpìl`bl`lnnânl|bll`rlâìnìròn|ìll`ârlþ _____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| 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
@MaBe started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
tested this images on a ESP8266 12 board
result after reset
so it works