21 #ifndef SELKIELoggerNMEA_Messages
22 #define SELKIELoggerNMEA_Messages
size_t nmea_message_length(const nmea_msg_t *msg)
Calculate number of bytes required to represent message.
struct tm * nmea_parse_zda(const nmea_msg_t *msg)
Get date/time from NMEA ZDA message.
void nmea_print_hex(const nmea_msg_t *msg)
Print NMEA message.
char * nmea_string_hex(const nmea_msg_t *msg)
Return NMEA message as string.
void nmea_calc_checksum(const nmea_msg_t *msg, uint8_t *cs)
Calculate checksum for NMEA message.
size_t nmea_flat_array(const nmea_msg_t *msg, char **out)
Convert NMEA message to array of bytes for transmission.
void nmea_set_checksum(nmea_msg_t *msg)
Set checksum bytes for NMEA message.
strarray * nmea_parse_fields(const nmea_msg_t *nmsg)
Parse raw data into fields.
bool nmea_check_checksum(const nmea_msg_t *msg)
Verify checksum bytes of NMEA message.
Generic NMEA message structure.