This File contains the class tN2kMsg and all necessary functions to handle a NMEA2000 Message.
bool SeasmartToN2k(const char *buffer, uint32_t ×tamp, tN2kMsg &msg)
Converts a null terminated $PCDIN NMEA sentence into a tN2kMsg.
size_t N2kToSeasmart(const tN2kMsg &msg, uint32_t timestamp, char *buffer, size_t size)
Converts a tN2kMsg into a $PCDIN NMEA sentence.
This class contains all the data of an NMEA2000 message.