A place users can post their projects. If you have a small project and would like your own dedicated place to post and have others chat about it then this is your spot.

User avatar
By jegor
#4195 Good evening, this is my first post here: I hope I'm posting in the right category.

I've bought an ESP8266 few days ago and I've made it work.
The firmware version is the last available from manufacturer.

I'm facing two problems:

PROBLEM 1

With AT+CWLAP it lists all routers nearby.
The data received via serial (ESP8266 > Arduino UNO > Mac OSX) are partially lost after the third row transmitted.
The transmission is set to 9600Kbaud, because if I set it faster, it loses much more data.
Here and example of response @ 9600:
+CWLAP:(4,"Alice-18134503",-86,"00:1d:8b:64:06:1c",1)
+CWLAP:(3,"MILO-PC_Network",-89,"44:94:fc:95:b7:a3",1)
+CWLAP:(4,"Telecom-47165881",-86,"30:39:f2:cf:b1:bf",1)
+CWLAP:(1,"Alice-96468788",-94,"00:1d8b61d3:0"1)
+CLAP(,"jgetta,-6,"0:3:1:b:7:62,1)
CWAP:3,Voafne-16366",89"002489:c:7:4",1)
+CLA:(4"Tleom-43103",79"dc0b1a:4:f:7",1)
+CLA:(4"lic-583885,-9,"0:2:5:0:b150,11
CWLP:2,Voafoe-05168",91,0024:9:e:4:9",1)

As you can see already @ third row, there is a comma missing near "1)", in following rows there are more and more of chars missing.

Have somebody faced same problem? How you solved it?

PROBLEM 2:

I would like to retrieve informations about the nearby devices that have wifi enabled (cellphones, pcs, ...)
To do this, I've ridden that is needed to activate the "monitor mode" or "promiscuous mode", but this modes are not selectable using the command AT+CWMODE with the last version of firmware.

Do anyone found how to enable this modes? Are there some other firmwares that enables these modes?

Thanks

Jegor
User avatar
By alemanien
#6603 I have the same problem. I have used a few hours but my AT+CWLAP response is this:

AT+CWLAP

+CWLAP:(2,"MOVISTAR_6E35",-72,"e4:c1:46:7b:6e:35",1)
+CWLAP:(2,"MOVISTAR_5AB7",-87,"d8:61:94:4b:5ab,)+LP0YIeeM19T536"8"25d568")+WP0SNR,9":ad6c1,)+LP2vdoFE,56:::8ff,
CL:,SSA-7dc:::f71
CA:,iioetH- 130,4"::d528,
+L:0WILEo9273Ma,8":5d43f,)+LP2WRE_,3":20c6f,)+LP0BNi.O3B"9"05decd")+LP0SNR,8":ad937,)+LP1WN2,7"::703c,
+L:0HPi--srt0"9"c4cb78"1
CA("HE,9":020dd,1
WA("i-ucm577b O-,016:::01

K

I use an arduino nano and ESP-01


Thanks
User avatar
By pi-xel
#6621 Hello Jegor,

concerning problem #1:
How reliable is your cabling?
Do you use hardware serial of your arduino and do you have other components connected parallel?
Make sure that only esp8266 is connected to rx tx.

Good luck.
pi-xel
User avatar
By sbouba
#8171 Hello,

same issue here.

My setup :

USB/Serial FTDI from sparkfun
Arduino 5V
esp8266 powered with a 3.3V regulator (all power comes from ftdi)

I'm using sofware serial (pins 10, 11) to talk to the esp8266.

Code: Select allAT


OK
AT+GMR

0018000902-AI03

OK
AT+CIOBAUD?

+CIOBAUD:9600

OK
AT+CWLAP

+CWLAP:(3,"Eric Cachan",-85,"b8:c7:5d:02:09:af",1)
+CWLAP:(0,"FreeWifi",-54,"f4:ca:e5:b8:06:25",)+WP2Feiy-5fceb::"1
CA(,rWisu"5,4a5802,)
WP2Min-,02d6::"1
CA("aamsn-,086e1:")+LP0Fei"8":4485d,)+WP0Fei_ce,102::::21
K


Every other command works fine. I was able to connect to the esp set up as server with putty. I worried that if I continue like that, I will meet more issues when sending/receiving bigger data.

I suspect the power supply to be the origin of the problem but I'm not sure. I will try to do a setup with an external power supply.

Any help is welcomed. Thanks