' **********************************************************************
' * Script name:   GPS coolboot                                        *
' * Description:   The unit sent a message wehn get or lost the valid  *
' *                position in adition reset the gps every time        *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          03/01/2011                                          *
' **********************************************************************
' --------------------------------------------------------------------
' General configuration
'Used the command at$GPSCMD=0 to disable the GPS
'Used the command at$GPSCMD=1 to reset the GPS Cold start
'Used the command at$GPSCMD=2 to reset the GPS hot start
'Used the command at$GPSCMD=3 to stop the current GPS fix
' --------------------------------------------------------------------
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$stoatev=1,at$gpscmd=0
at$stoatev=2,at$gpscmd=1

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

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


at+cgatt=1

at$areg=2

at&w
