gpscond n b t [d] [ms Ms] [h hs] [mt]

Sets the condition(s) that will trigger a GPS report.
The conditional operator is used to indicate how all following parameters will be used to determine if a report is triggered.

n = 1 to 8GPS report number
b = 0Conditional operator for all following parameters: Off (Default)
b = 1Conditional operator for all following parameters: AND
b = 2Conditional operator for all following parameters: OR
t = 0Timeout disabled (Default)
t = 1 to 65535Timeout in seconds
d = 0 to 65535Distance traveled threshold in meters (Default 0)
ms = 0 to 65535Low speed threshold in kph – use with Ms (Default 0)
Ms = 0 to 65535High speed threshold in kph – use with ms (Default 0)
h = 0 to 359Heading change in degrees – use with hs (Default 0)
hs = 0 65535Minimum speed threshold to make heading measurement valid, in kph. Use with h (Default 0)
mt = 0 to 65535Maximum reporting rate in seconds (minimum time between reports) (Default 0)

Notes:


Examples:

  1. Send report #1 every 60 seconds :
    cmd gpscond 1 1 60
  1. Send report #2 every 60 seconds AND when distance traveled is greater than 50 metres :
    cmd gpscond 2 1 60 50
  1. Send report #4 every 60 seconds AND when distance is greater than 50 metres AND the speed is between 20kph and 60kph :
    cmd gpscond 4 1 60 50 20 60
  1. Send report #5 every 60 seconds OR when distance is greater than 50 metres OR speed is greater than 60kph, OR if the heading changes by more than 45 degrees, with a maximum report rate of one every 10 seconds :
    cmd gpscond 5 2 60 50 60 200 45 10 10
  1. Send report #6 only when distance traveled is greater than 0 metres AND the speed is between 0kph and 5kph AND with a maximum report rate of one every 7 seconds :
    cmd gpscond 6 1 0 0 0 5 0 0 7

See also: GPS Configuration, GPS Reports

Last modified 7 years ago Last modified on 12-12-31 02:24:27 PM