' **********************************************************************
' * Script name:   Evtest as event                                     *
' * Description:   The unit excecute at$evtest=0,0 every time 1,       *
' *                and enabled with input 1 to high                    *
' * 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$event=10,1,0,0,0
AT$EVENT=10,3,40,10,3674318
AT$EVENT=10,3,60,10,3674318

at$evtim1=10
at$event=12,1,12,1,1
at$event=12,3,50,0,0

at+cgatt=0
at$areg=2

at&w
