SELKIELogger  1.0.0
NMEAMessages.h File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <time.h>
#include "NMEATypes.h"
Include dependency graph for NMEAMessages.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Detailed Description

Utility functions for processing NMEA messages

Definition in file NMEAMessages.h.