General

WiFi shield v2.2 library, dump website contents?

userHead addictiverat 2014-01-02 00:04:28 4994 Views4 Replies
About a week ago I came across a guy creating a library for this shield. At the time I didn't bookmark it. I've spent the last few days looking for that post and can't find it.  Any direction would be very help full thanks.
Also since I'm here any direction on how to connect to a website say Google.com for example and spit the source code out in serial would be awesome I've been trying for the last few weeks inputting at+ codes with no luck I meen I can connect but can't seem to send the get code to dump it.
Thanks in advanced,
A.R.
2014-01-06 01:08:41 fail! any how i did find this tho http://www.wiznet.dfrobot.kr/Sub_Modules/en/ ... F_KeyWord= 
Code: Select all
GainSpan is the manufactor of the WiFi chip used in the WizFi210 module.

You can make a HTTP GET request without HTTP AT commands.First connect to the server using at+nctcp comand:


at+nctcp=61.63.33.171,80
CONNECT 0
 
OK
-

And then send the request manually by issuing a ESC-S sequence:


<ESC>S0GET / HTTP/1.1<CR><LF>
Host: 61.63.33.171:80<CR><LF>
<CR><LF><ESC>E

Where <ESC>S0 means I wnat to send data to connection 0.And <ESC>E means end of data.After a while,you'll get the response in the following format:


<ESC>S0HTTP/1.1 200 OK
Date: Tue, 13 Sep 2011 10:30:55 GMT
Server: Apache/2.2.17 (Win32) PHP/5.3.5 DAV/2
......
</body>
</html>


Where <ESC>S0 tell you the following data was received from connection 0.All the response including HTTP header and HTML content followed.

I hope this would help you.


im running the lines threw arduino serial moniter one at a time (that ip address dosent work you need to use msn, yahoo google) when i send "<ESC>S0GET / HTTP/1.1<CR><LF>"  i get [ERROR: INVALID INPUT]
what am i missing here
userHeadPic addictiverat
2014-01-06 00:44:32 I'm just having a hard time with this thing. I'm connected to my router I have an IP address, its ping-able I get as far as at+nctcp=IP:port after that I'm dead in the water although i think i may have found something under http://www.dfrobot.com/image/data/TEL00 ... _V1.12.pdf that I'll try userHeadPic addictiverat
2014-01-05 11:22:23 Hello addictiverat
Not no one, just also can't find it.
There are a huge number of spam in the forum. It has interfered with the normal forum order.

[quote]Also since I'm here any direction on how to connect to a website say Google.com for example and spit the source code out in serial would be awesome I've been trying for the last few weeks inputting at+ codes with no luck I meen I can connect but can't seem to send the get code to dump it.[/quote]
Your mean you want to exit data-mode?
userHeadPic Grey.CC
2014-01-05 09:51:11 No one? :-\ userHeadPic addictiverat