Module gps_log

Module gps_log 

Source
Expand description

Parser for NMEA 0183 GPS log .nme files.

The TH-D75 records GPS track logs in standard NMEA 0183 format. Each file contains a sequence of NMEA sentences, primarily $GPRMC (recommended minimum) and $GPGGA (fix data) with time, position, speed, course, and altitude.

§Location

/KENWOOD/TH-D75/GPS_LOG/*.nme — maximum 255 files per directory.

§GPS Receiver mode (per Operating Tips §5.14.2)

For prolonged GPS track logging, Menu No. 403 enables GPS Receiver mode, which disables the transceiver function to conserve battery. The FM broadcast radio remains functional in this mode.

§Format

Plain ASCII text, one NMEA sentence per line, terminated by \r\n. Each sentence starts with $ and ends with *HH where HH is a two-digit hex XOR checksum of the bytes between $ and *.

§Supported Sentences

SentenceDescription
$GPRMCRecommended minimum: time, status, lat, lon, speed, course, date
$GPGGAFix data: time, lat, lon, quality, satellites, HDOP, altitude

Structs§

GgaFix
A single parsed NMEA GGA (Global Positioning System Fix Data) fix.
GpsLog
A complete parsed GPS log file.
LatLon
Latitude/longitude in decimal degrees.
RmcFix
A single parsed NMEA RMC (Recommended Minimum) fix.

Enums§

NmeaSentence
A parsed NMEA sentence.

Functions§

parse
Parse an NMEA GPS log file from raw bytes.

Type Aliases§

GpsPosition
A parsed GPS position from an NMEA sentence.