' **********************************************************************
' * Script name:   POsition to the serial port                         *
' * Description:   The device sends the messages (11) when the main    *
' *                power is disconnected and when it is reconnected    *
' *                (12)                                                *
' * Responsible:   Rogelio Ayala                                       *
' * Date:          05/21/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$EVENT=11,0,3,0,0
AT$EVENT=11,3,40,11,3674318
AT$EVENT=11,3,60,11,3674318

AT$EVENT=12,0,3,1,1
AT$EVENT=12,3,40,12,3674318
AT$EVENT=12,3,60,12,3674318

at+cgatt=1

at$areg=2

at&w
