esp8266 wifi.scan ESPRUINO
Posted: Sun Dec 05, 2021 7:19 am
Helo! Try wifi.scan :
wifi = require("Wifi");
wifi.scan(function(err,ap_list){
if (err) {
console.log("result: error: "+err+"list: "+ap_list);
return;
}
console.log("Connected!"+"result2: error: "+err+"list: "+ap_list);
Why it always returns err= empty, ap_list undefined , if there are a lot of access points around?
Espuino v2.09
wifi = require("Wifi");
wifi.scan(function(err,ap_list){
if (err) {
console.log("result: error: "+err+"list: "+ap_list);
return;
}
console.log("Connected!"+"result2: error: "+err+"list: "+ap_list);
Why it always returns err= empty, ap_list undefined , if there are a lot of access points around?
Espuino v2.09