' **********************************************************************
' * Script name:   Bit 6                                               *
' * Description:   Setup ther bit 6 to 1 to allow savethe messages if  *
' *                the unit is out of GPRS coverage                    *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          03/04/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


' Message with bit 6 enabled
at$event=10,1,12,1,1
at$event=10,3,40,10,3674318
at$event=10,3,60,10,3674318

' Message with bit 6 not enabled
at$event=12,1,13,1,1
at$event=12,3,40,12,3674254
at$event=12,3,60,12,3674254

at+cgatt=1

at$areg=2

at&w
