' **********************************************************************
' * Script name:   Invalid GPS                                         *
' * Description:   Unit sends a messages when it lost the gps and when *
' *                it gets a valid gps position                        *
' * 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$EVENT=10,1,27,0,0
'AT$EVENT=10,3,40,10,3674318
'AT$EVENT=10,3,60,10,3674318

'AT$EVENT=11,1,27,1,1
'AT$EVENT=11,3,40,11,3674318
'AT$EVENT=11,3,60,11,3674318

AT$EVENT=20,0,27,0,0
AT$EVENT=20,3,40,20,3674318
AT$EVENT=20,3,60,20,3674318

AT$EVENT=21,0,27,1,1
AT$EVENT=21,3,40,21,3674318
AT$EVENT=21,3,60,21,3674318

at+cgatt=1

at$areg=2

at&w

