' **********************************************************************
' * Script name:   RTC Update                                          *
' * Description:   Use the AT$RTCtime to modify the RTC time           *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          03/07/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$RTCTIME?
at$rtctime=1,3,10,13,14,37,50
at$RTCTIME?

at+cgatt=1
at$areg=2

at&w

'Use the AT$RESET to reset the unit
'Use at$RTCTIME? to query the current RTC



