Avatar for user65089

user65089

Member since May 2016 • Last active May 2016
  • 0 conversations
  • 2 comments

Most recent activity

  • in ESP8266
    Avatar for user65089

    I had the same problem until I flashed the correct firmware on the ESP8266.
    After that i disconnected and reconnected the ESP and it worked

  • in ESP8266
    Avatar for user65089

    I have downloaded what I think is the latest version, and is currently testing the Wifi-part of it.
    I can load the wifi-module and serve as AP, but when trying to connect as client to my network I just get the response >=Undefined

    Here is an extract of my test

     _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
    1v85.tve_master_66fde09 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
    

    process.memory()
    ={ "free": 1571, "usage": 29, "total": 1600, "history": 13 }
    var wifi = require("Wifi");
    =function () { [native code] }
    wifi.connect("MYSSID", {password:"MYSSIDPWD"}, function(err){console.log("connected? err=", err, "info=", wifi.getIP());});
    =undefined
    wifi.getIP()
    ={
    "ip": "0.0.0.0",
    "netmask": "0.0.0.0",
    "gw": "0.0.0.0",
    "mac": "5c:cf:7f:11:67:28"
    }
    wifi.getStatus()
    ={
    "mode": "sta+ap",
    "station": "connecting",
    "ap": "enabled",
    "phy": "11n",
    "powersave": "ps-poll",
    "savedMode": "off"
    }
    wifi.setDHCPHostname("espruino");
    =undefined
    wifi.startAP("my-ssid")
    =undefined
    wifi.getAPIP()
    ={
    "ip": "192.168.4.1",
    "netmask": "255.255.255.0",
    "gw": "192.168.4.1",
    "mac": "5e:cf:7f:11:67:28"
    }

    The wifi.connect doesn't seem to ever respond

    Anyone tried the ESP8266 as a client ?

Actions