AT+CWLAP and AT+CWMODE
Posted: Sun Dec 07, 2014 11:31 am
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
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