' **********************************************************************
' * Script name:   Enabled and disable the log                         *
' * Description:   With the command at$msglogen=0 allow to the unit    *
' *                send the messages to the server                     *
' *                With the command at$msglogen=1 allow to the unit    * 
' *                save the messages in the buffer                     *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          03/03/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=12,1,12,1,1
at$event=12,3,40,12,3674318
at$event=12,3,60,12,3674318

at$event=13,1,13,1,1
at$event=13,3,40,13,4102
at$event=13,3,60,13,4102

' use the command AT$MSGLOGEN=X to enabled and disabled

at+cgatt=1

at$areg=2

at&w
