' **********************************************************************
' * Script name:   Communication_Test (Event 41)                       *
' * Description:   The device sends the UDP messages with ack          *
' *                The unit will try to send the message every 30      *
' *                second 3 timer without IP reselection               *
' * 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.143"
at$friend=2,1,"209.42.60.137"
at$udpapi=,1720

at$acktm=3,30,0

AT$Evtim1=0
at$event=12,1,12,1,1
at$event=12,3,41,12,3674318
at$event=12,3,60,12,3674318

' use the command at$acktime=3,30,1 to setup IP reselection

at+cgatt=1

at$areg=2

at&w

