So I finally got my ESP8266 soldered to my pico using the shim and am having a couple of issues but the one I can't get around right now is that it won't see any APs even though there are at least 10 available in my immediate area. Here is the code I'm using:
Serial2.setup(9600, { rx: A3, tx : A2 });
var wifi = require("ESP8266WiFi").connect(Serial2, function(err) {
if (err) throw err;
/* console.log("turning on debugging");
wifi.at.debug(); */
wifi.getVersion(function(err, version) {
if (err) throw(err);
console.log("version = " + version + ", resetting wifi");
wifi.reset(function(err) {
if (err) throw err;
wifi.getAPs(function(err, aps) {
if (err) throw(err);
console.log("APs: [" + aps + "]");
});
});
});
});
and I get the following output:
version = 0018000902-AI03, resetting wifi
APs: []
I also tried using my phone as a mobile hotspot and placing it immediately adjacent to the antenna in case it seemed like an antenna performance problem. Any ideas?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
So I finally got my ESP8266 soldered to my pico using the shim and am having a couple of issues but the one I can't get around right now is that it won't see any APs even though there are at least 10 available in my immediate area. Here is the code I'm using:
and I get the following output:
version = 0018000902-AI03, resetting wifi
APs: []
I also tried using my phone as a mobile hotspot and placing it immediately adjacent to the antenna in case it seemed like an antenna performance problem. Any ideas?