21 #ifndef SELKIELoggerNMEA_Serial
22 #define SELKIELoggerNMEA_Serial
38 #define NMEA_SERIAL_BUFF 1024
bool nmea_readMessage_buf(int handle, nmea_msg_t *out, uint8_t buf[NMEA_SERIAL_BUFF], int *index, int *hw)
Read data from handle, and parse message if able.
bool nmea_writeMessage(int handle, const nmea_msg_t *out)
Send message to attached device.
bool nmea_readMessage(int handle, nmea_msg_t *out)
Static wrapper around mp_readMessage_buf.
int nmea_openConnection(const char *port, const int baudRate)
Set up a connection to the specified port.
void nmea_closeConnection(int handle)
Close existing connection.
#define NMEA_SERIAL_BUFF
Default serial buffer allocation size.
Generic NMEA message structure.