25#include "../nmeaMessage.h"
The base class for the NMEA messages. Each message stores its latest copy and a ring buffer of copies...
Definition: nmeaMessage.h:88
void addNMEA(const char *msgId, uint8_t messageLength, uint8_t numCallbackCopies, uint8_t numFields, const void *nmeaFields, const void *blockFields=nullptr, uint8_t numBlockFields=0, uint8_t numHeaderFields=0, uint8_t maxNumBlocks=0)
Register this message's identity, field table and metadata with the base class.
Definition: nmeaMessage.h:482
The NMEA VLW message: Dual ground/water distance.
Definition: nmeaVLW.h:32
const char msgId[4]
The message identifier.
Definition: nmeaVLW.h:34
nmeaVLW(void)
Construct a new nmeaVLW object and register it with the NMEA message registry.
Definition: nmeaVLW.h:65
const uint8_t supportedVersions
Reserved for future use.
Definition: nmeaVLW.h:36
const nmeaField nmeaFields[numFields]
The message fields, by name.
Definition: nmeaVLW.h:46
const uint8_t numCallbackCopies
The number of copies stored for the callback.
Definition: nmeaVLW.h:38
static const uint8_t numFields
The number of fields.
Definition: nmeaVLW.h:43
const uint8_t messageLength
The maximum message length (bytes).
Definition: nmeaVLW.h:41
Definition: nmeaMessage.h:30
const uint8_t NMEA_VLW_MAX_LENGTH
The maximum length of the NMEA VLW message (bytes).
Definition: nmeaMessage.h:44
@ nmeaDataTypeChar
A single ASCII character: e.g. N S E W M.
Definition: nmeaMessage.h:69
@ nmeaDataTypeString
An array of ASCII char.
Definition: nmeaMessage.h:65
@ nmeaDataTypeNumeric
A numeric: could be integer or floating point; could be negative.
Definition: nmeaMessage.h:71
#define nmeaRegisterMessage(kMessage)
Declare a file-scope static builder that self-registers an NMEA message class.
Definition: nmeaMessageRegistry.h:113
One entry per field in the message payload.
Definition: nmeaMessage.h:94