' **********************************************************************
' * Script name:   Set User variable                                   *
' * Description:   With  input 1 to ground set all variable to specific*
' *                value, Use the command AT$EVTQRY=10X to request the *
' *                current value of the variable                       *
' * 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,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

' 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
at+cgatt=1
at$areg=2

at&w

AT$EVTQRY=100;$EVTQRY=101;$EVTQRY=102;$EVTQRY=103;$EVTQRY=104;$EVTQRY=105;$EVTQRY=106;$EVTQRY=107;$EVTQRY=108;$EVTQRY=109
