' **********************************************************************
' * Script name:   GPS reset (AT$GPSRST)                               *
' * Description:   The unit will reset the GPS if it doesnlt have valis*
' *                gps position for 10 minutes                         *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          03/01/2011                                          *
' **********************************************************************
' --------------------------------------------------------------------
' General configuration
' --------------------------------------------------------------------
AT&F
AT+GSN
AT$PKG?
AT$MDMID?
at+cgatt=0
at+cgdcont=1,"IP","internet3.voicestream.com"
at$friend=1,1,"209.42.60.137"
at$udpapi=,1720

AT$GPSRST=1,0

at$event=10,0,8,1,1
at$event=10,3,40,10,3674318
at$event=10,3,60,10,3674318

at$event=11,0,8,0,0
at$event=11,3,40,11,3674318
at$event=11,3,60,11,3674318

at$event=12,0,27,0,0
at$event=12,3,40,12,3674318
at$event=12,3,60,12,3674318

at$event=13,0,27,1,1
at$event=13,3,40,13,3674318
at$event=13,3,60,13,3674318

AT$GPSRST?

at$areg=2
at&w
