Go Down

Topic: CuHead Wifi dropping requests (Read 341 times) previous topic - next topic

ndui

I'm using the Arduino Uno with CuHead wifi shield and the user contributed library from asynclabs.. https://github.com/asynclabs/WiShield_user_contrib

I've had to update the library to IDE v1.0 and am basing my code off the SimpleClient example.

Problem #1:
The Arduino setup is randomly dropping my GET requests to my server.

Question: Any ideas what could be causing this or where should I be investigating?

Symptoms:

  • Typically the first request is dropped

  • Sometimes it takes multiple tries before one makes it and then it's fine.

  • When you stop sending requests for a few minutes and then start again without turning off the Arduino, the first one or two will get dropped.



Setup:
I've had the Arduino be 6 inches to 30ft away from the router. I've tried 4 different routers. When I do a ping to the server from my laptop, the connection is there and the response time is 90-120ms.


Problem #2:
The response time from the server varies... some times its almost instant and other times it literally takes a good 5-10 secs!

Question: Any theories as to why? Any way to resolve this?

Thanks,
Hiren.

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!

Arduino
via Egeo 16
Torino, 10131
Italy