' **********************************************************************
' * Script name:   Event engine                                        *
' * Description:   The event engine is disabled with input 1 to ground *
' *                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$evtim1=10

AT$EVENT=10,1,12,1,1
AT$EVENT=10,3,40,10,3674318
AT$EVENT=10,3,60,10,3674318

at$stoatev=1,AT$EVTOFF=0
at$stoatev=2,AT$msgsnd=0,"Event Engine Enabled"

at$stoatev=3, AT$EVTOFF=1
at$stoatev=4,AT$msgsnd=0,"Event Engine Disabled"

AT$EVENT=11,0,0,0,0
AT$EVENT=11,3,44,1,0
AT$EVENT=11,3,44,2,0

AT$EVENT=12,0,0,1,1
AT$EVENT=12,3,44,3,0
AT$EVENT=12,3,44,4,0

at+cgatt=0
at$areg=2

at&w
