summaryrefslogtreecommitdiffstats
path: root/libexec/tradcpp/files.c
diff options
context:
space:
mode:
authorlandry <landry@openbsd.org>2018-09-01 06:09:26 +0000
committerlandry <landry@openbsd.org>2018-09-01 06:09:26 +0000
commitba7bb6872abcd0eb3c6d1a60ed204c883e564566 (patch)
tree8d19ed5925390f43a3a9dc864536636feb69565b /libexec/tradcpp/files.c
parentRemove RSA-PSS from todo-list (diff)
downloadwireguard-openbsd-ba7bb6872abcd0eb3c6d1a60ed204c883e564566.tar.xz
wireguard-openbsd-ba7bb6872abcd0eb3c6d1a60ed204c883e564566.zip
Recognize more talker IDs when parsing NMEA RMC messages
The NMEA 0183 standard says that the first two chars correspond to the 'source' of the message, right now we were only looking for 'GP' prefix for 'GPS', but this can also be 'GL' for Glonass, 'BD' for BeiDou, 'GA' for Galileo, or 'GN' for a generic GNSS source. Match the RMC messages from all those variants, with this i'm able to use my navilock nl-8002u (which uses GNRMC) as a timedelta sensor for ntpd, and i have my GPS position in the nmea(4) sensors. ok deraadt@
Diffstat (limited to 'libexec/tradcpp/files.c')
0 files changed, 0 insertions, 0 deletions