You are reading a single comment by @user158605 and its replies. Click here to read the full conversation.
  • Hi, after our detailed testing; Confirm that WiFi is indeed unable to connect properly; Unable to output information after using WiFi connection code; There is no connection record even when checking the router device

    var WIFI_NAME = "123";
    var WIFI_OPTIONS = { password : "123456789" };
    
    var wifi = require("Wifi");
    wifi.scan(function (err, networks) {
        console.log(err, networks);
        wifi.connect(WIFI_NAME, WIFI_OPTIONS, function(err) {
          if (err) {
            console.log("Connection error: "+err);
            return;
          }
          console.log("Connected!");
        });
    });
    
    
About

Avatar for user158605 @user158605 started