' ***********************************************************************
' * Script name:   Net IP                                               *
' * Description:   The unit sends a message when get and lose an IP     *
' * Responsible:   Ramiro Sanchez                                       *
' * Date:          02/22/2011                                           *
' ***********************************************************************
' --------------------------------------------------------------------
' General configuration
' --------------------------------------------------------------------
at&f
at+cgsn
at$pkg
at+cgmr
at+cgatt=0
at+cgdcont=1,"IP","internet3.voicestream.com"
at$UDpAPI=,1720
at$Friend=1,1,"209.42.60.137"

AT$EVENT=10,0,10,1,1
AT$EVENT=10,3,60,10,3674318

AT$EVENT=11,0,11,1,1
AT$EVENT=11,3,60,11,3674318

AT$EVENT=12,0,11,0,0
AT$EVENT=12,3,60,12,3674318

at+cgatt=1

at$areg=2

at&w

