ProprietaryMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Proprietary message used to pass NMEA2000 messages over NMEA0183, only supported by some converters and for some messages, for instance engine parameters. The messages are usually not fully documented, but the SeaSmart (v1.6.0) protocol specification may help (and some trying around)
public abstract class ProprietaryMessage : Iot.Device.Nmea0183.Sentences.NmeaSentence
type ProprietaryMessage = class
inherit NmeaSentence
Public MustInherit Class ProprietaryMessage
Inherits NmeaSentence
- Inheritance
- Derived
Constructors
ProprietaryMessage() |
Creates a default message of this type |
ProprietaryMessage(TalkerId, SentenceId, DateTimeOffset) |
Used to create a message while decoding, see base class implementation |
Properties
Age |
Age of this message (Inherited from NmeaSentence) |
DateTime |
The time tag on this message (Inherited from NmeaSentence) |
Id |
This sentence's id |
Identifier |
The hex identifier of this message type (first field of a PCDIN message) |
ReplacesOlderInstance |
True if an instance of this message type can be discarded if a newer instance of the same message type is available. Used to prevent buffer overflow on outgoing streams. (Inherited from NmeaSentence) |
SentenceId |
The sentence Id of this packet (Inherited from NmeaSentence) |
TalkerId |
The talker (sender) of this message (Inherited from NmeaSentence) |
Valid |
True if the contents of this message are valid / understood This is false if the message type could be decoded, but the contents seem invalid or there's no useful data (Inherited from NmeaSentence) |
Methods
AgeTo(DateTimeOffset) |
The relative age of this sentence against a time stamp. Useful when analyzing recorded data, where "now" should also be a time in the past. (Inherited from NmeaSentence) |
Matches(TalkerSentence) |
Checks this message has the correct talker id |
ReadChar(IEnumerator<String>) |
Decodes the next field into a char (Inherited from NmeaSentence) |
ReadFromHexString(String, Int32, Int32, Boolean, Int32) |
Decodes a value from a longer hex string (PRDIN messages contain one blob of stringly-typed hex numbers) |
ReadInt(IEnumerator<String>) |
Decodes the next field into an int (Inherited from NmeaSentence) |
ReadString(IEnumerator<String>) |
Decodes the next field into a string (Inherited from NmeaSentence) |
ReadValue(IEnumerator<String>) |
Decodes the next field into a double (Inherited from NmeaSentence) |
ToNmeaMessage() |
Translates the properties of this instance into an NMEA message (Inherited from NmeaSentence) |
ToNmeaParameterList() |
Translates the properties of this instance into an NMEA message body, without TalkerId, SentenceId and checksum. (Inherited from NmeaSentence) |
ToReadableContent() |
Gets an user-readable string about this message (Inherited from NmeaSentence) |
ToString() |
Generates a readable instance of this string. Not overridable, use ToReadableContent() to override. (this is to prevent confusion with ToNmeaMessage().) Do not use this method to create an NMEA sentence. (Inherited from NmeaSentence) |