Class NmeaChecksum

Namespace
ProtoTest.Devices
Assembly
ProtoTest.Devices.dll

The NMEA 0183 checksum: * and two uppercase hex digits, the XOR of every character after a leading $ or !.

public sealed class NmeaChecksum : IDeviceMessageChecksum
Inheritance
NmeaChecksum
Implements
Inherited Members
Extension Methods

Properties

Separator

Gets the text between the body and the checksum, such as *.

public string Separator { get; }

Property Value

string

Methods

Compute(string)

Computes the checksum text for the message body (everything before the separator).

public string Compute(string body)

Parameters

body string

Returns

string