' **********************************************************************
' * Script name:   RTC NITZ                                            *
' * Description:   Setup the RTC time according with the UTC local 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+CTZR=1
AT+CTZU=1
at%CNIV=1

AT$RTCUPD=2,1

at$RTCTIME?

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


