' **********************************************************************
' * Script name:   POsition to the serial port                         *
' * Description:   The device sends the messages to the serial port    *
' *                with input 1 in low and every timer 1               *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          05/21/2008                                          *
' **********************************************************************
' --------------------------------------------------------------------
' 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



' --------------------------------------------------------------------
' Send messajes to the serial port with input one
' --------------------------------------------------------------------
at$event=10,0,0,0,0
at$event=10,3,60,10,3674318

' --------------------------------------------------------------------
'send tcp messajes to to the serial port every x seconds defined with AT$EVTIM1
' --------------------------------------------------------------------
AT$Evtim1=0
at$event=12,1,12,1,1
at$event=12,3,60,12,3674318

at+cgatt=1

at$areg=2

at&w

