' **********************************************************************
' * Script name:   Ouput_Flash_Test                                    *
' * Description:   The device flash the GPIO#3 with IO1 low            *
' *                flash GPIO2 inside the geofense 1                   *  
' *                flash GPIO3 inside the geofense 2                   *  
' * Responsible:   Ramiro Sanchez                                      *
' * Date:          02/21/2011                                          *
' **********************************************************************

' --------------------------------------------------------------------
' General configuration
' --------------------------------------------------------------------
AT&F
AT+GSN
AT$PKG?
AT$MDMID?
at$Areg=0
at+cgdcont=1,"IP","internet3.voicestream.com"
at$areg=2
at$friend=1,1,"209.42.60.137"
at$udpapi=,1720


' --------------------------------------------------------------------
' Flash IO3 5 times with IO1 low
' --------------------------------------------------------------------
at$event=11,1,0,0,0
at$event=11,3,34,524304,5

' --------------------------------------------------------------------
' Flash IO2 5 times inside the geofence 1
' --------------------------------------------------------------------
at$event=12,1,21,1,1
at$event=12,3,33,524304,5

' --------------------------------------------------------------------
' Flash IO5 5 times inside the geofence 2
' --------------------------------------------------------------------
at$event=13,1,22,1,1
at$event=13,3,36,524304,5

' --------------------------------------------------------------------
' Flash IO3 5 times with IO1 low
' --------------------------------------------------------------------
at$event=14,1,0,1,1
at$event=14,3,34,1572888,5

at&w
