Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
Classes | |
class | Nmea0183CommunicationController |
class | Nmea0183CommunicationControllerFrame |
class | Nmea0183CommunicationProtocol |
struct | NmeaChannelBinding |
Contains the information pertaining a single NMEA fild/Channel pairing in a nmea0183 communication. More... | |
struct | NmeaMessage |
NMEA message class. More... | |
Enumerations | |
enum class | Pole { True , Magnetic } |
Kinds of North pole. More... | |
enum class | eFieldType { Boolean , Hexadecimal , Integer , Decimal , String , NorthPole , Coordinate , Time , Date } |
Functions | |
std::string | nmeaChecksum (const std::string &completeMsg) |
Compute the checksum of a message for NMEA0183. | |
double | degreesToDecimal (const int32_t degrees, const double minutes, const int32_t seconds=0) |
Converts degress, minutes and seconds to decimal geometric degrees. | |
std::vector< std::string > | splitStringBy (const std::string &sentence, const char delimiter) |
bool | getCoordinates (std::string array, double &decimalDegrees) |
Converts a string with the format "D*MM.MMMM" to decimal degrees. | |
std::optional< bool > | nmea0183FieldToBoolean (std::string_view data) |
Converts a NMEA0183 field to a boolean. | |
std::optional< uint16_t > | nmea0183FieldToInteger (std::string_view data) |
Converts a NMEA0183 field to an integer. | |
std::optional< float > | nmea0183FieldToFloat (std::string_view data) |
Converts a NMEA0183 field to a float. | |
std::optional< std::string > | nmea0183FieldToTime (std::string_view data) |
Converts a NMEA0183 time field to a string representation of day time. | |
std::optional< iv::comms::nmea0183::Pole > | nmeaField0183ToPole (std::string_view data) |
Converts a NMEA0183 field to a Pole. | |
std::optional< iv::types::channelValue > | processValue (std::string_view stringValue, iv::comms::nmea0183::eFieldType nmeaFieldType) |
parses the value of a NMEA0183 field according to it's type | |
|
strong |
|
strong |
|
inlinenodiscard |
Converts degress, minutes and seconds to decimal geometric degrees.
degrees | degrees |
minutes | minutes |
seconds | seconds, optional |
|
inlinenodiscard |
Converts a string with the format "D*MM.MMMM" to decimal degrees.
array | string with the format "D*DMM.MMMM", the number of digits representig degrees is variable |
decimalDegrees | output variable with the result |
|
inlinenodiscard |
Converts a NMEA0183 field to a boolean.
data | field as a string |
|
inlinenodiscard |
Converts a NMEA0183 field to a float.
data | field as a string |
|
inlinenodiscard |
Converts a NMEA0183 field to an integer.
data | field as a string |
|
inlinenodiscard |
Converts a NMEA0183 time field to a string representation of day time.
data | the field as a string with the format HHMMSS |
|
inline |
Compute the checksum of a message for NMEA0183.
completeMsg | Nmea0183 Message without the checksum |
|
inlinenodiscard |
Converts a NMEA0183 field to a Pole.
data | field as a string |
|
inline |
parses the value of a NMEA0183 field according to it's type
stringValue | Value of the field as a string |
nmeaFieldType | Type of the filed |
|
inline |