So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Fluxanode
#93789 Just got started with the ESP01s. I can communicate to it serially using AT commands but when i try to connect to an AP it just says error.

Here are the commands and responses:

AT
OK

AT+CWLAP

+CWLAP:(3,"Volt-Era#7",-49,"04:18:d6:a4:0c:ee",1,-14,0)
+CWLAP:(3,"Aston_N_2G",-61,"94:83:c4:06:cd:69",6,6,0)
+CWLAP:(3,"ubnt",-45,"68:72:51:06:ad:b5",7,-6,0)

OK
AT+CWMODE=1


OK
AT+CWLAP

+CWLAP:(3,"Volt-Era#7",-49,"04:18:d6:a4:0c:ee",1,-14,0)
+CWLAP:(3,"Aston_N_2G",-63,"94:83:c4:06:cd:69",6,6,0)
+CWLAP:(3,"ubnt",-51,"68:72:51:06:ad:b5",7,-6,0)

OK
AT+CWJAP=”ubnt”,”sidelobe”

ERROR

What am I doing wrong?
User avatar
By Inq720
#94093
davydnorris wrote:Double check these are all 2.4G APs - 5G is so common these days but the ESP8266 is only a 2.4G module and it's a common mistake to make when you see a list of APs in every other device.


I don't use the AT way of talking to the ESP (so I don't know anything about it) but I would assume if his ESP is returning AP's they must be 2.4G since it can't detect 5G. Also 5G channels are well above 11.