diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-23 20:01:53 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-23 20:11:39 -0700 |
commit | a815ab062d15fe33bd6dbc9a7f6347ed96ef5dc5 (patch) | |
tree | b0933ca813abb584d0bf6bb41d7c1ac6a54b2a06 /ubxtool | |
parent | 226f0eb3db339311e8487bfa8fd8a6ee390704f9 (diff) | |
download | gpsd-a815ab062d15fe33bd6dbc9a7f6347ed96ef5dc5.tar.gz |
ubxtool: Add EOE to "-e BINARY".
EOE is now working as a good cycle ender.
Diffstat (limited to 'ubxtool')
-rwxr-xr-x | ubxtool | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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""" |