Go Down

Topic: GSM Client - auto connect at interval (Read 849 times) previous topic - next topic



I'm using the GSM Web Client example to connect to the arduino.cc website to download the asciilogo.txt which works nicely.

How could I adapt this code to reconnect every 60 seconds?  The current code does it once then disconnects.  There's a for (; ; ) at the end of the loop.  If I remove this and put a delay then surely it needs to resend the HTTP GET...?  Been tinkering with it without much luck.



Anyone able to offer some advice with this?  Was hoping it was a simple solution....

Go Up