Go to the documentation of this file.
65 #ifndef NMEA_PROTOCOLHANDLER_H
66 #define NMEA_PROTOCOLHANDLER_H
86 int type()
const override;
A list of uint8_t values.
MessageLocation findMessage(XsProtocolType &type, const XsByteArray &raw) const override
Find the first message in the raw byte stream.
static const int MAXIMUM_MESSAGE_SIZE
The protocol handler for a different NMEA data types.
int type() const override
Interface class for protocol handlers.
Structure for storing a single message.
static const int MINIMUM_MESSAGE_SIZE
ProtocolHandler()
Default constructor.
virtual ~ProtocolHandler()
Deafult destructor.
XsProtocolType
Protocol types (XsDevice::enableProtocol())
int minimumMessageSize() const override
XsMessage convertToMessage(MessageLocation &location, const XsByteArray &raw) const override
Converts raw data using location into a XsMessage object.
Stores the location of a message in a buffer using a start position and a size.
int maximumMessageSize() const override