Arduino Forum

Products => Arduino GSM Shield => Topic started by: Weller on Jul 07, 2015, 05:23 pm

Title: GSM Client - auto connect at interval
Post by: Weller on Jul 07, 2015, 05:23 pm
Hi,

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.

Thanks!
Title: Re: GSM Client - auto connect at interval
Post by: Weller on Jul 16, 2015, 10:50 am
Anyone able to offer some advice with this?  Was hoping it was a simple solution....