pub fn parse_zda(sentence: NmeaSentence<'_>) -> Result<ZdaData, Error<'_>>
Expand description
Parse ZDA message
From gpsd/driver_nmea0183.c
$GPZDA,160012.71,11,03,2004,-1,00*7D
- UTC time (hours, minutes, seconds, may have fractional subsecond)
- Day, 01 to 31
- Month, 01 to 12
- Year (4 digits)
- Local zone description, 00 to +- 13 hours
- Local zone minutes description, apply same sign as local hours
- Checksum
Note: some devices, like the u-blox ANTARIS 4h, are known to ship ZDAs with some fields blank under poorly-understood circumstances (probably when they don’t have satellite lock yet).