Sample AVL Config for FW 3.x.x
//Using more than one satellite system "GNSS" for tracking (GPS, GLONASS, Galileo, Beidou)
PFAL,GPS.NAV.GNSS=GPS,GLONASS,Galileo
//****************************************************
//Tracking based on Time and/or distance. The minimum periodic time for sending is 1 second.
$PFAL,CNF.Set,AL0=SYS.Device.eStart:SYS.TIMER1.start=cyclic,20000
$PFAL,CNF.Set,AL1=SYS.TIMER.e1&GPS.Nav.Position.s0>200&GPS.Nav.sSpeed>2:GPS.Nav.Position0=current&TCP.Client.Send,8,""
//****************************************************
//Sending a new position when the pre-defined angle of the turn is exceeded
$PFAL,CNF.Set,DEVICE.GPS.HEADING=15
$PFAL,CNF.Set,AL2=GPS.Nav.eChangeHeading&GPS.Nav.sSpeed>2:TCP.Client.Send,8,"<sfal.pos>"
//****************************************************
//TCP Buffering (1MB). FOX3 can save TCP packets in non-volatile memory when the GSM coverage drops. It automatically sends the buffered TCP packets to the server when the
GSM signal is recovered.
$PFAL,CNF.set,TCP.CLIENT.SENDMODE=2
//****************************************************
//Sending formats: Textual, Binary and encrypted (premium feature)
//---> Textual
$PFAL,CNF.Set,AL<index>=CONDITIONs:TCP.Client.Send,8,""
//---> Binary
$PFAL,CNF.Set,AL<index>=CONDITIONs:TCP.Client.Send,4000,""
//For encryption: please refer to the AppNote http://www.falcom.de/uploads/media/AppNotes_AES_TCP_v1.0.2.pdf
//****************************************************
//Configurable Header and End of the message
$PFAL,Cnf.Set,DEVICE.PFAL.SEND.FORMAT="$",CKSUM,"","<end>"
//****************************************************
//Forward TCP messages to one of the serial ports in text, binary or Hex.
$PFAL,CNF.Set,AL3=TCP.Client.eReceived:Msg.send.serial0,0,"&(TCPText)"
//****************************************************
//Configuration and firmware update (locally/OTA)
//****************************************************
//Enabling debugging information on any of the interfaces
$PFAL,CNF.Set,DBG.EN=1
$PFAL,CNF.Set,DBG.EN=1,serial1
$PFAL,CNF.Set,DBG.EN=1,USB
//****************************************************
//Geofence. Device can store up to 99 rectangular or circular zones + 1 circular parking zone
$PFAL,CNF.Set,GF.AREA2="Lang-Ilm"
$PFAL,CNF.Set,GF1=area4,"Langewiesen",R,50.66568,10.96294,50.68027,10.98669
$PFAL,CNF.Set,GF2=area4,"Ilmenau",R,50.67280,10.90372,50.69216,10.94305
$PFAL,CNF.Set,AL4=GPS.Geofence.ex:TCP.Client.send,8,"LastGFname&(LastGFName) LastGFstate:&(LastGFState)"
//****************************************************
//Premium Feature 3000 geofences
$PFAL,gps.MultiGeofence.SetWP,0,50.673543,10.980845,439,500
$PFAL,gps.MultiGeofence.SetWP,1,50.673190,10.980094,439,500
$PFAL,gps.MultiGeofence.SetWP,2,50.672442,10.979042,438,500
$PFAL,gps.MultiGeofence.SetWP,3,50.672986,10.976746,441,500
$PFAL,gps.MultiGeofence.SetWP,4,50.734262,11.082168,480,500
$PFAL,$PFAL,CNF.Set,AL5=GPS.MultiGeofence.ex:TCP.Client.send,8,"LastMultiNr:&(LastMultiGF) LastMultiState:&(LastMultiGFState)"
//****************************************************
//Primary Server, Backup server, Service Server, (DNS and IP address)
$PFAL,CNF.Set,TCP.CLIENT.ALTERNATIVE=1,217.119.194.35,2222
$PFAL,CNF.Set,TCP.CLIENT.CONNECT=1,5.35.253.3,4444
$PFAL,CNF.Set,TCP.SERVICE.CONNECT=1,5.35.253.3,8888
//****************************************************
//Virtual corridor to define a route (2000 points)
$PFAL,gps.WPGeofence.SetWP,0,50.673710,10.980893,440,50
$PFAL,gps.WPGeofence.SetWP,1,50.673431,10.980265,441,50
$PFAL,gps.WPGeofence.SetWP,2,50.672381,10.979841,440,50
$PFAL,gps.WPGeofence.SetWP,3,50.673166,10.976076,443,50
.....
$PFAL,$PFAL,CNF.Set,AL6=GPS.WPGF.eOutside:TCP.Client.send,8,"Exited the virtual tunnel"
$PFAL,$PFAL,CNF.Set,AL7=GPS.WPGF.eInside:TCP.Client.send,8,"Entered the virtual tunnel"
//****************************************************
//SMS alert with user defined text and/or google link
$PFAL,$PFAL,CNF.Set,AL8=IO.e1=redge:GSM.SMS.Send,"+491725623217",0,"SOS http://maps.google.de/?q=&(LastLat)+&(LastLon)&sll=&(LastLat),&(LastLon)&z=16"
//****************************************************
//Security-Lock and AES transmission
$PFAL,Sys.Security.Lock,"<PW>"
$PFAL,Sys.Security.UnLock,"<PW>"
$PFAL,Sys.RemoveLock,"<PW>"
// see http://www.falcom.de/uploads/media/AppNotes_AES_TCP_v1.0.2.pdf
//****************************************************
//Current values of the XYZ axes for the motion sensor
$PFAL,Cnf.Set,AL9=<CONDITION>:TCP.Client.send,8,"&(Attitude)"
//Force detection
$PFAL,Cnf.Set,MOTION.FORCE=on,1500,xy
$PFAL,Cnf.Set,AL10=IO.Motion.eForce:TCP.Client.send,8,"Crash detected &(Attitude)"
//****************************************************
//Pulse counter (Powermeter pulse counting, Fuel Flowmeter)
$PFAL,IO0.counter.info
$PFAL,IO0.counter.start=5.0,10.0
$PFAL,IO0.Config=AI
$PFAL,CNF.Set,AL11=SYS.device.eStart:Sys.Timer3.Start=cyclic,60000
$PFAL,CNF.Set,AL12=sys.Timer.e3:TCP.Client.send,8,"&(PulseCnt0) Pulses"
//****************************************************
//Over speed (as many as the user needs). The below example sends a TCP alert to the server when the speed exceeds the 90km/h.
$PFAL,Cnf.Set,AL13=GPS.Nav.eSpeed>25:TCP.Client.Send,8,"Speed exceeded 90km/h &(Speed.kmh)"
//****************************************************
//Harsh Brake/Acceleration/Harsh Turn using eCodrive (Premium Feature):
//EcoDrive Settings for Qashqai+2 Benzin (Petrol)
$PFAL,CNF.Set,ECODRIVE.AUTOSTART=GPS,10,120
$PFAL,CNF.Set,ECODRIVE.CAR="IL-XX2",2185,P,191,104,3.3,100,8
$PFAL,CNF.Set,ECODRIVE.LIMITS=3,3,10,18
$PFAL,CNF.Set,ECODRIVE.TOPOLOGY=60,10,90,120,20
$PFAL,Cnf.Set,AL14=Ecodrive.eHarshBrake:TCP.Client.Send,8,"Harsh brake &(Speed.kmh)"
$PFAL,Cnf.Set,AL15=Ecodrive.eHarshAccelerate:TCP.Client.Send,8,"Harsh Acceleration &(Speed.kmh)
$PFAL,Cnf.Set,AL16=Ecodrive.eHarshTurn:TCP.Client.Send,8,"Harsh turn &(Speed.kmh)
//****************************************************
//Driver identification using iButton or RFID TAG.
$PFAL,Sys.WhiteList.Set0="7A848E0B"
$PFAL,Sys.WhiteList.Set1="6B948E1C"
.......
$PFAL,Cnf.Set,AL17=SYS.1Wire.eRegister=WhiteList:TCP.Client.send,8,"iButton detected &(1WIRE.LIST)"
$PFAL,Cnf.Set,AL18=SYS.1Wire.eRelease=whitelist:TCP.Client.send,8,"iButton removed &(1WIRE.LIST)"
//****************************************************
//Advanced and intelligent power save function.
//Wakeup from hibernate via: IGN, GSM activity, External power drop or detected/ Motion/Timer or absolute Time/CAN activity/Low internal battery/Analog/
//Motion detection when the vehicle is parked and the FOX3-3G in hibernate mode
//Towing detection
//See Chapter "4.2.4.5. Sys.Device.Sleep" in the PFAL document
****************************************************
//Ignition detection outside working hours
$PFAL,CNF.Set,AL19=IO.e8=redge&GPS.Time.sTimespan=06:00:00-17:00:00:TCP.Client.send,8,"IGN started within working time"
$PFAL,CNF.Set,AL20=IO.e8=redge&GPS.Time.sTimespan=17:01:00-05:59:00:TCP.Client.send,8,"IGN started outside working time"
//****************************************************
//Vehicle engine RPM, Fuel Level, Fuel Consumption measurement and more (CAN/FMS/OBDII)
//Vehicle fuel level control using analogue and digital sensors
//Vehicle fuel consumption control using fuel flow meter
//****************************************************
//Temperature measurement (1Wire Temp. Sensors or analog Sensors or Datalogging Temp. Sensor)
$PFAL,SYS.1Wire.enable
$PFAL,CNF.Set,AL21=<CONDITION>:TCP.Client.Send,8,"1Wire &(1Wire.Temp=all)"
//****************************************************
//Transmission of BarCode ID by a connected Barcode-Scanner
//See application nortes: http://www.falcom.de/uploads/media/AppNote_Connecting_BarcodeScanner_v1.0.1.pdf
//****************************************************
//LED on the FOX3 as status indicators (power, GSM/GPRS/TCP, GPS)
//RED LED for power
$PFAL,CNF.Set,AL22=SYS.Power.eDropped:IO13.Set=cyclic,200,200
$PFAL,CNF.Set,AL23=SYS.Power.eDetected:IO13.Set=high
$PFAL,CNF.Set,AL24=Sys.Device.eStart&Sys.Power.sVoltage>=9:IO13.Set=high
$PFAL,CNF.Set,AL25=Sys.Device.eStart&Sys.Power.sVoltage<9:IO13.Set=cyclic,200,200
//Orange LED for GPS
$PFAL,CNF.Set,AL26=Sys.device.eStart&GPS.Nav.sFix=invalid:IO11.Set=cyclic,200,200
$PFAL,CNF.Set,AL27=GPS.Nav.eFix=valid:IO11.Set=high
$PFAL,CNF.Set,AL28=GPS.Nav.eFix=invalid:IO11.Set=cyclic,200,200
$PFAL,CNF.Set,AL29=Sys.device.eStart&GPS.Nav.sFix=valid:IO11.Set=high
//Green LED for GSM/GPRS/TCP
$PFAL,CNF.Set,AL30=GSM.eOpfound:IO12.Set=cyclic,200,200
$PFAL,CNF.Set,AL31=GSM.GPRS.eConnected:IO12.Set=cyclic,400,400
$PFAL,CNF.Set,AL32=TCP.Client.eConnected:IO12.Set=high
$PFAL,CNF.Set,AL33=TCP.Client.eDisconnected&GSM.sOpValid:IO12.Set=cyclic,400,400
$PFAL,CNF.Set,AL34=GSM.GPRS.eDisconnected&GSM.sOpValid:IO12.Set=cyclic,200,200
$PFAL,CNF.Set,AL35=GSM.eOplost:IO12.Set=low
****************************************************
//DTCO-D8. Sending the DTCO.D8 periodically or upon occuring an event
$PFAL,Cnf.Set,DEVICE.DTCO.D8=B0,vdo
// or
$PFAL,Cnf.Set,DEVICE.DTCO.D8=B0,sre
$PFAL,CNF.Set,AL36=sys.device.eStart?IO.e8=redge:SYS.Timer2.Start=cyclic,120000
$PFAL,CNF.Set,AL37=Sys.Timer.e2:TCP.Client.send,8,"&(DTCO.D8.COMPLETE)"
$PFAL,CNF.Set,AL38=SYS.eDTCO.DRIVER.STATE:TCP.Client.send,8,"&(DTCO.D8.COMPLETE)"