You are reading a single comment by @rj and its replies.
Click here to read the full conversation.
-
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 🙂!
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
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