' **********************************************************************
' * Script name:   Event UDP by timer                                  *
' * Description:   Send the messages via UDP and serial port every     *
' *                timer 1                                             *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          03/08/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$evtim1=0

at$event=11,1,12,1,1
at$EVENT=11,3,40,11,2147483854
at$EVENT=11,3,60,11,2147483854

at$event=12,1,12,1,1
at$EVENT=12,3,40,12,2147483854
at$EVENT=12,3,60,12,2147483854

at$event=13,1,12,1,1
at$EVENT=13,3,40,13,2147483854
at$EVENT=13,3,60,13,2147483854

at$event=14,1,12,1,1
at$EVENT=14,3,40,14,2147483854
at$EVENT=14,3,60,14,2147483854

at$event=15,1,12,1,1
at$EVENT=15,3,40,15,2147483854
at$EVENT=15,3,60,15,2147483854

at$event=16,1,12,1,1
at$EVENT=16,3,40,16,2147483854
at$EVENT=16,3,60,16,2147483854

at$event=17,1,12,1,1
at$EVENT=17,3,40,17,2147483854
at$EVENT=17,3,60,17,2147483854

at+cgatt=1
at$areg=2

at&w

at$msglogrd?

at$evtest=12,1

