-->
Page 1 of 3

esp8266-05 AT+CWLAP error

PostPosted: Mon Jul 27, 2015 2:48 pm
by mishagu
Hi,

I just got a new ESP-8266-05 and tried it with the same script that worked fine for another ESP8266. I connected antenna. Hooked up to Arduino UNO. The chip responds to AT by OK. AT+CIFSR returns 192.168.4.1 and OK. But AT+CWLAP returns: ERROR. I tried all combinations of CR, Newline from the Serial Monitor: CR+NL returns ERROR. CR alone echoes the command but shows nothing, and cursor sits on the same line behind the last letter P. NL alone echoes command, returns empty line and then ERROR. No line ending - same as CR alone.

Why does it return "ERROR" and no list of APs?

Re: esp8266-05 AT+CWLAP error

PostPosted: Mon Jul 27, 2015 5:42 pm
by martinayotte
This kind of error is usually that you forgot to switch to STA or STA+AP mode.
You change change mode using AT+CWMODE=0 or AT+CWMODE=2.
Then, you can issue the AT+CWLAP command.

Re: esp8266-05 AT+CWLAP error

PostPosted: Thu Sep 10, 2015 1:51 am
by Anthony Perks
Yeah, I'm getting the same error, and I've definitely got it set correctly in the CWMODE setting. It is set at 2.

Code: Select allsend : AT+RST
response : AT+RST

OK

 ets Jan  8 2013,rst cause:4, boot mode:(3,0)

wdt reset
load 0x40100000, len 612, room 16
tail 4
chksum 0x12
load 0x3ffe8000, len ,tc
84tumdoS
 
 tuslŽCÿ

Vendor:www.ai-thinker.com

SDK Version:0.9.5(b1)
Compiled @:Dec 25 2014, 21:50:58
ready

done
send : AT+CWMODE?
response : AT+CWMODE?
+CWMODE:2

OK

done
send : AT+CWLAP
response : AT+CWLAP

ERROR


Any ideas? No idea why this isn't working.

Re: esp8266-05 AT+CWLAP error

PostPosted: Sun Sep 13, 2015 11:57 am
by Polohpi
hi ,

i have a the same problem expet that i have an error at every command in the mode 1 2 and 3. i have juste updated to the version v.0.9.2.2.

I don't know what to do.