' **********************************************************************
' * Script name:   Odometer                                            *
' * Description:   the unit send the message every 100 meters with     *
' *                odometer as part of the message                     *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          02/22/2011                                          *
' **********************************************************************
' --------------------------------------------------------------------
' General configuration
' --------------------------------------------------------------------
at&f
at+cgsn
at$pkg
at+cgmr
at$areg=0
at+cgdcont=1,"IP","internet3.voicestream.com"
at$UDpAPI=,1720
at$Friend=1,1,"209.42.60.137"

at$odometer=0

AT$EVENT=11,1,16,100,100000
AT$EVENT=11,3,40,11,3674318
AT$EVENT=11,3,60,11,3674318

AT$EVENT=12,0,70,1000,100000
AT$EVENT=12,3,40,12,3674318
AT$EVENT=12,3,60,12,3674318

at$areg=2
at&w

