' **********************************************************************
' * Script name:   Odometer                                            *
' * Description:   The unit send the message inside and outside the    *
' *                tw geofences d-bounce is not set                    *
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          02/25/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"

' My home
at$geofnc=1,100, 25.7798386,-80.3291855
' SkyPatrol
at$geofnc=2,100, 25.8021574,-80.33229157


'Inside the geofense
at$event=10,0,21,1,1
at$event=10,3,40,10,3674318
at$event=10,3,60,10,3674318

'at$event=11,1,21,1,1
'at$event=11,3,40,11,3674318
'at$event=11,3,60,11,3674318

at$event=12,0,22,1,1
at$event=12,3,40,12,3674318
at$event=12,3,60,12,3674318

'at$event=14,1,22,1,1
'at$event=14,3,40,14,3674318
'at$event=14,3,60,14,3674318


'Outside the geofense
at$event=20,0,21,0,0
at$event=20,3,40,20,3674318
at$event=20,3,60,20,3674318

'at$event=21,1,21,0,0
'at$event=21,3,40,21,3674318
'at$event=21,3,60,21,3674318

at$event=22,0,22,0,0
at$event=22,3,40,22,3674318
at$event=22,3,60,22,3674318

'at$event=24,1,22,0,0
'at$event=24,3,40,24,3674318
'at$event=24,3,60,24,3674318

at+cgatt=1
at$areg=2

at&w
