You are reading a single comment by @Wilberforce and its replies. Click here to read the full conversation.
  • There is no setip function for the esp8266 wifi.

    var wifi = require("Wifi");
    wifi.connect("my-ssid", {password:"my-pwd"}, function(err){
      console.log("connected? err=", err, "info=", wifi.getIP());

    Use the code from the example page - the wifi ip will get echoed to the console..


Avatar for Wilberforce @Wilberforce started