' **********************************************************************
' * Script name:   RTC Alarm                                           *
' * Description:   The device sends the UDP messages at RTC time, this *
' *                message will be generate after x minute defined in  *
' *                the last parameter od the command                   *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          05/20/2008                                          *
' **********************************************************************

' --------------------------------------------------------------------
' 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$RTCTIME?
at$rtcalrm=11,3,7,21,20,0,2	
at$RTCTIME?
at$rtcalrm?

at$event=10,1,28,1,1
AT$EVENT=10,3,40,10,3674318
AT$EVENT=10,3,60,10,3674318

at+cgatt=1
at$areg=2
at&w


