-
Can you get just the AT commands working at least? Better start from a simpler one without the fancy mdns. The goal is to get the at command object working for you: https://www.espruino.com/modules/ESP8266WiFi_0v25.js
This is (again) from the original post
var wifi = require("ESP8266WiFi_0v25").connect(Serial, function(err) {
But you're requiring
Wifi
so I'm not sure if you should be expecting AT commands there as that's a completely different module. http://www.espruino.com/Reference#Wifi
-
Oof, I've been blindly trying out code snippets and fixating on this being a variable scoping-issue, without thinking 🤦♂️.
I'm using an Ai-Thinker ESP32-S board, and without knowing the inner workings it makes perfect sense that the internal setup would not be done using AT-commands--as opposed to how a WiFi-board + μC setup would have to.
Thanks for helping out this far 🙂!
Ah, I see 🙂. I used the access point feature only, so never really had to call
connect
, I updated the example, still getting the same error I'm afraid 🤔.