summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-04 17:53:37 -0700
committerGary E. Miller <gem@rellim.com>2019-04-04 17:53:37 -0700
commitdbb12cccea541b957290b246749f8e19cb21c06b (patch)
treeb4127088b7b7960b8f5e2412432c959074443e95 /ubxtool
parent982c7f974ab83f9bf7ffa3f053d9fdede40800b9 (diff)
downloadgpsd-dbb12cccea541b957290b246749f8e19cb21c06b.tar.gz
ubxtool: Add CFG-GEOFENCE- config items.
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool41
1 files changed, 41 insertions, 0 deletions
diff --git a/ubxtool b/ubxtool
index 3f9302db..e6c46144 100755
--- a/ubxtool
+++ b/ubxtool
@@ -159,6 +159,47 @@ class ubx(object):
# 5 - Unit
# 6 - Description
cfgs = (
+ # CFG-GEOFENCE-
+ ("CFG-GEOFENCE-CONFLVL", 0x20240011, "E1", 1, "",
+ "Required confidence level for state evaluation"),
+ ("CFG-GEOFENCE-USE_PIO", 0x10240012, "L", 1, "",
+ "Use PIO combined fence state output"),
+ ("CFG-GEOFENCE-PINPOL", 0x20240013, "E1", 1, "",
+ "PIO pin polarity"),
+ ("CFG-GEOFENCE-PIN", 0x20240014, "U1", 1, "",
+ "PIO pin number"),
+ ("CFG-GEOFENCE-USE_FENCE1", 0x10240020, "L", 1, "",
+ "Use first geofence"),
+ ("CFG-GEOFENCE-FENCE1_LAT", 0x40240021, "I4", 1e-7, "deg",
+ "Latitude of the first geofence circle center"),
+ ("CFG-GEOFENCE-FENCE1_LON", 0x40240022, "I4", 1e-7, "deg",
+ "Longitude of the first geofence circle center"),
+ ("CFG-GEOFENCE-FENCE1_RAD", 0x40240023, "U4", 0.01, "m",
+ "Radius of the first geofence circle"),
+ ("CFG-GEOFENCE-USE_FENCE2", 0x10240030, "L", 1, "",
+ "Use second geofence"),
+ ("CFG-GEOFENCE-FENCE2_LAT", 0x40240031, "I4", 1e-7, "deg",
+ "Latitude of the second geofence circle center"),
+ ("CFG-GEOFENCE-FENCE2_LON", 0x40240032, "I4", 1e-7, "deg",
+ "Longitude of the second geofence circle center"),
+ ("CFG-GEOFENCE-FENCE2_RAD", 0x40240033, "U4", 0.01, "m",
+ "Radius of the second geofence circle"),
+ ("CFG-GEOFENCE-USE_FENCE3", 0x10240040, "L", 1, "",
+ "Use third geofence"),
+ ("CFG-GEOFENCE-FENCE3_LAT", 0x40240041, "I4", 1e-7, "deg",
+ "Latitude of the third geofence circle center"),
+ ("CFG-GEOFENCE-FENCE3_LON", 0x40240042, "I4", 1e-7, "deg",
+ "Longitude of the third geofence circle center"),
+ ("CFG-GEOFENCE-FENCE3_RAD", 0x40240043, "U4", 0.01, "m",
+ "Radius of the third geofence circle"),
+ ("CFG-GEOFENCE-USE_FENCE4", 0x10240050, "L", 1, "",
+ "Use fourth geofence"),
+ ("CFG-GEOFENCE-FENCE4_LAT", 0x40240051, "I4", 1e-7, "deg",
+ "Latitude of the fourth geofence circle center"),
+ ("CFG-GEOFENCE-FENCE4_LON", 0x40240052, "I4", 1e-7, "deg",
+ "Longitude of the fourth geofence circle center"),
+ ("CFG-GEOFENCE-FENCE4_RAD", 0x40240053, "U4", 0.01, "m",
+ "Radius of the fourth geofence circle"),
# CFG-HW
("CFG-HW-ANT_CFG_VOLTCTRL", 0x10a3002e, "L", 1, "",
"Active antenna voltage control flag"),