' **********************************************************************
' * Script name:   Increment User variable                             *
' * Description:   The varibale are set to scpecific value with input  *
' *                1 to ground, those varibale will be incremented     *
' *                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=10,1,0,0,0
at$event=10,3,125,0,100
at$event=10,3,125,1,90
at$event=10,3,125,2,80
at$event=10,3,125,3,70
at$event=10,3,125,4,60
at$event=10,3,125,5,50
at$event=10,3,125,6,40
at$event=10,3,125,7,30
at$event=10,3,125,8,20
at$event=10,3,125,9,10
at$EVENT=10,3,60,10,2147483790

at$event=12,1,12,1,1
at$event=12,3,126,0,1
at$event=12,3,126,1,2
at$event=12,3,126,2,3
at$event=12,3,126,3,4
at$event=12,3,126,4,5
at$event=12,3,126,5,6
at$event=12,3,126,6,7
at$event=12,3,126,7,8
at$event=12,3,126,8,9
at$event=12,3,126,9,10
at$EVENT=12,3,60,12,2147483790
at$EVENT=12,3,40,12,2147483790

at+cgatt=1
at$areg=2

at&w

' use the command AT$EVTQRY=100;$EVTQRY=101;$EVTQRY=102;$EVTQRY=103;$EVTQRY=104;$EVTQRY=105;$EVTQRY=106;$EVTQRY=107;$EVTQRY=108;$EVTQRY=109 to request the current value of the variable
