Wifi.setIP on ESP32 Not working?

Posted on
  •  _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v95 Copyright 2017 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    >var wifi = require('Wifi');
    =function () { [native code] }
    >var settings = { ip : '192,168,1,10', gw:'192,168,1,1', netmask:'255,255,255,0' };
    ={
      "ip": "192,168,1,10",
      "gw": "192,168,1,1",
      "netmask": "255,255,255,0"
     }
    >wifi.setIP(settings);
    Uncaught Error: Function "setIP" not found!
     at line 1 col 6
    wifi.setIP(settings);
    
  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Wifi.setIP on ESP32 Not working?

Posted by Avatar for Alexander @Alexander

Actions