-->
Page 1 of 2

I cannot seem to get connected to an AP

PostPosted: Wed Mar 02, 2022 4:06 pm
by Fluxanode
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?

Re: I cannot seem to get connected to an AP

PostPosted: Sun Mar 20, 2022 9:08 am
by rpiloverbd
If you type
Code: Select allAT+CWJAP?

what response do you get?

Re: I cannot seem to get connected to an AP

PostPosted: Fri Mar 25, 2022 6:28 pm
by davydnorris
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.

Re: I cannot seem to get connected to an AP

PostPosted: Sat Mar 26, 2022 6:35 am
by Inq720
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.