How to use CURL scan command to get esp8266 reply ssid?

mike1987
Posts: 1
Joined: Thu Jan 29, 2015 4:35 pm

How to use CURL scan command to get esp8266 reply ssid?

Postby mike1987 » Fri Jul 10, 2015 2:34 pm

Hi,
I'm use IOT DEMO Implement a sensor on esp8266,i can success use curl command=info to get esp8266 reply.But i cannot use curl command=scan?
when i send command=scan ,the esp8266 only reply" 1page".

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: How to use CURL scan command to get esp8266 reply ssid?

Postby ESP_Faye » Tue Jul 14, 2015 10:13 am

Hi,

So sorry for the inconvenience.

Please have a try with the attachment.

curl -X GET "http://192.168.4.1/client?command=scan // scan APs

curl -X GET "http://192.168.4.1/client?command=scan&page=1" //get information

curl -X GET "http://192.168.4.1/client?command=scan&finish" // release the buffer it took

Thanks for your interest in Espressif Systems and ESP8266 !
Attachments
user_webserver.zip
(9.26 KiB) Downloaded 452 times

Who is online

Users browsing this forum: No registered users and 86 guests