-->
Page 5 of 8

Re: WiFiClient example

PostPosted: Sat Aug 29, 2015 8:27 pm
by Torah
Thank you for your time, lajolo. I am sure it works fine. You can not access it because I close the dns server. When I open it, I can make record use web browser by http://planto.oicp.net/add.php?temper=22, but however when successfully upload the .ino file, it makes no additional record.

lajolo wrote:Hello,

in your code you want to access the website:
http://planto.oicp.net/add.php?temper=22

From my browser I cannot access it.

Are you sure that the address is correct?

Can you access it from your browser?

Re: WiFiClient example

PostPosted: Sun Aug 30, 2015 1:50 am
by lajolo
Hello,

does you code work when you try the WiFiWebClient example?

Code: Select allconst char* host = "www.google.com";
.........
client.print(String("GET /search?q=arduino") + " HTTP/1.1\r\n" +


If that works, I think the problem is with your httpd access and I would open a specific topic about that.

Re: WiFiClient example

PostPosted: Sun Aug 30, 2015 5:48 am
by Torah
I tried the WiFiWebClient example before, the esp12 chip can connect the wifi too. But with change in GET url address, the data can not be recorded either.

lajolo wrote:Hello,

does you code work when you try the WiFiWebClient example?

Code: Select allconst char* host = "www.google.com";
.........
client.print(String("GET /search?q=arduino") + " HTTP/1.1\r\n" +


If that works, I think the problem is with your httpd access and I would open a specific topic about that.

Re: WiFiClient example

PostPosted: Sun Aug 30, 2015 6:01 am
by lajolo
I did not understand your reply.

Does your esp work with the google's url example?