Go Down

Topic: How to call a simple webpage with WiShield 2.0 (Read 386 times) previous topic - next topic


I'm trying to figure out the easiest way to call a webpage using my WiShield 2.0. I've been poking around with the Web Client example code but can't seem to get it working. Note that examples to do this with the Ethernet shield are not of much use because the libraries are not compatible.

This is for a test project and all I want to do is call a site such as http://xxx.xxx.xxx.xxx/pagename.php?q=variabletext

I thought I might be able to use webclient_get() for this such as: webclient_get(server_ip, 80, texttopass); but that doesn't seem to work. When I debug I can see that "texttopass" correctly shows up as: "/pagename.php?q=texttopass"

I suspect I'm using webclient_get() incorrectly but it doesn't throw any errors during compile or debugging.

Any tips?



Any tips?

One. Post your code. We have no idea which library you are using, so any help would be just guesswork, and it seems you've done enough guessing.
The art of getting good answers lies in asking good questions.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131