Hi
I am quite new to the WiFly. I did successfully implement the demo client and also the project reading data from the web (http://bildr.org/2011/06/arduino-ethernet-client/).
My project aims of reading data quite frequently, about every 5 sec or so. This is to prevent having too big buffers on the arduino side.
I have noticed that after polling the web for a while, the routines fail and the messages read are WiFly internal message artifacts such as
*CLOS*
or
GET / HTTP/1.0
ERR: ?-Cmd
<2.23>
<2.23>
The only way I fount to resolve this without disconnecting power is to reset the WiFly. Closing the connection and reinitialize the connection is not sufficient.
Is there an easy way to this in a software routine with the provided driver? I see an example for a hardware Factory reset but not sure if this also applies for a software reset?
It would be interesting to understand why the module suddenly switches to an undefined behavior.
Thanks for any help in this matter!