My objective is to be able to communicate using Wifi Shield on UDP packets. I am unable to do so. Currently I am using Wifi Firmware version 1.0 that came with the shield. Upon googling, I found that I should have firmware version 1..1 to enable udp packets. How do I get the firmware?
I found firmware on the arduino's website. But, I can't download it? And does it solve UDP problem?
It will solve most connection problems except the server. The udp and tcp client should work ok for you. There are some bugs in the way sockets are allocated, but I have that part worked out. That is in the library code, not the firmware.
I am still chasing the bugs in the server library.
Good instruction page, Matt!
edit: If you want to see/correct the bugs in the wifi library, here are the ones I found:
This corrects a bug that depletes the sockets if the tcp client connection fails 4 times.
This corrects a bug that also depletes the sockets if you start and stop udp 4 times.
This corrects a bug in the way that listening protocols allocate sockets.
This corrects a bug that erroneously releases a socket that should still be reserved for a listening socket.
I am using Arduino Due. I wasn't aware that firmware versions for Wifi Shield are provided with the Arduino IDE download.
I was able to download the required software and upgrade the firmware.
I am able to communicate between two WiFi Shields over UDP and now can begin working on my project. I found the following hyperlink very useful as well: