-->
Page 1 of 2

iot_demo wifi scan functions do not work

PostPosted: Wed Feb 11, 2015 5:55 pm
by sfranzyshen
Hi I have been playing around with the iot_demo and have noticed that the wifi scan functions do not work. If I do a http://192.168.4.1/client?command=scan it responds back with ...

{
"Response":{
"TotalPage":2
}

but then if I try and read the results with a http://192.168.4.1/client?command=scan&page=1 I get this back ...

{
"successful": false,
"data": null
}

I have tested this with several version of the iot_demo (sdk) and they all seam to have this same bug ... at least one person has noticed this on the ai-thinker site ...
http://www.ai-thinker.com/forum.php?mod=viewthread&tid=691
but no one seams to even use it ... or have a fix ... just putting it out there to see if anyone has a fix???

Re: iot_demo wifi scan functions do not work

PostPosted: Thu Mar 19, 2015 1:59 pm
by Brentao
I have the exact same thing ! It's very strange because it worked once, but it's failling always right now..

Re: iot_demo wifi scan functions do not work

PostPosted: Thu Mar 19, 2015 10:11 pm
by Athena
Hi,

AP can't scan, only station can scan routers..

Here is a sample code about wifi scan http://bbs.espressif.com/viewtopic.php?f=21&t=229

Re: iot_demo wifi scan functions do not work

PostPosted: Fri Mar 20, 2015 7:32 am
by Brentao
The OP mode of my esp8266 is 0x03 (STATIONAP_MODE) and I still get this "error" message..
Thanks for your help in advance.