summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-23 20:01:53 -0700
committerGary E. Miller <gem@rellim.com>2019-04-23 20:11:39 -0700
commita815ab062d15fe33bd6dbc9a7f6347ed96ef5dc5 (patch)
treeb0933ca813abb584d0bf6bb41d7c1ac6a54b2a06 /ubxtool
parent226f0eb3db339311e8487bfa8fd8a6ee390704f9 (diff)
downloadgpsd-a815ab062d15fe33bd6dbc9a7f6347ed96ef5dc5.tar.gz
ubxtool: Add EOE to "-e BINARY".
EOE is now working as a good cycle ender.
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool9
1 files changed, 5 insertions, 4 deletions
diff --git a/ubxtool b/ubxtool
index 49c28a8c..5c5cd46e 100755
--- a/ubxtool
+++ b/ubxtool
@@ -3629,10 +3629,11 @@ class ubx(object):
m_data = bytearray([0x01, 0x30, 0])
gps_model.gps_send(6, 1, m_data)
- # UBX-NAV-EOE, end of epoch.
- # do not bother with EOE until gpsd works with it.
- # m_data = bytearray([0x01, 0x61, rate])
- # gps_model.gps_send(6, 1, m_data)
+ if 18 <= opts['protver']:
+ # first in u-blox 8
+ # UBX-NAV-EOE, end of epoch. Good cycle ender
+ m_data = bytearray([0x01, 0x61, rate])
+ gps_model.gps_send(6, 1, m_data)
def send_able_ecef(self, able):
"""Enable ECEF messages"""