pgn

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package pgn converts NMEA 2000 messages to strongly typed Go data. It provides PGN structs, payload encode/decode methods, and field metadata.

Index

Constants

View Source
const SourceRevision = "8f737e93ba2a1dd8684d4bc267126c55173c3ee5"

SourceRevision and SourceSHA256 identify the exact offline generation input.

View Source
const SourceSHA256 = "7cfd3dee4f68b50a4c5d49b1240e9760c7067254e53d8c6d562b24efbc2ed5cb"

Variables

View Source
var ErrUnexpectedPayloadEnd = errors.New("unexpected end of PGN payload")

ErrUnexpectedPayloadEnd identifies a field read that extends beyond the available PGN payload.

View Source
var ErrUnsupportedField = errors.New("unsupported dynamic field")

ErrUnsupportedField means metadata cannot determine a field's wire extent. DecodePayload retains the partial message and records this in DecodeIssues.

View Source
var PgnInfoLookup map[uint32][]*PgnInfo

PgnInfoLookup maps PGN numbers to their PgnInfo descriptors. It is the primary lookup table used by callers to find metadata and, when available, decoders for a received message. Multiple entries per PGN are possible (proprietary PGNs with different manufacturers).

View Source
var UnseenLookup map[uint32][]*PgnInfo

UnseenLookup maps PGN numbers that are defined by the source schema but are marked incomplete or missing metadata. These entries are still present in PgnInfoLookup when a PGN struct exists for them.

Functions

func DebugDumpPGN

func DebugDumpPGN(p any) string

DebugDumpPGN produces a human-readable, single-line string representation of a decoded PGN struct. It uses reflection to iterate over all fields, printing their names and values. This is intended for logging and diagnostic output -- not for serialization.

The output format is: "StructName: Field1=value1, Field2=value2, ..." Embedded MessageInfo fields are flattened (not nested), and the Timestamp field is omitted for brevity since it is usually available from other context.

Example output: "VesselHeading: PGN=127250, SourceId=..., Heading=15708"

func EncodeMessage

func EncodeMessage(msg Message) ([]byte, error)

EncodeMessage serializes msg by calling its EncodePayload method.

func GetProprietaryInfo

func GetProprietaryInfo(data []uint8) (ManufacturerCodeConst, IndustryCodeConst, error)

GetProprietaryInfo extracts the Manufacturer Code and Industry Code from the first two bytes of a proprietary PGN's payload. The wire layout for proprietary PGNs is:

Bits  0-10: Manufacturer Code (11 bits)
Bits 11-12: Reserved (2 bits, skipped)
Bits 13-15: Industry Code (3 bits)

This function should only be called for PGNs that IsProprietaryPGN reports as true. If called on a non-proprietary PGN, the returned values will be meaningless since those bytes have a different field layout.

func IsProprietaryPGN

func IsProprietaryPGN(pgn uint32) bool

IsProprietaryPGN returns true if the given PGN number falls within one of the four NMEA 2000 proprietary PGN ranges. Proprietary PGNs are manufacturer-specific messages that require knowing the manufacturer code (embedded in the payload) to decode correctly. The four ranges cover all combinations of addressed/broadcast and single-frame/fast-packet.

func PhysicalValue

func PhysicalValue(msg PGN, fieldOrder int) (float64, string, bool, error)

PhysicalValue returns the physical (unit-scaled) value of the numeric field with the given source order on a decoded PGN struct, applying the field's Resolution and Offset from its metadata: value = raw*Resolution + Offset.

Most callers should prefer the generated typed accessors instead: every numeric field with a physical interpretation has <Field>Value() (float64, bool) and Set<Field>Value(float64) methods on its struct (for example, VesselHeading.HeadingValue returns radians). PhysicalValue remains for dynamic, metadata-driven access when the field is only known at runtime. The unit string is the metadata Unit label ("rad", "m/s", "K", ...), empty for unitless fields.

"Numeric" here means a field whose decoded Go representation is a raw wire tick count -- a *uint64 or *int64 struct field, per the codec's fieldKindNullableNumber, fieldKindRawNumber, and fieldKindLookup kinds (pgn/codec.go). Lookup/enumeration fields qualify and naturally carry Resolution 1 and Unit "", so their raw ordinal comes back unchanged.

The following are deliberately NOT numeric for this function and return an error:

  • Match-selector fields (fieldKindMatch): mechanically they decode into the same *uint64/*int64 storage as plain numbers, but semantically they pick a PGN variant rather than carry a measured quantity, so scaling them by Resolution/Offset is not meaningful.
  • FLOAT fields (fieldKindFloat, *float32 storage): already a physical value on the wire, not a raw tick count, so there is nothing to scale.
  • Strings, binary data, and reserved/spare padding.

Fields inside a repeating group are not addressable by top-level source order alone -- a group can have any number of elements, and a bare order number does not select one -- so those orders return an error too. Decode the group slice field directly and inspect its elements instead.

The bool result is false (with a nil error) when the field order names a numeric field but its decoded value is nil: the wire wrote the field's null/out-of-range sentinel, or the payload ended before reaching it.

An error is returned when msg's struct type has no registered metadata, when fieldOrder does not name any field of that metadata, or when the named field is non-numeric or only reachable inside a repeating group.

func Priority

func Priority(v uint8) *uint8

Priority returns a pointer to v, for use in MessageInfo literal construction:

pgn.MessageInfo{Priority: pgn.Priority(2)}

func SearchUnseenList

func SearchUnseenList(pgn uint32) bool

SearchUnseenList returns true if the given PGN number has incomplete or missing upstream metadata.

func Target

func Target(v uint8) *uint8

Target returns a pointer to v, for use in MessageInfo literal construction:

pgn.MessageInfo{TargetId: pgn.Target(42)}

Types

type AcInputStatus

type AcInputStatus struct {
	Info          MessageInfo               `json:"info"`
	Instance      *uint64                   `json:"instance,omitempty" n2k:"1"`
	NumberOfLines *uint64                   `json:"numberOfLines,omitempty" n2k:"2"`
	Repeating1    []AcInputStatusRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AcInputStatus) Clone added in v1.3.0

func (m *AcInputStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AcInputStatus) DecodePayload

func (m *AcInputStatus) DecodePayload(payload []uint8) error

func (*AcInputStatus) EncodePayload

func (m *AcInputStatus) EncodePayload() ([]uint8, error)

func (*AcInputStatus) MessageInfo

func (m *AcInputStatus) MessageInfo() MessageInfo

func (*AcInputStatus) PGNNumber

func (m *AcInputStatus) PGNNumber() uint32

func (*AcInputStatus) SetMessageInfo

func (m *AcInputStatus) SetMessageInfo(info MessageInfo)

type AcInputStatusRepeating1

type AcInputStatusRepeating1 struct {
	Line          *uint64 `json:"line,omitempty" n2k:"3"`
	Acceptability *uint64 `json:"acceptability,omitempty" n2k:"4"`
	Voltage       *uint64 `json:"voltage,omitempty" n2k:"6"`
	Current       *uint64 `json:"current,omitempty" n2k:"7"`
	Frequency     *uint64 `json:"frequency,omitempty" n2k:"8"`
	BreakerSize   *uint64 `json:"breakerSize,omitempty" n2k:"9"`
	RealPower     *uint64 `json:"realPower,omitempty" n2k:"10"`
	ReactivePower *uint64 `json:"reactivePower,omitempty" n2k:"11"`
	PowerFactor   *int64  `json:"powerFactor,omitempty" n2k:"12"`
}

func (*AcInputStatusRepeating1) BreakerSizeValue

func (m *AcInputStatusRepeating1) BreakerSizeValue() (float64, bool)

BreakerSizeValue returns BreakerSize as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcInputStatusRepeating1) CurrentValue

func (m *AcInputStatusRepeating1) CurrentValue() (float64, bool)

CurrentValue returns Current as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcInputStatusRepeating1) FrequencyValue

func (m *AcInputStatusRepeating1) FrequencyValue() (float64, bool)

FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcInputStatusRepeating1) PowerFactorValue

func (m *AcInputStatusRepeating1) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcInputStatusRepeating1) ReactivePowerValue

func (m *AcInputStatusRepeating1) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcInputStatusRepeating1) RealPowerValue

func (m *AcInputStatusRepeating1) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcInputStatusRepeating1) SetBreakerSizeValue

func (m *AcInputStatusRepeating1) SetBreakerSizeValue(v float64)

SetBreakerSizeValue sets BreakerSize from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*AcInputStatusRepeating1) SetCurrentValue

func (m *AcInputStatusRepeating1) SetCurrentValue(v float64)

SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*AcInputStatusRepeating1) SetFrequencyValue

func (m *AcInputStatusRepeating1) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.01.

func (*AcInputStatusRepeating1) SetPowerFactorValue

func (m *AcInputStatusRepeating1) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 0.01.

func (*AcInputStatusRepeating1) SetReactivePowerValue

func (m *AcInputStatusRepeating1) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

func (*AcInputStatusRepeating1) SetRealPowerValue

func (m *AcInputStatusRepeating1) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

func (*AcInputStatusRepeating1) SetVoltageValue

func (m *AcInputStatusRepeating1) SetVoltageValue(v float64)

SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*AcInputStatusRepeating1) VoltageValue

func (m *AcInputStatusRepeating1) VoltageValue() (float64, bool)

VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type AcLineConst added in v1.3.0

type AcLineConst uint8
const (
	AcLineLine1 AcLineConst = 0
	AcLineLine2 AcLineConst = 1
	AcLineLine3 AcLineConst = 2
)

func (AcLineConst) GoString added in v1.3.0

func (e AcLineConst) GoString() string

func (AcLineConst) String added in v1.3.0

func (e AcLineConst) String() string

type AcOutputStatus

type AcOutputStatus struct {
	Info          MessageInfo                `json:"info"`
	Instance      *uint64                    `json:"instance,omitempty" n2k:"1"`
	NumberOfLines *uint64                    `json:"numberOfLines,omitempty" n2k:"2"`
	Repeating1    []AcOutputStatusRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AcOutputStatus) Clone added in v1.3.0

func (m *AcOutputStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AcOutputStatus) DecodePayload

func (m *AcOutputStatus) DecodePayload(payload []uint8) error

func (*AcOutputStatus) EncodePayload

func (m *AcOutputStatus) EncodePayload() ([]uint8, error)

func (*AcOutputStatus) MessageInfo

func (m *AcOutputStatus) MessageInfo() MessageInfo

func (*AcOutputStatus) PGNNumber

func (m *AcOutputStatus) PGNNumber() uint32

func (*AcOutputStatus) SetMessageInfo

func (m *AcOutputStatus) SetMessageInfo(info MessageInfo)

type AcOutputStatusRepeating1

type AcOutputStatusRepeating1 struct {
	Line          *uint64 `json:"line,omitempty" n2k:"3"`
	Waveform      *uint64 `json:"waveform,omitempty" n2k:"4"`
	Voltage       *uint64 `json:"voltage,omitempty" n2k:"6"`
	Current       *uint64 `json:"current,omitempty" n2k:"7"`
	Frequency     *uint64 `json:"frequency,omitempty" n2k:"8"`
	BreakerSize   *uint64 `json:"breakerSize,omitempty" n2k:"9"`
	RealPower     *uint64 `json:"realPower,omitempty" n2k:"10"`
	ReactivePower *uint64 `json:"reactivePower,omitempty" n2k:"11"`
	PowerFactor   *int64  `json:"powerFactor,omitempty" n2k:"12"`
}

func (*AcOutputStatusRepeating1) BreakerSizeValue

func (m *AcOutputStatusRepeating1) BreakerSizeValue() (float64, bool)

BreakerSizeValue returns BreakerSize as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcOutputStatusRepeating1) CurrentValue

func (m *AcOutputStatusRepeating1) CurrentValue() (float64, bool)

CurrentValue returns Current as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcOutputStatusRepeating1) FrequencyValue

func (m *AcOutputStatusRepeating1) FrequencyValue() (float64, bool)

FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcOutputStatusRepeating1) PowerFactorValue

func (m *AcOutputStatusRepeating1) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcOutputStatusRepeating1) ReactivePowerValue

func (m *AcOutputStatusRepeating1) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcOutputStatusRepeating1) RealPowerValue

func (m *AcOutputStatusRepeating1) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcOutputStatusRepeating1) SetBreakerSizeValue

func (m *AcOutputStatusRepeating1) SetBreakerSizeValue(v float64)

SetBreakerSizeValue sets BreakerSize from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*AcOutputStatusRepeating1) SetCurrentValue

func (m *AcOutputStatusRepeating1) SetCurrentValue(v float64)

SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*AcOutputStatusRepeating1) SetFrequencyValue

func (m *AcOutputStatusRepeating1) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.01.

func (*AcOutputStatusRepeating1) SetPowerFactorValue

func (m *AcOutputStatusRepeating1) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 0.01.

func (*AcOutputStatusRepeating1) SetReactivePowerValue

func (m *AcOutputStatusRepeating1) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

func (*AcOutputStatusRepeating1) SetRealPowerValue

func (m *AcOutputStatusRepeating1) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

func (*AcOutputStatusRepeating1) SetVoltageValue

func (m *AcOutputStatusRepeating1) SetVoltageValue(v float64)

SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*AcOutputStatusRepeating1) VoltageValue

func (m *AcOutputStatusRepeating1) VoltageValue() (float64, bool)

VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type AcPowerCurrentPhaseA

type AcPowerCurrentPhaseA struct {
	Info             MessageInfo `json:"info"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"1"`
	ConnectionNumber *uint64     `json:"connectionNumber,omitempty" n2k:"2"`
	AcRmsCurrent     *uint64     `json:"acRmsCurrent,omitempty" n2k:"3"`
	Power            *int64      `json:"power,omitempty" n2k:"4"`
}

func (*AcPowerCurrentPhaseA) AcRmsCurrentValue

func (m *AcPowerCurrentPhaseA) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcPowerCurrentPhaseA) Clone added in v1.3.0

func (m *AcPowerCurrentPhaseA) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AcPowerCurrentPhaseA) DecodePayload

func (m *AcPowerCurrentPhaseA) DecodePayload(payload []uint8) error

func (*AcPowerCurrentPhaseA) EncodePayload

func (m *AcPowerCurrentPhaseA) EncodePayload() ([]uint8, error)

func (*AcPowerCurrentPhaseA) MessageInfo

func (m *AcPowerCurrentPhaseA) MessageInfo() MessageInfo

func (*AcPowerCurrentPhaseA) PGNNumber

func (m *AcPowerCurrentPhaseA) PGNNumber() uint32

func (*AcPowerCurrentPhaseA) PowerValue

func (m *AcPowerCurrentPhaseA) PowerValue() (float64, bool)

PowerValue returns Power as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcPowerCurrentPhaseA) SetAcRmsCurrentValue

func (m *AcPowerCurrentPhaseA) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*AcPowerCurrentPhaseA) SetMessageInfo

func (m *AcPowerCurrentPhaseA) SetMessageInfo(info MessageInfo)

func (*AcPowerCurrentPhaseA) SetPowerValue

func (m *AcPowerCurrentPhaseA) SetPowerValue(v float64)

SetPowerValue sets Power from a physical value in W, rounded to the nearest wire tick of 1.

type AcPowerCurrentPhaseB

type AcPowerCurrentPhaseB struct {
	Info             MessageInfo `json:"info"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"1"`
	ConnectionNumber *uint64     `json:"connectionNumber,omitempty" n2k:"2"`
	AcRmsCurrent     *uint64     `json:"acRmsCurrent,omitempty" n2k:"3"`
	Power            *int64      `json:"power,omitempty" n2k:"4"`
}

func (*AcPowerCurrentPhaseB) AcRmsCurrentValue

func (m *AcPowerCurrentPhaseB) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcPowerCurrentPhaseB) Clone added in v1.3.0

func (m *AcPowerCurrentPhaseB) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AcPowerCurrentPhaseB) DecodePayload

func (m *AcPowerCurrentPhaseB) DecodePayload(payload []uint8) error

func (*AcPowerCurrentPhaseB) EncodePayload

func (m *AcPowerCurrentPhaseB) EncodePayload() ([]uint8, error)

func (*AcPowerCurrentPhaseB) MessageInfo

func (m *AcPowerCurrentPhaseB) MessageInfo() MessageInfo

func (*AcPowerCurrentPhaseB) PGNNumber

func (m *AcPowerCurrentPhaseB) PGNNumber() uint32

func (*AcPowerCurrentPhaseB) PowerValue

func (m *AcPowerCurrentPhaseB) PowerValue() (float64, bool)

PowerValue returns Power as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcPowerCurrentPhaseB) SetAcRmsCurrentValue

func (m *AcPowerCurrentPhaseB) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*AcPowerCurrentPhaseB) SetMessageInfo

func (m *AcPowerCurrentPhaseB) SetMessageInfo(info MessageInfo)

func (*AcPowerCurrentPhaseB) SetPowerValue

func (m *AcPowerCurrentPhaseB) SetPowerValue(v float64)

SetPowerValue sets Power from a physical value in W, rounded to the nearest wire tick of 1.

type AcPowerCurrentPhaseC

type AcPowerCurrentPhaseC struct {
	Info             MessageInfo `json:"info"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"1"`
	ConnectionNumber *uint64     `json:"connectionNumber,omitempty" n2k:"2"`
	AcRmsCurrent     *uint64     `json:"acRmsCurrent,omitempty" n2k:"3"`
	Power            *int64      `json:"power,omitempty" n2k:"4"`
}

func (*AcPowerCurrentPhaseC) AcRmsCurrentValue

func (m *AcPowerCurrentPhaseC) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcPowerCurrentPhaseC) Clone added in v1.3.0

func (m *AcPowerCurrentPhaseC) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AcPowerCurrentPhaseC) DecodePayload

func (m *AcPowerCurrentPhaseC) DecodePayload(payload []uint8) error

func (*AcPowerCurrentPhaseC) EncodePayload

func (m *AcPowerCurrentPhaseC) EncodePayload() ([]uint8, error)

func (*AcPowerCurrentPhaseC) MessageInfo

func (m *AcPowerCurrentPhaseC) MessageInfo() MessageInfo

func (*AcPowerCurrentPhaseC) PGNNumber

func (m *AcPowerCurrentPhaseC) PGNNumber() uint32

func (*AcPowerCurrentPhaseC) PowerValue

func (m *AcPowerCurrentPhaseC) PowerValue() (float64, bool)

PowerValue returns Power as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcPowerCurrentPhaseC) SetAcRmsCurrentValue

func (m *AcPowerCurrentPhaseC) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*AcPowerCurrentPhaseC) SetMessageInfo

func (m *AcPowerCurrentPhaseC) SetMessageInfo(info MessageInfo)

func (*AcPowerCurrentPhaseC) SetPowerValue

func (m *AcPowerCurrentPhaseC) SetPowerValue(v float64)

SetPowerValue sets Power from a physical value in W, rounded to the nearest wire tick of 1.

type AcVoltageFrequencyPhaseA

type AcVoltageFrequencyPhaseA struct {
	Info                   MessageInfo `json:"info"`
	Sid                    *uint64     `json:"sid,omitempty" n2k:"1"`
	ConnectionNumber       *uint64     `json:"connectionNumber,omitempty" n2k:"2"`
	AcVoltageLineToNeutral *uint64     `json:"acVoltageLineToNeutral,omitempty" n2k:"3"`
	AcVoltageLineToLine    *uint64     `json:"acVoltageLineToLine,omitempty" n2k:"4"`
	Frequency              *uint64     `json:"frequency,omitempty" n2k:"5"`
}

func (*AcVoltageFrequencyPhaseA) AcVoltageLineToLineValue

func (m *AcVoltageFrequencyPhaseA) AcVoltageLineToLineValue() (float64, bool)

AcVoltageLineToLineValue returns AcVoltageLineToLine as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcVoltageFrequencyPhaseA) AcVoltageLineToNeutralValue

func (m *AcVoltageFrequencyPhaseA) AcVoltageLineToNeutralValue() (float64, bool)

AcVoltageLineToNeutralValue returns AcVoltageLineToNeutral as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcVoltageFrequencyPhaseA) Clone added in v1.3.0

func (m *AcVoltageFrequencyPhaseA) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AcVoltageFrequencyPhaseA) DecodePayload

func (m *AcVoltageFrequencyPhaseA) DecodePayload(payload []uint8) error

func (*AcVoltageFrequencyPhaseA) EncodePayload

func (m *AcVoltageFrequencyPhaseA) EncodePayload() ([]uint8, error)

func (*AcVoltageFrequencyPhaseA) FrequencyValue

func (m *AcVoltageFrequencyPhaseA) FrequencyValue() (float64, bool)

FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcVoltageFrequencyPhaseA) MessageInfo

func (m *AcVoltageFrequencyPhaseA) MessageInfo() MessageInfo

func (*AcVoltageFrequencyPhaseA) PGNNumber

func (m *AcVoltageFrequencyPhaseA) PGNNumber() uint32

func (*AcVoltageFrequencyPhaseA) SetAcVoltageLineToLineValue

func (m *AcVoltageFrequencyPhaseA) SetAcVoltageLineToLineValue(v float64)

SetAcVoltageLineToLineValue sets AcVoltageLineToLine from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*AcVoltageFrequencyPhaseA) SetAcVoltageLineToNeutralValue

func (m *AcVoltageFrequencyPhaseA) SetAcVoltageLineToNeutralValue(v float64)

SetAcVoltageLineToNeutralValue sets AcVoltageLineToNeutral from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*AcVoltageFrequencyPhaseA) SetFrequencyValue

func (m *AcVoltageFrequencyPhaseA) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.1.

func (*AcVoltageFrequencyPhaseA) SetMessageInfo

func (m *AcVoltageFrequencyPhaseA) SetMessageInfo(info MessageInfo)

type AcVoltageFrequencyPhaseB

type AcVoltageFrequencyPhaseB struct {
	Info                   MessageInfo `json:"info"`
	Sid                    *uint64     `json:"sid,omitempty" n2k:"1"`
	ConnectionNumber       *uint64     `json:"connectionNumber,omitempty" n2k:"2"`
	AcVoltageLineToNeutral *uint64     `json:"acVoltageLineToNeutral,omitempty" n2k:"3"`
	AcVoltageLineToLine    *uint64     `json:"acVoltageLineToLine,omitempty" n2k:"4"`
	Frequency              *uint64     `json:"frequency,omitempty" n2k:"5"`
}

func (*AcVoltageFrequencyPhaseB) AcVoltageLineToLineValue

func (m *AcVoltageFrequencyPhaseB) AcVoltageLineToLineValue() (float64, bool)

AcVoltageLineToLineValue returns AcVoltageLineToLine as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcVoltageFrequencyPhaseB) AcVoltageLineToNeutralValue

func (m *AcVoltageFrequencyPhaseB) AcVoltageLineToNeutralValue() (float64, bool)

AcVoltageLineToNeutralValue returns AcVoltageLineToNeutral as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcVoltageFrequencyPhaseB) Clone added in v1.3.0

func (m *AcVoltageFrequencyPhaseB) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AcVoltageFrequencyPhaseB) DecodePayload

func (m *AcVoltageFrequencyPhaseB) DecodePayload(payload []uint8) error

func (*AcVoltageFrequencyPhaseB) EncodePayload

func (m *AcVoltageFrequencyPhaseB) EncodePayload() ([]uint8, error)

func (*AcVoltageFrequencyPhaseB) FrequencyValue

func (m *AcVoltageFrequencyPhaseB) FrequencyValue() (float64, bool)

FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcVoltageFrequencyPhaseB) MessageInfo

func (m *AcVoltageFrequencyPhaseB) MessageInfo() MessageInfo

func (*AcVoltageFrequencyPhaseB) PGNNumber

func (m *AcVoltageFrequencyPhaseB) PGNNumber() uint32

func (*AcVoltageFrequencyPhaseB) SetAcVoltageLineToLineValue

func (m *AcVoltageFrequencyPhaseB) SetAcVoltageLineToLineValue(v float64)

SetAcVoltageLineToLineValue sets AcVoltageLineToLine from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*AcVoltageFrequencyPhaseB) SetAcVoltageLineToNeutralValue

func (m *AcVoltageFrequencyPhaseB) SetAcVoltageLineToNeutralValue(v float64)

SetAcVoltageLineToNeutralValue sets AcVoltageLineToNeutral from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*AcVoltageFrequencyPhaseB) SetFrequencyValue

func (m *AcVoltageFrequencyPhaseB) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.1.

func (*AcVoltageFrequencyPhaseB) SetMessageInfo

func (m *AcVoltageFrequencyPhaseB) SetMessageInfo(info MessageInfo)

type AcVoltageFrequencyPhaseC

type AcVoltageFrequencyPhaseC struct {
	Info                   MessageInfo `json:"info"`
	Sid                    *uint64     `json:"sid,omitempty" n2k:"1"`
	ConnectionNumber       *uint64     `json:"connectionNumber,omitempty" n2k:"2"`
	AcVoltageLineToNeutral *uint64     `json:"acVoltageLineToNeutral,omitempty" n2k:"3"`
	AcVoltageLineToLine    *uint64     `json:"acVoltageLineToLine,omitempty" n2k:"4"`
	Frequency              *uint64     `json:"frequency,omitempty" n2k:"5"`
}

func (*AcVoltageFrequencyPhaseC) AcVoltageLineToLineValue

func (m *AcVoltageFrequencyPhaseC) AcVoltageLineToLineValue() (float64, bool)

AcVoltageLineToLineValue returns AcVoltageLineToLine as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcVoltageFrequencyPhaseC) AcVoltageLineToNeutralValue

func (m *AcVoltageFrequencyPhaseC) AcVoltageLineToNeutralValue() (float64, bool)

AcVoltageLineToNeutralValue returns AcVoltageLineToNeutral as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcVoltageFrequencyPhaseC) Clone added in v1.3.0

func (m *AcVoltageFrequencyPhaseC) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AcVoltageFrequencyPhaseC) DecodePayload

func (m *AcVoltageFrequencyPhaseC) DecodePayload(payload []uint8) error

func (*AcVoltageFrequencyPhaseC) EncodePayload

func (m *AcVoltageFrequencyPhaseC) EncodePayload() ([]uint8, error)

func (*AcVoltageFrequencyPhaseC) FrequencyValue

func (m *AcVoltageFrequencyPhaseC) FrequencyValue() (float64, bool)

FrequencyValue returns Frequency as a physical value in Hz (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AcVoltageFrequencyPhaseC) MessageInfo

func (m *AcVoltageFrequencyPhaseC) MessageInfo() MessageInfo

func (*AcVoltageFrequencyPhaseC) PGNNumber

func (m *AcVoltageFrequencyPhaseC) PGNNumber() uint32

func (*AcVoltageFrequencyPhaseC) SetAcVoltageLineToLineValue

func (m *AcVoltageFrequencyPhaseC) SetAcVoltageLineToLineValue(v float64)

SetAcVoltageLineToLineValue sets AcVoltageLineToLine from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*AcVoltageFrequencyPhaseC) SetAcVoltageLineToNeutralValue

func (m *AcVoltageFrequencyPhaseC) SetAcVoltageLineToNeutralValue(v float64)

SetAcVoltageLineToNeutralValue sets AcVoltageLineToNeutral from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*AcVoltageFrequencyPhaseC) SetFrequencyValue

func (m *AcVoltageFrequencyPhaseC) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 0.1.

func (*AcVoltageFrequencyPhaseC) SetMessageInfo

func (m *AcVoltageFrequencyPhaseC) SetMessageInfo(info MessageInfo)

type AcceptabilityConst

type AcceptabilityConst uint8
const (
	AcceptabilityBadLevel       AcceptabilityConst = 0
	AcceptabilityBadFrequency   AcceptabilityConst = 1
	AcceptabilityBeingQualified AcceptabilityConst = 2
	AcceptabilityGood           AcceptabilityConst = 3
)

func (AcceptabilityConst) GoString

func (e AcceptabilityConst) GoString() string

func (AcceptabilityConst) String

func (e AcceptabilityConst) String() string

type AccessLevelConst

type AccessLevelConst uint8
const (
	AccessLevelLocked         AccessLevelConst = 0
	AccessLevelUnlockedLevel1 AccessLevelConst = 1
	AccessLevelUnlockedLevel2 AccessLevelConst = 2
)

func (AccessLevelConst) GoString

func (e AccessLevelConst) GoString() string

func (AccessLevelConst) String

func (e AccessLevelConst) String() string

type ActualPressure

type ActualPressure struct {
	Info     MessageInfo `json:"info"`
	Sid      *uint64     `json:"sid,omitempty" n2k:"1"`
	Instance *uint64     `json:"instance,omitempty" n2k:"2"`
	Source   *uint64     `json:"source,omitempty" n2k:"3"`
	Pressure *int64      `json:"pressure,omitempty" n2k:"4"`
}

func (*ActualPressure) Clone added in v1.3.0

func (m *ActualPressure) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ActualPressure) DecodePayload

func (m *ActualPressure) DecodePayload(payload []uint8) error

func (*ActualPressure) EncodePayload

func (m *ActualPressure) EncodePayload() ([]uint8, error)

func (*ActualPressure) MessageInfo

func (m *ActualPressure) MessageInfo() MessageInfo

func (*ActualPressure) PGNNumber

func (m *ActualPressure) PGNNumber() uint32

func (*ActualPressure) PressureValue

func (m *ActualPressure) PressureValue() (float64, bool)

PressureValue returns Pressure as a physical value in Pa (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ActualPressure) SetMessageInfo

func (m *ActualPressure) SetMessageInfo(info MessageInfo)

func (*ActualPressure) SetPressureValue

func (m *ActualPressure) SetPressureValue(v float64)

SetPressureValue sets Pressure from a physical value in Pa, rounded to the nearest wire tick of 0.1.

type AgsConfigurationStatus

type AgsConfigurationStatus struct {
	Info              MessageInfo `json:"info"`
	Instance          *uint64     `json:"instance,omitempty" n2k:"1"`
	GeneratorInstance *uint64     `json:"generatorInstance,omitempty" n2k:"2"`
	AgsMode           *uint64     `json:"agsMode,omitempty" n2k:"3"`
}

func (*AgsConfigurationStatus) Clone added in v1.3.0

func (m *AgsConfigurationStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AgsConfigurationStatus) DecodePayload

func (m *AgsConfigurationStatus) DecodePayload(payload []uint8) error

func (*AgsConfigurationStatus) EncodePayload

func (m *AgsConfigurationStatus) EncodePayload() ([]uint8, error)

func (*AgsConfigurationStatus) MessageInfo

func (m *AgsConfigurationStatus) MessageInfo() MessageInfo

func (*AgsConfigurationStatus) PGNNumber

func (m *AgsConfigurationStatus) PGNNumber() uint32

func (*AgsConfigurationStatus) SetMessageInfo

func (m *AgsConfigurationStatus) SetMessageInfo(info MessageInfo)

type AgsGeneratingStateConst added in v1.3.0

type AgsGeneratingStateConst uint8
const (
	AgsGeneratingStatePreheating     AgsGeneratingStateConst = 0
	AgsGeneratingStateStartDelay     AgsGeneratingStateConst = 1
	AgsGeneratingStateCranking       AgsGeneratingStateConst = 2
	AgsGeneratingStateStarterCooling AgsGeneratingStateConst = 3
	AgsGeneratingStateWarmingUp      AgsGeneratingStateConst = 4
	AgsGeneratingStateCoolingDown    AgsGeneratingStateConst = 5
	AgsGeneratingStateSpinningUp     AgsGeneratingStateConst = 6
	AgsGeneratingStateShutdownBypass AgsGeneratingStateConst = 7
	AgsGeneratingStateStopping       AgsGeneratingStateConst = 8
	AgsGeneratingStateRunning        AgsGeneratingStateConst = 9
	AgsGeneratingStateStopped        AgsGeneratingStateConst = 10
	AgsGeneratingStateCrankDelaty    AgsGeneratingStateConst = 11
)

func (AgsGeneratingStateConst) GoString added in v1.3.0

func (e AgsGeneratingStateConst) GoString() string

func (AgsGeneratingStateConst) String added in v1.3.0

func (e AgsGeneratingStateConst) String() string

type AgsModeConst added in v1.3.0

type AgsModeConst uint8
const (
	AgsModeOff       AgsModeConst = 0
	AgsModeOn        AgsModeConst = 1
	AgsModeAutomatic AgsModeConst = 2
)

func (AgsModeConst) GoString added in v1.3.0

func (e AgsModeConst) GoString() string

func (AgsModeConst) String added in v1.3.0

func (e AgsModeConst) String() string

type AgsOffReasonConst added in v1.3.0

type AgsOffReasonConst uint8
const (
	AgsOffReasonNotOff                   AgsOffReasonConst = 0
	AgsOffReasonDCVoltageHigh            AgsOffReasonConst = 1
	AgsOffReasonBatteryStateOfChargeHigh AgsOffReasonConst = 2
	AgsOffReasonACCurrentLow             AgsOffReasonConst = 3
	AgsOffReasonContactOpened            AgsOffReasonConst = 4
	AgsOffReasonReachedAbsorption        AgsOffReasonConst = 5
	AgsOffReasonReachedFloat             AgsOffReasonConst = 6
	AgsOffReasonManualOff                AgsOffReasonConst = 7
	AgsOffReasonMaxRunTime               AgsOffReasonConst = 8
	AgsOffReasonMaxAutoCycle             AgsOffReasonConst = 9
	AgsOffReasonExerciseDone             AgsOffReasonConst = 10
	AgsOffReasonQuietTime                AgsOffReasonConst = 11
	AgsOffReasonExternalOffViaAGS        AgsOffReasonConst = 12
	AgsOffReasonSafeMode                 AgsOffReasonConst = 13
	AgsOffReasonExternalOffViaGenerator  AgsOffReasonConst = 14
	AgsOffReasonExternalShutdown         AgsOffReasonConst = 15
	AgsOffReasonAutoOff                  AgsOffReasonConst = 16
	AgsOffReasonFault                    AgsOffReasonConst = 17
	AgsOffReasonUnableToStart            AgsOffReasonConst = 18
)

func (AgsOffReasonConst) GoString added in v1.3.0

func (e AgsOffReasonConst) GoString() string

func (AgsOffReasonConst) String added in v1.3.0

func (e AgsOffReasonConst) String() string

type AgsOnReasonConst added in v1.3.0

type AgsOnReasonConst uint8
const (
	AgsOnReasonNotOn                   AgsOnReasonConst = 0
	AgsOnReasonDCVoltageLow            AgsOnReasonConst = 1
	AgsOnReasonBatteryStateOfChargeLow AgsOnReasonConst = 2
	AgsOnReasonACCurrentHigh           AgsOnReasonConst = 3
	AgsOnReasonContactClosed           AgsOnReasonConst = 4
	AgsOnReasonManualOn                AgsOnReasonConst = 5
	AgsOnReasonExercise                AgsOnReasonConst = 6
	AgsOnReasonNonQuietTime            AgsOnReasonConst = 7
	AgsOnReasonExternalOnViaAGS        AgsOnReasonConst = 8
	AgsOnReasonExternalOnViaGenerator  AgsOnReasonConst = 9
	AgsOnReasonUnableToStop            AgsOnReasonConst = 10
)

func (AgsOnReasonConst) GoString added in v1.3.0

func (e AgsOnReasonConst) GoString() string

func (AgsOnReasonConst) String added in v1.3.0

func (e AgsOnReasonConst) String() string

type AgsOperatingStateConst added in v1.3.0

type AgsOperatingStateConst uint8
const (
	AgsOperatingStateQuietTime         AgsOperatingStateConst = 0
	AgsOperatingStateAutoOn            AgsOperatingStateConst = 1
	AgsOperatingStateAutoOff           AgsOperatingStateConst = 2
	AgsOperatingStateManualOn          AgsOperatingStateConst = 3
	AgsOperatingStateManualOff         AgsOperatingStateConst = 4
	AgsOperatingStateGeneratorShutdown AgsOperatingStateConst = 5
	AgsOperatingStateExternalShutdown  AgsOperatingStateConst = 6
	AgsOperatingStateFault             AgsOperatingStateConst = 7
	AgsOperatingStateSuspend           AgsOperatingStateConst = 8
	AgsOperatingStateNotOperating      AgsOperatingStateConst = 9
)

func (AgsOperatingStateConst) GoString added in v1.3.0

func (e AgsOperatingStateConst) GoString() string

func (AgsOperatingStateConst) String added in v1.3.0

func (e AgsOperatingStateConst) String() string

type AgsStatus

type AgsStatus struct {
	Info               MessageInfo `json:"info"`
	Instance           *uint64     `json:"instance,omitempty" n2k:"1"`
	GeneratorInstance  *uint64     `json:"generatorInstance,omitempty" n2k:"2"`
	AgsOperatingState  *uint64     `json:"agsOperatingState,omitempty" n2k:"3"`
	GeneratorState     *uint64     `json:"generatorState,omitempty" n2k:"4"`
	GeneratorOnReason  *uint64     `json:"generatorOnReason,omitempty" n2k:"5"`
	GeneratorOffReason *uint64     `json:"generatorOffReason,omitempty" n2k:"6"`
}

func (*AgsStatus) Clone added in v1.3.0

func (m *AgsStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AgsStatus) DecodePayload

func (m *AgsStatus) DecodePayload(payload []uint8) error

func (*AgsStatus) EncodePayload

func (m *AgsStatus) EncodePayload() ([]uint8, error)

func (*AgsStatus) MessageInfo

func (m *AgsStatus) MessageInfo() MessageInfo

func (*AgsStatus) PGNNumber

func (m *AgsStatus) PGNNumber() uint32

func (*AgsStatus) SetMessageInfo

func (m *AgsStatus) SetMessageInfo(info MessageInfo)

type AirmarAccessLevel

type AirmarAccessLevel struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	FormatCode       *uint64     `json:"formatCode,omitempty" n2k:"4"`
	AccessLevel      *uint64     `json:"accessLevel,omitempty" n2k:"5"`
	AccessSeedKey    *uint64     `json:"accessSeedKey,omitempty" n2k:"7"`
}

func (*AirmarAccessLevel) Clone added in v1.3.0

func (m *AirmarAccessLevel) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarAccessLevel) DecodePayload

func (m *AirmarAccessLevel) DecodePayload(payload []uint8) error

func (*AirmarAccessLevel) EncodePayload

func (m *AirmarAccessLevel) EncodePayload() ([]uint8, error)

func (*AirmarAccessLevel) MessageInfo

func (m *AirmarAccessLevel) MessageInfo() MessageInfo

func (*AirmarAccessLevel) PGNNumber

func (m *AirmarAccessLevel) PGNNumber() uint32

func (*AirmarAccessLevel) SetMessageInfo

func (m *AirmarAccessLevel) SetMessageInfo(info MessageInfo)

type AirmarAdditionalWeatherData

type AirmarAdditionalWeatherData struct {
	Info                         MessageInfo `json:"info"`
	ManufacturerCode             *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode                 *uint64     `json:"industryCode,omitempty" n2k:"3"`
	C                            *uint64     `json:"c,omitempty" n2k:"4"`
	ApparentWindchillTemperature *uint64     `json:"apparentWindchillTemperature,omitempty" n2k:"5"`
	TrueWindchillTemperature     *uint64     `json:"trueWindchillTemperature,omitempty" n2k:"6"`
	Dewpoint                     *uint64     `json:"dewpoint,omitempty" n2k:"7"`
}

func (*AirmarAdditionalWeatherData) ApparentWindchillTemperatureValue

func (m *AirmarAdditionalWeatherData) ApparentWindchillTemperatureValue() (float64, bool)

ApparentWindchillTemperatureValue returns ApparentWindchillTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarAdditionalWeatherData) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarAdditionalWeatherData) DecodePayload

func (m *AirmarAdditionalWeatherData) DecodePayload(payload []uint8) error

func (*AirmarAdditionalWeatherData) DewpointValue

func (m *AirmarAdditionalWeatherData) DewpointValue() (float64, bool)

DewpointValue returns Dewpoint as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarAdditionalWeatherData) EncodePayload

func (m *AirmarAdditionalWeatherData) EncodePayload() ([]uint8, error)

func (*AirmarAdditionalWeatherData) MessageInfo

func (m *AirmarAdditionalWeatherData) MessageInfo() MessageInfo

func (*AirmarAdditionalWeatherData) PGNNumber

func (m *AirmarAdditionalWeatherData) PGNNumber() uint32

func (*AirmarAdditionalWeatherData) SetApparentWindchillTemperatureValue

func (m *AirmarAdditionalWeatherData) SetApparentWindchillTemperatureValue(v float64)

SetApparentWindchillTemperatureValue sets ApparentWindchillTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*AirmarAdditionalWeatherData) SetDewpointValue

func (m *AirmarAdditionalWeatherData) SetDewpointValue(v float64)

SetDewpointValue sets Dewpoint from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*AirmarAdditionalWeatherData) SetMessageInfo

func (m *AirmarAdditionalWeatherData) SetMessageInfo(info MessageInfo)

func (*AirmarAdditionalWeatherData) SetTrueWindchillTemperatureValue

func (m *AirmarAdditionalWeatherData) SetTrueWindchillTemperatureValue(v float64)

SetTrueWindchillTemperatureValue sets TrueWindchillTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*AirmarAdditionalWeatherData) TrueWindchillTemperatureValue

func (m *AirmarAdditionalWeatherData) TrueWindchillTemperatureValue() (float64, bool)

TrueWindchillTemperatureValue returns TrueWindchillTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type AirmarAddressableMultiFrame

type AirmarAddressableMultiFrame struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
}

func (*AirmarAddressableMultiFrame) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarAddressableMultiFrame) DecodePayload

func (m *AirmarAddressableMultiFrame) DecodePayload(payload []uint8) error

func (*AirmarAddressableMultiFrame) EncodePayload

func (m *AirmarAddressableMultiFrame) EncodePayload() ([]uint8, error)

func (*AirmarAddressableMultiFrame) MessageInfo

func (m *AirmarAddressableMultiFrame) MessageInfo() MessageInfo

func (*AirmarAddressableMultiFrame) PGNNumber

func (m *AirmarAddressableMultiFrame) PGNNumber() uint32

func (*AirmarAddressableMultiFrame) SetMessageInfo

func (m *AirmarAddressableMultiFrame) SetMessageInfo(info MessageInfo)

type AirmarAttitudeOffset

type AirmarAttitudeOffset struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	AzimuthOffset    *int64      `json:"azimuthOffset,omitempty" n2k:"5"`
	PitchOffset      *int64      `json:"pitchOffset,omitempty" n2k:"6"`
	RollOffset       *int64      `json:"rollOffset,omitempty" n2k:"7"`
}

func (*AirmarAttitudeOffset) AzimuthOffsetValue

func (m *AirmarAttitudeOffset) AzimuthOffsetValue() (float64, bool)

AzimuthOffsetValue returns AzimuthOffset as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarAttitudeOffset) Clone added in v1.3.0

func (m *AirmarAttitudeOffset) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarAttitudeOffset) DecodePayload

func (m *AirmarAttitudeOffset) DecodePayload(payload []uint8) error

func (*AirmarAttitudeOffset) EncodePayload

func (m *AirmarAttitudeOffset) EncodePayload() ([]uint8, error)

func (*AirmarAttitudeOffset) MessageInfo

func (m *AirmarAttitudeOffset) MessageInfo() MessageInfo

func (*AirmarAttitudeOffset) PGNNumber

func (m *AirmarAttitudeOffset) PGNNumber() uint32

func (*AirmarAttitudeOffset) PitchOffsetValue

func (m *AirmarAttitudeOffset) PitchOffsetValue() (float64, bool)

PitchOffsetValue returns PitchOffset as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarAttitudeOffset) RollOffsetValue

func (m *AirmarAttitudeOffset) RollOffsetValue() (float64, bool)

RollOffsetValue returns RollOffset as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarAttitudeOffset) SetAzimuthOffsetValue

func (m *AirmarAttitudeOffset) SetAzimuthOffsetValue(v float64)

SetAzimuthOffsetValue sets AzimuthOffset from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AirmarAttitudeOffset) SetMessageInfo

func (m *AirmarAttitudeOffset) SetMessageInfo(info MessageInfo)

func (*AirmarAttitudeOffset) SetPitchOffsetValue

func (m *AirmarAttitudeOffset) SetPitchOffsetValue(v float64)

SetPitchOffsetValue sets PitchOffset from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AirmarAttitudeOffset) SetRollOffsetValue

func (m *AirmarAttitudeOffset) SetRollOffsetValue(v float64)

SetRollOffsetValue sets RollOffset from a physical value in rad, rounded to the nearest wire tick of 0.0001.

type AirmarBootStateAcknowledgment

type AirmarBootStateAcknowledgment struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	BootState        *uint64     `json:"bootState,omitempty" n2k:"4"`
}

func (*AirmarBootStateAcknowledgment) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarBootStateAcknowledgment) DecodePayload

func (m *AirmarBootStateAcknowledgment) DecodePayload(payload []uint8) error

func (*AirmarBootStateAcknowledgment) EncodePayload

func (m *AirmarBootStateAcknowledgment) EncodePayload() ([]uint8, error)

func (*AirmarBootStateAcknowledgment) MessageInfo

func (m *AirmarBootStateAcknowledgment) MessageInfo() MessageInfo

func (*AirmarBootStateAcknowledgment) PGNNumber

func (m *AirmarBootStateAcknowledgment) PGNNumber() uint32

func (*AirmarBootStateAcknowledgment) SetMessageInfo

func (m *AirmarBootStateAcknowledgment) SetMessageInfo(info MessageInfo)

type AirmarBootStateRequest

type AirmarBootStateRequest struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*AirmarBootStateRequest) Clone added in v1.3.0

func (m *AirmarBootStateRequest) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarBootStateRequest) DecodePayload

func (m *AirmarBootStateRequest) DecodePayload(payload []uint8) error

func (*AirmarBootStateRequest) EncodePayload

func (m *AirmarBootStateRequest) EncodePayload() ([]uint8, error)

func (*AirmarBootStateRequest) MessageInfo

func (m *AirmarBootStateRequest) MessageInfo() MessageInfo

func (*AirmarBootStateRequest) PGNNumber

func (m *AirmarBootStateRequest) PGNNumber() uint32

func (*AirmarBootStateRequest) SetMessageInfo

func (m *AirmarBootStateRequest) SetMessageInfo(info MessageInfo)

type AirmarCalibrateCompass

type AirmarCalibrateCompass struct {
	Info                   MessageInfo `json:"info"`
	ManufacturerCode       *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode           *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId          *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	CalibrateFunction      *uint64     `json:"calibrateFunction,omitempty" n2k:"5"`
	CalibrationStatus      *uint64     `json:"calibrationStatus,omitempty" n2k:"6"`
	VerifyScore            *uint64     `json:"verifyScore,omitempty" n2k:"7"`
	XAxisGainValue         *int64      `json:"xAxisGainValue,omitempty" n2k:"8"`
	YAxisGainValue         *int64      `json:"yAxisGainValue,omitempty" n2k:"9"`
	ZAxisGainValue         *int64      `json:"zAxisGainValue,omitempty" n2k:"10"`
	XAxisLinearOffset      *int64      `json:"xAxisLinearOffset,omitempty" n2k:"11"`
	YAxisLinearOffset      *int64      `json:"yAxisLinearOffset,omitempty" n2k:"12"`
	ZAxisLinearOffset      *int64      `json:"zAxisLinearOffset,omitempty" n2k:"13"`
	XAxisAngularOffset     *int64      `json:"xAxisAngularOffset,omitempty" n2k:"14"`
	PitchAndRollDamping    *int64      `json:"pitchAndRollDamping,omitempty" n2k:"15"`
	CompassRateGyroDamping *int64      `json:"compassRateGyroDamping,omitempty" n2k:"16"`
}

func (*AirmarCalibrateCompass) Clone added in v1.3.0

func (m *AirmarCalibrateCompass) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarCalibrateCompass) CompassRateGyroDampingValue

func (m *AirmarCalibrateCompass) CompassRateGyroDampingValue() (float64, bool)

CompassRateGyroDampingValue returns CompassRateGyroDamping as a physical value in s (value = raw * 0.05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateCompass) DecodePayload

func (m *AirmarCalibrateCompass) DecodePayload(payload []uint8) error

func (*AirmarCalibrateCompass) EncodePayload

func (m *AirmarCalibrateCompass) EncodePayload() ([]uint8, error)

func (*AirmarCalibrateCompass) MessageInfo

func (m *AirmarCalibrateCompass) MessageInfo() MessageInfo

func (*AirmarCalibrateCompass) PGNNumber

func (m *AirmarCalibrateCompass) PGNNumber() uint32

func (*AirmarCalibrateCompass) PitchAndRollDampingValue

func (m *AirmarCalibrateCompass) PitchAndRollDampingValue() (float64, bool)

PitchAndRollDampingValue returns PitchAndRollDamping as a physical value in s (value = raw * 0.05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateCompass) SetCompassRateGyroDampingValue

func (m *AirmarCalibrateCompass) SetCompassRateGyroDampingValue(v float64)

SetCompassRateGyroDampingValue sets CompassRateGyroDamping from a physical value in s, rounded to the nearest wire tick of 0.05.

func (*AirmarCalibrateCompass) SetMessageInfo

func (m *AirmarCalibrateCompass) SetMessageInfo(info MessageInfo)

func (*AirmarCalibrateCompass) SetPitchAndRollDampingValue

func (m *AirmarCalibrateCompass) SetPitchAndRollDampingValue(v float64)

SetPitchAndRollDampingValue sets PitchAndRollDamping from a physical value in s, rounded to the nearest wire tick of 0.05.

func (*AirmarCalibrateCompass) SetXAxisAngularOffsetValue

func (m *AirmarCalibrateCompass) SetXAxisAngularOffsetValue(v float64)

SetXAxisAngularOffsetValue sets XAxisAngularOffset from a physical value in deg, rounded to the nearest wire tick of 0.1.

func (*AirmarCalibrateCompass) SetXAxisGainValueValue

func (m *AirmarCalibrateCompass) SetXAxisGainValueValue(v float64)

SetXAxisGainValueValue sets XAxisGainValue from a physical value, rounded to the nearest wire tick of 0.01.

func (*AirmarCalibrateCompass) SetXAxisLinearOffsetValue

func (m *AirmarCalibrateCompass) SetXAxisLinearOffsetValue(v float64)

SetXAxisLinearOffsetValue sets XAxisLinearOffset from a physical value in T, rounded to the nearest wire tick of 0.01.

func (*AirmarCalibrateCompass) SetYAxisGainValueValue

func (m *AirmarCalibrateCompass) SetYAxisGainValueValue(v float64)

SetYAxisGainValueValue sets YAxisGainValue from a physical value, rounded to the nearest wire tick of 0.01.

func (*AirmarCalibrateCompass) SetYAxisLinearOffsetValue

func (m *AirmarCalibrateCompass) SetYAxisLinearOffsetValue(v float64)

SetYAxisLinearOffsetValue sets YAxisLinearOffset from a physical value in T, rounded to the nearest wire tick of 0.01.

func (*AirmarCalibrateCompass) SetZAxisGainValueValue

func (m *AirmarCalibrateCompass) SetZAxisGainValueValue(v float64)

SetZAxisGainValueValue sets ZAxisGainValue from a physical value, rounded to the nearest wire tick of 0.01.

func (*AirmarCalibrateCompass) SetZAxisLinearOffsetValue

func (m *AirmarCalibrateCompass) SetZAxisLinearOffsetValue(v float64)

SetZAxisLinearOffsetValue sets ZAxisLinearOffset from a physical value in T, rounded to the nearest wire tick of 0.01.

func (*AirmarCalibrateCompass) XAxisAngularOffsetValue

func (m *AirmarCalibrateCompass) XAxisAngularOffsetValue() (float64, bool)

XAxisAngularOffsetValue returns XAxisAngularOffset as a physical value in deg (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateCompass) XAxisGainValueValue

func (m *AirmarCalibrateCompass) XAxisGainValueValue() (float64, bool)

XAxisGainValueValue returns XAxisGainValue as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateCompass) XAxisLinearOffsetValue

func (m *AirmarCalibrateCompass) XAxisLinearOffsetValue() (float64, bool)

XAxisLinearOffsetValue returns XAxisLinearOffset as a physical value in T (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateCompass) YAxisGainValueValue

func (m *AirmarCalibrateCompass) YAxisGainValueValue() (float64, bool)

YAxisGainValueValue returns YAxisGainValue as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateCompass) YAxisLinearOffsetValue

func (m *AirmarCalibrateCompass) YAxisLinearOffsetValue() (float64, bool)

YAxisLinearOffsetValue returns YAxisLinearOffset as a physical value in T (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateCompass) ZAxisGainValueValue

func (m *AirmarCalibrateCompass) ZAxisGainValueValue() (float64, bool)

ZAxisGainValueValue returns ZAxisGainValue as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateCompass) ZAxisLinearOffsetValue

func (m *AirmarCalibrateCompass) ZAxisLinearOffsetValue() (float64, bool)

ZAxisLinearOffsetValue returns ZAxisLinearOffset as a physical value in T (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type AirmarCalibrateDepth

type AirmarCalibrateDepth struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	SpeedOfSoundMode *uint64     `json:"speedOfSoundMode,omitempty" n2k:"5"`
}

func (*AirmarCalibrateDepth) Clone added in v1.3.0

func (m *AirmarCalibrateDepth) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarCalibrateDepth) DecodePayload

func (m *AirmarCalibrateDepth) DecodePayload(payload []uint8) error

func (*AirmarCalibrateDepth) EncodePayload

func (m *AirmarCalibrateDepth) EncodePayload() ([]uint8, error)

func (*AirmarCalibrateDepth) MessageInfo

func (m *AirmarCalibrateDepth) MessageInfo() MessageInfo

func (*AirmarCalibrateDepth) PGNNumber

func (m *AirmarCalibrateDepth) PGNNumber() uint32

func (*AirmarCalibrateDepth) SetMessageInfo

func (m *AirmarCalibrateDepth) SetMessageInfo(info MessageInfo)

func (*AirmarCalibrateDepth) SetSpeedOfSoundModeValue

func (m *AirmarCalibrateDepth) SetSpeedOfSoundModeValue(v float64)

SetSpeedOfSoundModeValue sets SpeedOfSoundMode from a physical value in m/s, rounded to the nearest wire tick of 0.1.

func (*AirmarCalibrateDepth) SpeedOfSoundModeValue

func (m *AirmarCalibrateDepth) SpeedOfSoundModeValue() (float64, bool)

SpeedOfSoundModeValue returns SpeedOfSoundMode as a physical value in m/s (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

type AirmarCalibrateFunctionConst

type AirmarCalibrateFunctionConst uint8
const (
	AirmarCalibrateFunctionNormalCancelCalibration AirmarCalibrateFunctionConst = 0
	AirmarCalibrateFunctionEnterCalibrationMode    AirmarCalibrateFunctionConst = 1
	AirmarCalibrateFunctionResetCalibrationTo0     AirmarCalibrateFunctionConst = 2
	AirmarCalibrateFunctionVerify                  AirmarCalibrateFunctionConst = 3
	AirmarCalibrateFunctionResetCompassToDefaults  AirmarCalibrateFunctionConst = 4
	AirmarCalibrateFunctionResetDampingToDefaults  AirmarCalibrateFunctionConst = 5
)

func (AirmarCalibrateFunctionConst) GoString

func (e AirmarCalibrateFunctionConst) GoString() string

func (AirmarCalibrateFunctionConst) String

type AirmarCalibrateSpeed

type AirmarCalibrateSpeed struct {
	Info                      MessageInfo                      `json:"info"`
	ManufacturerCode          *uint64                          `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode              *uint64                          `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId             *uint64                          `json:"proprietaryId,omitempty" n2k:"4"`
	NumberOfPairsOfDataPoints *uint64                          `json:"numberOfPairsOfDataPoints,omitempty" n2k:"5"`
	Repeating1                []AirmarCalibrateSpeedRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AirmarCalibrateSpeed) Clone added in v1.3.0

func (m *AirmarCalibrateSpeed) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarCalibrateSpeed) DecodePayload

func (m *AirmarCalibrateSpeed) DecodePayload(payload []uint8) error

func (*AirmarCalibrateSpeed) EncodePayload

func (m *AirmarCalibrateSpeed) EncodePayload() ([]uint8, error)

func (*AirmarCalibrateSpeed) MessageInfo

func (m *AirmarCalibrateSpeed) MessageInfo() MessageInfo

func (*AirmarCalibrateSpeed) PGNNumber

func (m *AirmarCalibrateSpeed) PGNNumber() uint32

func (*AirmarCalibrateSpeed) SetMessageInfo

func (m *AirmarCalibrateSpeed) SetMessageInfo(info MessageInfo)

type AirmarCalibrateSpeedRepeating1

type AirmarCalibrateSpeedRepeating1 struct {
	InputFrequency *uint64 `json:"inputFrequency,omitempty" n2k:"6"`
	OutputSpeed    *uint64 `json:"outputSpeed,omitempty" n2k:"7"`
}

func (*AirmarCalibrateSpeedRepeating1) InputFrequencyValue

func (m *AirmarCalibrateSpeedRepeating1) InputFrequencyValue() (float64, bool)

InputFrequencyValue returns InputFrequency as a physical value in Hz (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateSpeedRepeating1) OutputSpeedValue

func (m *AirmarCalibrateSpeedRepeating1) OutputSpeedValue() (float64, bool)

OutputSpeedValue returns OutputSpeed as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarCalibrateSpeedRepeating1) SetInputFrequencyValue

func (m *AirmarCalibrateSpeedRepeating1) SetInputFrequencyValue(v float64)

SetInputFrequencyValue sets InputFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.1.

func (*AirmarCalibrateSpeedRepeating1) SetOutputSpeedValue

func (m *AirmarCalibrateSpeedRepeating1) SetOutputSpeedValue(v float64)

SetOutputSpeedValue sets OutputSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.

type AirmarCalibrateStatusConst

type AirmarCalibrateStatusConst uint8
const (
	AirmarCalibrateStatusQueried         AirmarCalibrateStatusConst = 0
	AirmarCalibrateStatusPassed          AirmarCalibrateStatusConst = 1
	AirmarCalibrateStatusFailedTimeout   AirmarCalibrateStatusConst = 2
	AirmarCalibrateStatusFailedTiltError AirmarCalibrateStatusConst = 3
	AirmarCalibrateStatusFailedOther     AirmarCalibrateStatusConst = 4
	AirmarCalibrateStatusInProgress      AirmarCalibrateStatusConst = 5
)

func (AirmarCalibrateStatusConst) GoString

func (e AirmarCalibrateStatusConst) GoString() string

func (AirmarCalibrateStatusConst) String

type AirmarCalibrateTemperature

type AirmarCalibrateTemperature struct {
	Info                MessageInfo `json:"info"`
	ManufacturerCode    *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode        *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId       *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	TemperatureInstance *uint64     `json:"temperatureInstance,omitempty" n2k:"5"`
	TemperatureOffset   *int64      `json:"temperatureOffset,omitempty" n2k:"7"`
}

func (*AirmarCalibrateTemperature) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarCalibrateTemperature) DecodePayload

func (m *AirmarCalibrateTemperature) DecodePayload(payload []uint8) error

func (*AirmarCalibrateTemperature) EncodePayload

func (m *AirmarCalibrateTemperature) EncodePayload() ([]uint8, error)

func (*AirmarCalibrateTemperature) MessageInfo

func (m *AirmarCalibrateTemperature) MessageInfo() MessageInfo

func (*AirmarCalibrateTemperature) PGNNumber

func (m *AirmarCalibrateTemperature) PGNNumber() uint32

func (*AirmarCalibrateTemperature) SetMessageInfo

func (m *AirmarCalibrateTemperature) SetMessageInfo(info MessageInfo)

func (*AirmarCalibrateTemperature) SetTemperatureOffsetValue

func (m *AirmarCalibrateTemperature) SetTemperatureOffsetValue(v float64)

SetTemperatureOffsetValue sets TemperatureOffset from a physical value in K, rounded to the nearest wire tick of 0.001.

func (*AirmarCalibrateTemperature) TemperatureOffsetValue

func (m *AirmarCalibrateTemperature) TemperatureOffsetValue() (float64, bool)

TemperatureOffsetValue returns TemperatureOffset as a physical value in K (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

type AirmarCommandConst

type AirmarCommandConst uint8
const (
	AirmarCommandAttitudeOffsets      AirmarCommandConst = 32
	AirmarCommandCalibrateCompass     AirmarCommandConst = 33
	AirmarCommandTrueWindOptions      AirmarCommandConst = 34
	AirmarCommandSimulateMode         AirmarCommandConst = 35
	AirmarCommandCalibrateDepth       AirmarCommandConst = 40
	AirmarCommandCalibrateSpeed       AirmarCommandConst = 41
	AirmarCommandCalibrateTemperature AirmarCommandConst = 42
	AirmarCommandSpeedFilter          AirmarCommandConst = 43
	AirmarCommandTemperatureFilter    AirmarCommandConst = 44
	AirmarCommandNMEA2000Options      AirmarCommandConst = 46
)

func (AirmarCommandConst) GoString

func (e AirmarCommandConst) GoString() string

func (AirmarCommandConst) String

func (e AirmarCommandConst) String() string

type AirmarDepthQualityFactor

type AirmarDepthQualityFactor struct {
	Info               MessageInfo `json:"info"`
	ManufacturerCode   *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode       *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid                *uint64     `json:"sid,omitempty" n2k:"4"`
	DepthQualityFactor *uint64     `json:"depthQualityFactor,omitempty" n2k:"5"`
}

func (*AirmarDepthQualityFactor) Clone added in v1.3.0

func (m *AirmarDepthQualityFactor) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarDepthQualityFactor) DecodePayload

func (m *AirmarDepthQualityFactor) DecodePayload(payload []uint8) error

func (*AirmarDepthQualityFactor) EncodePayload

func (m *AirmarDepthQualityFactor) EncodePayload() ([]uint8, error)

func (*AirmarDepthQualityFactor) MessageInfo

func (m *AirmarDepthQualityFactor) MessageInfo() MessageInfo

func (*AirmarDepthQualityFactor) PGNNumber

func (m *AirmarDepthQualityFactor) PGNNumber() uint32

func (*AirmarDepthQualityFactor) SetMessageInfo

func (m *AirmarDepthQualityFactor) SetMessageInfo(info MessageInfo)

type AirmarDepthQualityFactorConst

type AirmarDepthQualityFactorConst uint8
const (
	AirmarDepthQualityFactorDepthUnlocked AirmarDepthQualityFactorConst = 0
	AirmarDepthQualityFactorQuality10     AirmarDepthQualityFactorConst = 1
	AirmarDepthQualityFactorQuality20     AirmarDepthQualityFactorConst = 2
	AirmarDepthQualityFactorQuality30     AirmarDepthQualityFactorConst = 3
	AirmarDepthQualityFactorQuality40     AirmarDepthQualityFactorConst = 4
	AirmarDepthQualityFactorQuality50     AirmarDepthQualityFactorConst = 5
	AirmarDepthQualityFactorQuality60     AirmarDepthQualityFactorConst = 6
	AirmarDepthQualityFactorQuality70     AirmarDepthQualityFactorConst = 7
	AirmarDepthQualityFactorQuality80     AirmarDepthQualityFactorConst = 8
	AirmarDepthQualityFactorQuality90     AirmarDepthQualityFactorConst = 9
	AirmarDepthQualityFactorQuality100    AirmarDepthQualityFactorConst = 10
)

func (AirmarDepthQualityFactorConst) GoString

func (AirmarDepthQualityFactorConst) String

type AirmarDeviceInformation

type AirmarDeviceInformation struct {
	Info                      MessageInfo `json:"info"`
	ManufacturerCode          *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode              *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid                       *uint64     `json:"sid,omitempty" n2k:"4"`
	InternalDeviceTemperature *uint64     `json:"internalDeviceTemperature,omitempty" n2k:"5"`
	SupplyVoltage             *uint64     `json:"supplyVoltage,omitempty" n2k:"6"`
}

func (*AirmarDeviceInformation) Clone added in v1.3.0

func (m *AirmarDeviceInformation) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarDeviceInformation) DecodePayload

func (m *AirmarDeviceInformation) DecodePayload(payload []uint8) error

func (*AirmarDeviceInformation) EncodePayload

func (m *AirmarDeviceInformation) EncodePayload() ([]uint8, error)

func (*AirmarDeviceInformation) InternalDeviceTemperatureValue

func (m *AirmarDeviceInformation) InternalDeviceTemperatureValue() (float64, bool)

InternalDeviceTemperatureValue returns InternalDeviceTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarDeviceInformation) MessageInfo

func (m *AirmarDeviceInformation) MessageInfo() MessageInfo

func (*AirmarDeviceInformation) PGNNumber

func (m *AirmarDeviceInformation) PGNNumber() uint32

func (*AirmarDeviceInformation) SetInternalDeviceTemperatureValue

func (m *AirmarDeviceInformation) SetInternalDeviceTemperatureValue(v float64)

SetInternalDeviceTemperatureValue sets InternalDeviceTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*AirmarDeviceInformation) SetMessageInfo

func (m *AirmarDeviceInformation) SetMessageInfo(info MessageInfo)

func (*AirmarDeviceInformation) SetSupplyVoltageValue

func (m *AirmarDeviceInformation) SetSupplyVoltageValue(v float64)

SetSupplyVoltageValue sets SupplyVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*AirmarDeviceInformation) SupplyVoltageValue

func (m *AirmarDeviceInformation) SupplyVoltageValue() (float64, bool)

SupplyVoltageValue returns SupplyVoltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type AirmarHeaterControl

type AirmarHeaterControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	C                *uint64     `json:"c,omitempty" n2k:"4"`
	PlateTemperature *uint64     `json:"plateTemperature,omitempty" n2k:"5"`
	AirTemperature   *uint64     `json:"airTemperature,omitempty" n2k:"6"`
	Dewpoint         *uint64     `json:"dewpoint,omitempty" n2k:"7"`
}

func (*AirmarHeaterControl) AirTemperatureValue

func (m *AirmarHeaterControl) AirTemperatureValue() (float64, bool)

AirTemperatureValue returns AirTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarHeaterControl) Clone added in v1.3.0

func (m *AirmarHeaterControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarHeaterControl) DecodePayload

func (m *AirmarHeaterControl) DecodePayload(payload []uint8) error

func (*AirmarHeaterControl) DewpointValue

func (m *AirmarHeaterControl) DewpointValue() (float64, bool)

DewpointValue returns Dewpoint as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarHeaterControl) EncodePayload

func (m *AirmarHeaterControl) EncodePayload() ([]uint8, error)

func (*AirmarHeaterControl) MessageInfo

func (m *AirmarHeaterControl) MessageInfo() MessageInfo

func (*AirmarHeaterControl) PGNNumber

func (m *AirmarHeaterControl) PGNNumber() uint32

func (*AirmarHeaterControl) PlateTemperatureValue

func (m *AirmarHeaterControl) PlateTemperatureValue() (float64, bool)

PlateTemperatureValue returns PlateTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarHeaterControl) SetAirTemperatureValue

func (m *AirmarHeaterControl) SetAirTemperatureValue(v float64)

SetAirTemperatureValue sets AirTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*AirmarHeaterControl) SetDewpointValue

func (m *AirmarHeaterControl) SetDewpointValue(v float64)

SetDewpointValue sets Dewpoint from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*AirmarHeaterControl) SetMessageInfo

func (m *AirmarHeaterControl) SetMessageInfo(info MessageInfo)

func (*AirmarHeaterControl) SetPlateTemperatureValue

func (m *AirmarHeaterControl) SetPlateTemperatureValue(v float64)

SetPlateTemperatureValue sets PlateTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

type AirmarNmea2000Options

type AirmarNmea2000Options struct {
	Info                 MessageInfo `json:"info"`
	ManufacturerCode     *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode         *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId        *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	TransmissionInterval *uint64     `json:"transmissionInterval,omitempty" n2k:"5"`
}

func (*AirmarNmea2000Options) Clone added in v1.3.0

func (m *AirmarNmea2000Options) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarNmea2000Options) DecodePayload

func (m *AirmarNmea2000Options) DecodePayload(payload []uint8) error

func (*AirmarNmea2000Options) EncodePayload

func (m *AirmarNmea2000Options) EncodePayload() ([]uint8, error)

func (*AirmarNmea2000Options) MessageInfo

func (m *AirmarNmea2000Options) MessageInfo() MessageInfo

func (*AirmarNmea2000Options) PGNNumber

func (m *AirmarNmea2000Options) PGNNumber() uint32

func (*AirmarNmea2000Options) SetMessageInfo

func (m *AirmarNmea2000Options) SetMessageInfo(info MessageInfo)

type AirmarPost

type AirmarPost struct {
	Info                              MessageInfo `json:"info"`
	ManufacturerCode                  *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode                      *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Control                           *uint64     `json:"control,omitempty" n2k:"4"`
	NumberOfIdTestResultPairsToFollow *uint64     `json:"numberOfIdTestResultPairsToFollow,omitempty" n2k:"6"`
	TestId                            *uint64     `json:"testId,omitempty" n2k:"7"`
	TestResult                        *uint64     `json:"testResult,omitempty" n2k:"8"`
}

func (*AirmarPost) Clone added in v1.3.0

func (m *AirmarPost) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarPost) DecodePayload

func (m *AirmarPost) DecodePayload(payload []uint8) error

func (*AirmarPost) EncodePayload

func (m *AirmarPost) EncodePayload() ([]uint8, error)

func (*AirmarPost) MessageInfo

func (m *AirmarPost) MessageInfo() MessageInfo

func (*AirmarPost) PGNNumber

func (m *AirmarPost) PGNNumber() uint32

func (*AirmarPost) SetMessageInfo

func (m *AirmarPost) SetMessageInfo(info MessageInfo)

type AirmarPostControlConst

type AirmarPostControlConst uint8
const (
	AirmarPostControlReportPreviousValues AirmarPostControlConst = 0
	AirmarPostControlGenerateNewValues    AirmarPostControlConst = 1
)

func (AirmarPostControlConst) GoString

func (e AirmarPostControlConst) GoString() string

func (AirmarPostControlConst) String

func (e AirmarPostControlConst) String() string

type AirmarPostIdConst

type AirmarPostIdConst uint8
const (
	AirmarPostIdFormatCode                AirmarPostIdConst = 1
	AirmarPostIdFactoryEEPROM             AirmarPostIdConst = 2
	AirmarPostIdUserEEPROM                AirmarPostIdConst = 3
	AirmarPostIdWaterTemperatureSensor    AirmarPostIdConst = 4
	AirmarPostIdSonarTransceiver          AirmarPostIdConst = 5
	AirmarPostIdSpeedSensor               AirmarPostIdConst = 6
	AirmarPostIdInternalTemperatureSensor AirmarPostIdConst = 7
	AirmarPostIdBatteryVoltageSensor      AirmarPostIdConst = 8
)

func (AirmarPostIdConst) GoString

func (e AirmarPostIdConst) GoString() string

func (AirmarPostIdConst) String

func (e AirmarPostIdConst) String() string

type AirmarSimulateMode

type AirmarSimulateMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	SimulateMode     *uint64     `json:"simulateMode,omitempty" n2k:"5"`
}

func (*AirmarSimulateMode) Clone added in v1.3.0

func (m *AirmarSimulateMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarSimulateMode) DecodePayload

func (m *AirmarSimulateMode) DecodePayload(payload []uint8) error

func (*AirmarSimulateMode) EncodePayload

func (m *AirmarSimulateMode) EncodePayload() ([]uint8, error)

func (*AirmarSimulateMode) MessageInfo

func (m *AirmarSimulateMode) MessageInfo() MessageInfo

func (*AirmarSimulateMode) PGNNumber

func (m *AirmarSimulateMode) PGNNumber() uint32

func (*AirmarSimulateMode) SetMessageInfo

func (m *AirmarSimulateMode) SetMessageInfo(info MessageInfo)

type AirmarSpeedFilterIir

type AirmarSpeedFilterIir struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	FilterType       *uint64     `json:"filterType,omitempty" n2k:"5"`
	SampleInterval   *uint64     `json:"sampleInterval,omitempty" n2k:"7"`
	FilterDuration   *uint64     `json:"filterDuration,omitempty" n2k:"8"`
}

func (*AirmarSpeedFilterIir) Clone added in v1.3.0

func (m *AirmarSpeedFilterIir) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarSpeedFilterIir) DecodePayload

func (m *AirmarSpeedFilterIir) DecodePayload(payload []uint8) error

func (*AirmarSpeedFilterIir) EncodePayload

func (m *AirmarSpeedFilterIir) EncodePayload() ([]uint8, error)

func (*AirmarSpeedFilterIir) FilterDurationValue

func (m *AirmarSpeedFilterIir) FilterDurationValue() (float64, bool)

FilterDurationValue returns FilterDuration as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarSpeedFilterIir) MessageInfo

func (m *AirmarSpeedFilterIir) MessageInfo() MessageInfo

func (*AirmarSpeedFilterIir) PGNNumber

func (m *AirmarSpeedFilterIir) PGNNumber() uint32

func (*AirmarSpeedFilterIir) SampleIntervalValue

func (m *AirmarSpeedFilterIir) SampleIntervalValue() (float64, bool)

SampleIntervalValue returns SampleInterval as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarSpeedFilterIir) SetFilterDurationValue

func (m *AirmarSpeedFilterIir) SetFilterDurationValue(v float64)

SetFilterDurationValue sets FilterDuration from a physical value in s, rounded to the nearest wire tick of 0.01.

func (*AirmarSpeedFilterIir) SetMessageInfo

func (m *AirmarSpeedFilterIir) SetMessageInfo(info MessageInfo)

func (*AirmarSpeedFilterIir) SetSampleIntervalValue

func (m *AirmarSpeedFilterIir) SetSampleIntervalValue(v float64)

SetSampleIntervalValue sets SampleInterval from a physical value in s, rounded to the nearest wire tick of 0.01.

type AirmarSpeedFilterNone

type AirmarSpeedFilterNone struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	FilterType       *uint64     `json:"filterType,omitempty" n2k:"5"`
	SampleInterval   *uint64     `json:"sampleInterval,omitempty" n2k:"7"`
}

func (*AirmarSpeedFilterNone) Clone added in v1.3.0

func (m *AirmarSpeedFilterNone) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarSpeedFilterNone) DecodePayload

func (m *AirmarSpeedFilterNone) DecodePayload(payload []uint8) error

func (*AirmarSpeedFilterNone) EncodePayload

func (m *AirmarSpeedFilterNone) EncodePayload() ([]uint8, error)

func (*AirmarSpeedFilterNone) MessageInfo

func (m *AirmarSpeedFilterNone) MessageInfo() MessageInfo

func (*AirmarSpeedFilterNone) PGNNumber

func (m *AirmarSpeedFilterNone) PGNNumber() uint32

func (*AirmarSpeedFilterNone) SampleIntervalValue

func (m *AirmarSpeedFilterNone) SampleIntervalValue() (float64, bool)

SampleIntervalValue returns SampleInterval as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarSpeedFilterNone) SetMessageInfo

func (m *AirmarSpeedFilterNone) SetMessageInfo(info MessageInfo)

func (*AirmarSpeedFilterNone) SetSampleIntervalValue

func (m *AirmarSpeedFilterNone) SetSampleIntervalValue(v float64)

SetSampleIntervalValue sets SampleInterval from a physical value in s, rounded to the nearest wire tick of 0.01.

type AirmarSpeedPulseCount

type AirmarSpeedPulseCount struct {
	Info                   MessageInfo `json:"info"`
	ManufacturerCode       *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode           *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid                    *uint64     `json:"sid,omitempty" n2k:"4"`
	DurationOfInterval     *uint64     `json:"durationOfInterval,omitempty" n2k:"5"`
	NumberOfPulsesReceived *uint64     `json:"numberOfPulsesReceived,omitempty" n2k:"6"`
}

func (*AirmarSpeedPulseCount) Clone added in v1.3.0

func (m *AirmarSpeedPulseCount) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarSpeedPulseCount) DecodePayload

func (m *AirmarSpeedPulseCount) DecodePayload(payload []uint8) error

func (*AirmarSpeedPulseCount) DurationOfIntervalValue

func (m *AirmarSpeedPulseCount) DurationOfIntervalValue() (float64, bool)

DurationOfIntervalValue returns DurationOfInterval as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarSpeedPulseCount) EncodePayload

func (m *AirmarSpeedPulseCount) EncodePayload() ([]uint8, error)

func (*AirmarSpeedPulseCount) MessageInfo

func (m *AirmarSpeedPulseCount) MessageInfo() MessageInfo

func (*AirmarSpeedPulseCount) PGNNumber

func (m *AirmarSpeedPulseCount) PGNNumber() uint32

func (*AirmarSpeedPulseCount) SetDurationOfIntervalValue

func (m *AirmarSpeedPulseCount) SetDurationOfIntervalValue(v float64)

SetDurationOfIntervalValue sets DurationOfInterval from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*AirmarSpeedPulseCount) SetMessageInfo

func (m *AirmarSpeedPulseCount) SetMessageInfo(info MessageInfo)

type AirmarTemperatureFilterIir

type AirmarTemperatureFilterIir struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	FilterType       *uint64     `json:"filterType,omitempty" n2k:"5"`
	SampleInterval   *uint64     `json:"sampleInterval,omitempty" n2k:"7"`
	FilterDuration   *uint64     `json:"filterDuration,omitempty" n2k:"8"`
}

func (*AirmarTemperatureFilterIir) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarTemperatureFilterIir) DecodePayload

func (m *AirmarTemperatureFilterIir) DecodePayload(payload []uint8) error

func (*AirmarTemperatureFilterIir) EncodePayload

func (m *AirmarTemperatureFilterIir) EncodePayload() ([]uint8, error)

func (*AirmarTemperatureFilterIir) FilterDurationValue

func (m *AirmarTemperatureFilterIir) FilterDurationValue() (float64, bool)

FilterDurationValue returns FilterDuration as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarTemperatureFilterIir) MessageInfo

func (m *AirmarTemperatureFilterIir) MessageInfo() MessageInfo

func (*AirmarTemperatureFilterIir) PGNNumber

func (m *AirmarTemperatureFilterIir) PGNNumber() uint32

func (*AirmarTemperatureFilterIir) SampleIntervalValue

func (m *AirmarTemperatureFilterIir) SampleIntervalValue() (float64, bool)

SampleIntervalValue returns SampleInterval as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarTemperatureFilterIir) SetFilterDurationValue

func (m *AirmarTemperatureFilterIir) SetFilterDurationValue(v float64)

SetFilterDurationValue sets FilterDuration from a physical value in s, rounded to the nearest wire tick of 0.01.

func (*AirmarTemperatureFilterIir) SetMessageInfo

func (m *AirmarTemperatureFilterIir) SetMessageInfo(info MessageInfo)

func (*AirmarTemperatureFilterIir) SetSampleIntervalValue

func (m *AirmarTemperatureFilterIir) SetSampleIntervalValue(v float64)

SetSampleIntervalValue sets SampleInterval from a physical value in s, rounded to the nearest wire tick of 0.01.

type AirmarTemperatureFilterNone

type AirmarTemperatureFilterNone struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	FilterType       *uint64     `json:"filterType,omitempty" n2k:"5"`
	SampleInterval   *uint64     `json:"sampleInterval,omitempty" n2k:"7"`
}

func (*AirmarTemperatureFilterNone) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarTemperatureFilterNone) DecodePayload

func (m *AirmarTemperatureFilterNone) DecodePayload(payload []uint8) error

func (*AirmarTemperatureFilterNone) EncodePayload

func (m *AirmarTemperatureFilterNone) EncodePayload() ([]uint8, error)

func (*AirmarTemperatureFilterNone) MessageInfo

func (m *AirmarTemperatureFilterNone) MessageInfo() MessageInfo

func (*AirmarTemperatureFilterNone) PGNNumber

func (m *AirmarTemperatureFilterNone) PGNNumber() uint32

func (*AirmarTemperatureFilterNone) SampleIntervalValue

func (m *AirmarTemperatureFilterNone) SampleIntervalValue() (float64, bool)

SampleIntervalValue returns SampleInterval as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AirmarTemperatureFilterNone) SetMessageInfo

func (m *AirmarTemperatureFilterNone) SetMessageInfo(info MessageInfo)

func (*AirmarTemperatureFilterNone) SetSampleIntervalValue

func (m *AirmarTemperatureFilterNone) SetSampleIntervalValue(v float64)

SetSampleIntervalValue sets SampleInterval from a physical value in s, rounded to the nearest wire tick of 0.01.

type AirmarTemperatureInstanceConst

type AirmarTemperatureInstanceConst uint8
const (
	AirmarTemperatureInstanceDeviceSensor        AirmarTemperatureInstanceConst = 0
	AirmarTemperatureInstanceOnboardWaterSensor  AirmarTemperatureInstanceConst = 1
	AirmarTemperatureInstanceOptionalWaterSensor AirmarTemperatureInstanceConst = 2
)

func (AirmarTemperatureInstanceConst) GoString

func (AirmarTemperatureInstanceConst) String

type AirmarTransmissionIntervalConst

type AirmarTransmissionIntervalConst uint8
const (
	AirmarTransmissionIntervalMeasureInterval AirmarTransmissionIntervalConst = 0
	AirmarTransmissionIntervalRequestedByUser AirmarTransmissionIntervalConst = 1
)

func (AirmarTransmissionIntervalConst) GoString

func (AirmarTransmissionIntervalConst) String

type AirmarTrueWindOptions

type AirmarTrueWindOptions struct {
	Info                  MessageInfo `json:"info"`
	ManufacturerCode      *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode          *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId         *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	CogSubstitutionForHdg *uint64     `json:"cogSubstitutionForHdg,omitempty" n2k:"5"`
}

func (*AirmarTrueWindOptions) Clone added in v1.3.0

func (m *AirmarTrueWindOptions) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AirmarTrueWindOptions) DecodePayload

func (m *AirmarTrueWindOptions) DecodePayload(payload []uint8) error

func (*AirmarTrueWindOptions) EncodePayload

func (m *AirmarTrueWindOptions) EncodePayload() ([]uint8, error)

func (*AirmarTrueWindOptions) MessageInfo

func (m *AirmarTrueWindOptions) MessageInfo() MessageInfo

func (*AirmarTrueWindOptions) PGNNumber

func (m *AirmarTrueWindOptions) PGNNumber() uint32

func (*AirmarTrueWindOptions) SetMessageInfo

func (m *AirmarTrueWindOptions) SetMessageInfo(info MessageInfo)

type AisAcknowledge

type AisAcknowledge struct {
	Info                      MessageInfo                `json:"info"`
	MessageId                 *uint64                    `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64                    `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                  *uint64                    `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation *uint64                    `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	Repeating1                []AisAcknowledgeRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AisAcknowledge) Clone added in v1.3.0

func (m *AisAcknowledge) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisAcknowledge) DecodePayload

func (m *AisAcknowledge) DecodePayload(payload []uint8) error

func (*AisAcknowledge) EncodePayload

func (m *AisAcknowledge) EncodePayload() ([]uint8, error)

func (*AisAcknowledge) MessageInfo

func (m *AisAcknowledge) MessageInfo() MessageInfo

func (*AisAcknowledge) PGNNumber

func (m *AisAcknowledge) PGNNumber() uint32

func (*AisAcknowledge) SetMessageInfo

func (m *AisAcknowledge) SetMessageInfo(info MessageInfo)

type AisAcknowledgeBinary

type AisAcknowledgeBinary struct {
	Info                      MessageInfo                      `json:"info"`
	SequenceId                *uint64                          `json:"sequenceId,omitempty" n2k:"1"`
	MessageId                 *uint64                          `json:"messageId,omitempty" n2k:"2"`
	RepeatIndicator           *uint64                          `json:"repeatIndicator,omitempty" n2k:"3"`
	SourceId                  *uint64                          `json:"sourceId,omitempty" n2k:"4"`
	AisTransceiverInformation *uint64                          `json:"aisTransceiverInformation,omitempty" n2k:"6"`
	NumberOfAcknowledgments   *uint64                          `json:"numberOfAcknowledgments,omitempty" n2k:"8"`
	Repeating1                []AisAcknowledgeBinaryRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AisAcknowledgeBinary) Clone added in v1.3.0

func (m *AisAcknowledgeBinary) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisAcknowledgeBinary) DecodePayload

func (m *AisAcknowledgeBinary) DecodePayload(payload []uint8) error

func (*AisAcknowledgeBinary) EncodePayload

func (m *AisAcknowledgeBinary) EncodePayload() ([]uint8, error)

func (*AisAcknowledgeBinary) MessageInfo

func (m *AisAcknowledgeBinary) MessageInfo() MessageInfo

func (*AisAcknowledgeBinary) PGNNumber

func (m *AisAcknowledgeBinary) PGNNumber() uint32

func (*AisAcknowledgeBinary) SetMessageInfo

func (m *AisAcknowledgeBinary) SetMessageInfo(info MessageInfo)

type AisAcknowledgeBinaryRepeating1

type AisAcknowledgeBinaryRepeating1 struct {
	DestinationId  *uint64 `json:"destinationId,omitempty" n2k:"9"`
	SequenceNumber *uint64 `json:"sequenceNumber,omitempty" n2k:"10"`
}

type AisAcknowledgeRepeating1

type AisAcknowledgeRepeating1 struct {
	DestinationId  *uint64 `json:"destinationId,omitempty" n2k:"7"`
	SequenceNumber *uint64 `json:"sequenceNumber,omitempty" n2k:"8"`
}

type AisAddressedBinaryMessage

type AisAddressedBinaryMessage struct {
	Info                          MessageInfo `json:"info"`
	MessageId                     *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator               *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                      *uint64     `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation     *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	SequenceNumber                *uint64     `json:"sequenceNumber,omitempty" n2k:"6"`
	DestinationId                 *uint64     `json:"destinationId,omitempty" n2k:"7"`
	RetransmitFlag                *uint64     `json:"retransmitFlag,omitempty" n2k:"9"`
	NumberOfBitsInBinaryDataField *uint64     `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"11"`
	BinaryData                    []uint8     `json:"binaryData,omitempty" n2k:"12"`
}

func (*AisAddressedBinaryMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisAddressedBinaryMessage) DecodePayload

func (m *AisAddressedBinaryMessage) DecodePayload(payload []uint8) error

func (*AisAddressedBinaryMessage) EncodePayload

func (m *AisAddressedBinaryMessage) EncodePayload() ([]uint8, error)

func (*AisAddressedBinaryMessage) MessageInfo

func (m *AisAddressedBinaryMessage) MessageInfo() MessageInfo

func (*AisAddressedBinaryMessage) PGNNumber

func (m *AisAddressedBinaryMessage) PGNNumber() uint32

func (*AisAddressedBinaryMessage) SetMessageInfo

func (m *AisAddressedBinaryMessage) SetMessageInfo(info MessageInfo)

type AisAddressedSafetyRelatedMessage

type AisAddressedSafetyRelatedMessage struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                  *uint64     `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	SequenceNumber            *uint64     `json:"sequenceNumber,omitempty" n2k:"6"`
	DestinationId             *uint64     `json:"destinationId,omitempty" n2k:"7"`
	RetransmitFlag            *uint64     `json:"retransmitFlag,omitempty" n2k:"9"`
	SafetyRelatedText         string      `json:"safetyRelatedText,omitempty" n2k:"11"`
}

func (*AisAddressedSafetyRelatedMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisAddressedSafetyRelatedMessage) DecodePayload

func (m *AisAddressedSafetyRelatedMessage) DecodePayload(payload []uint8) error

func (*AisAddressedSafetyRelatedMessage) EncodePayload

func (m *AisAddressedSafetyRelatedMessage) EncodePayload() ([]uint8, error)

func (*AisAddressedSafetyRelatedMessage) MessageInfo

func (*AisAddressedSafetyRelatedMessage) PGNNumber

func (*AisAddressedSafetyRelatedMessage) SetMessageInfo

func (m *AisAddressedSafetyRelatedMessage) SetMessageInfo(info MessageInfo)

type AisAidsToNavigationAtonReport

type AisAidsToNavigationAtonReport struct {
	Info                                     MessageInfo `json:"info"`
	MessageId                                *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator                          *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	UserId                                   *uint64     `json:"userId,omitempty" n2k:"3"`
	Longitude                                *int64      `json:"longitude,omitempty" n2k:"4"`
	Latitude                                 *int64      `json:"latitude,omitempty" n2k:"5"`
	PositionAccuracy                         *uint64     `json:"positionAccuracy,omitempty" n2k:"6"`
	Raim                                     *uint64     `json:"raim,omitempty" n2k:"7"`
	TimeStamp                                *uint64     `json:"timeStamp,omitempty" n2k:"8"`
	LengthDiameter                           *uint64     `json:"lengthDiameter,omitempty" n2k:"9"`
	BeamDiameter                             *uint64     `json:"beamDiameter,omitempty" n2k:"10"`
	PositionReferenceFromStarboardEdge       *uint64     `json:"positionReferenceFromStarboardEdge,omitempty" n2k:"11"`
	PositionReferenceFromTrueNorthFacingEdge *uint64     `json:"positionReferenceFromTrueNorthFacingEdge,omitempty" n2k:"12"`
	AtonType                                 *uint64     `json:"atonType,omitempty" n2k:"13"`
	OffPositionIndicator                     *uint64     `json:"offPositionIndicator,omitempty" n2k:"14"`
	VirtualAtonFlag                          *uint64     `json:"virtualAtonFlag,omitempty" n2k:"15"`
	AssignedModeFlag                         *uint64     `json:"assignedModeFlag,omitempty" n2k:"16"`
	PositionFixingDeviceType                 *uint64     `json:"positionFixingDeviceType,omitempty" n2k:"18"`
	AtonStatus                               []uint8     `json:"atonStatus,omitempty" n2k:"20"`
	AisTransceiverInformation                *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"21"`
	AtonName                                 string      `json:"atonName,omitempty" n2k:"23"`
}

func (*AisAidsToNavigationAtonReport) BeamDiameterValue

func (m *AisAidsToNavigationAtonReport) BeamDiameterValue() (float64, bool)

BeamDiameterValue returns BeamDiameter as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisAidsToNavigationAtonReport) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisAidsToNavigationAtonReport) DecodePayload

func (m *AisAidsToNavigationAtonReport) DecodePayload(payload []uint8) error

func (*AisAidsToNavigationAtonReport) EncodePayload

func (m *AisAidsToNavigationAtonReport) EncodePayload() ([]uint8, error)

func (*AisAidsToNavigationAtonReport) LatitudeValue

func (m *AisAidsToNavigationAtonReport) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisAidsToNavigationAtonReport) LengthDiameterValue

func (m *AisAidsToNavigationAtonReport) LengthDiameterValue() (float64, bool)

LengthDiameterValue returns LengthDiameter as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisAidsToNavigationAtonReport) LongitudeValue

func (m *AisAidsToNavigationAtonReport) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisAidsToNavigationAtonReport) MessageInfo

func (m *AisAidsToNavigationAtonReport) MessageInfo() MessageInfo

func (*AisAidsToNavigationAtonReport) PGNNumber

func (m *AisAidsToNavigationAtonReport) PGNNumber() uint32

func (*AisAidsToNavigationAtonReport) PositionReferenceFromStarboardEdgeValue

func (m *AisAidsToNavigationAtonReport) PositionReferenceFromStarboardEdgeValue() (float64, bool)

PositionReferenceFromStarboardEdgeValue returns PositionReferenceFromStarboardEdge as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisAidsToNavigationAtonReport) PositionReferenceFromTrueNorthFacingEdgeValue

func (m *AisAidsToNavigationAtonReport) PositionReferenceFromTrueNorthFacingEdgeValue() (float64, bool)

PositionReferenceFromTrueNorthFacingEdgeValue returns PositionReferenceFromTrueNorthFacingEdge as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisAidsToNavigationAtonReport) SetBeamDiameterValue

func (m *AisAidsToNavigationAtonReport) SetBeamDiameterValue(v float64)

SetBeamDiameterValue sets BeamDiameter from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisAidsToNavigationAtonReport) SetLatitudeValue

func (m *AisAidsToNavigationAtonReport) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisAidsToNavigationAtonReport) SetLengthDiameterValue

func (m *AisAidsToNavigationAtonReport) SetLengthDiameterValue(v float64)

SetLengthDiameterValue sets LengthDiameter from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisAidsToNavigationAtonReport) SetLongitudeValue

func (m *AisAidsToNavigationAtonReport) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisAidsToNavigationAtonReport) SetMessageInfo

func (m *AisAidsToNavigationAtonReport) SetMessageInfo(info MessageInfo)

func (*AisAidsToNavigationAtonReport) SetPositionReferenceFromStarboardEdgeValue

func (m *AisAidsToNavigationAtonReport) SetPositionReferenceFromStarboardEdgeValue(v float64)

SetPositionReferenceFromStarboardEdgeValue sets PositionReferenceFromStarboardEdge from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisAidsToNavigationAtonReport) SetPositionReferenceFromTrueNorthFacingEdgeValue

func (m *AisAidsToNavigationAtonReport) SetPositionReferenceFromTrueNorthFacingEdgeValue(v float64)

SetPositionReferenceFromTrueNorthFacingEdgeValue sets PositionReferenceFromTrueNorthFacingEdge from a physical value in m, rounded to the nearest wire tick of 0.1.

type AisAssignedModeConst

type AisAssignedModeConst uint8
const (
	AisAssignedModeAutonomousAndContinuous AisAssignedModeConst = 0
	AisAssignedModeAssignedMode            AisAssignedModeConst = 1
)

func (AisAssignedModeConst) GoString

func (e AisAssignedModeConst) GoString() string

func (AisAssignedModeConst) String

func (e AisAssignedModeConst) String() string

type AisAssignmentModeCommand

type AisAssignmentModeCommand struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                  *uint64     `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	DestinationIdA            *uint64     `json:"destinationIdA,omitempty" n2k:"7"`
	OffsetA                   *uint64     `json:"offsetA,omitempty" n2k:"8"`
	IncrementA                *uint64     `json:"incrementA,omitempty" n2k:"9"`
	DestinationIdB            *uint64     `json:"destinationIdB,omitempty" n2k:"10"`
	OffsetB                   *uint64     `json:"offsetB,omitempty" n2k:"11"`
	IncrementB                *uint64     `json:"incrementB,omitempty" n2k:"12"`
}

func (*AisAssignmentModeCommand) Clone added in v1.3.0

func (m *AisAssignmentModeCommand) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisAssignmentModeCommand) DecodePayload

func (m *AisAssignmentModeCommand) DecodePayload(payload []uint8) error

func (*AisAssignmentModeCommand) EncodePayload

func (m *AisAssignmentModeCommand) EncodePayload() ([]uint8, error)

func (*AisAssignmentModeCommand) MessageInfo

func (m *AisAssignmentModeCommand) MessageInfo() MessageInfo

func (*AisAssignmentModeCommand) PGNNumber

func (m *AisAssignmentModeCommand) PGNNumber() uint32

func (*AisAssignmentModeCommand) SetMessageInfo

func (m *AisAssignmentModeCommand) SetMessageInfo(info MessageInfo)

type AisBandConst

type AisBandConst uint8
const (
	AisBandTop525KHzOfMarineBand AisBandConst = 0
	AisBandEntireMarineBand      AisBandConst = 1
)

func (AisBandConst) GoString

func (e AisBandConst) GoString() string

func (AisBandConst) String

func (e AisBandConst) String() string

type AisBinaryBroadcastMessage

type AisBinaryBroadcastMessage struct {
	Info                          MessageInfo `json:"info"`
	MessageId                     *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator               *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                      *uint64     `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation     *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	NumberOfBitsInBinaryDataField *uint64     `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"7"`
	BinaryData                    []uint8     `json:"binaryData,omitempty" n2k:"8"`
}

func (*AisBinaryBroadcastMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisBinaryBroadcastMessage) DecodePayload

func (m *AisBinaryBroadcastMessage) DecodePayload(payload []uint8) error

func (*AisBinaryBroadcastMessage) EncodePayload

func (m *AisBinaryBroadcastMessage) EncodePayload() ([]uint8, error)

func (*AisBinaryBroadcastMessage) MessageInfo

func (m *AisBinaryBroadcastMessage) MessageInfo() MessageInfo

func (*AisBinaryBroadcastMessage) PGNNumber

func (m *AisBinaryBroadcastMessage) PGNNumber() uint32

func (*AisBinaryBroadcastMessage) SetMessageInfo

func (m *AisBinaryBroadcastMessage) SetMessageInfo(info MessageInfo)

type AisChannelManagement

type AisChannelManagement struct {
	Info                                 MessageInfo `json:"info"`
	MessageId                            *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator                      *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                             *uint64     `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation            *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	ChannelA                             *uint64     `json:"channelA,omitempty" n2k:"7"`
	ChannelB                             *uint64     `json:"channelB,omitempty" n2k:"8"`
	Power                                *uint64     `json:"power,omitempty" n2k:"10"`
	TxRxMode                             *uint64     `json:"txRxMode,omitempty" n2k:"11"`
	NorthEastLongitudeCorner1            *int64      `json:"northEastLongitudeCorner1,omitempty" n2k:"12"`
	NorthEastLatitudeCorner1             *int64      `json:"northEastLatitudeCorner1,omitempty" n2k:"13"`
	SouthWestLongitudeCorner2            *int64      `json:"southWestLongitudeCorner2,omitempty" n2k:"14"`
	SouthWestLatitudeCorner2             *int64      `json:"southWestLatitudeCorner2,omitempty" n2k:"15"`
	AddressedOrBroadcastMessageIndicator *uint64     `json:"addressedOrBroadcastMessageIndicator,omitempty" n2k:"17"`
	ChannelABandwidth                    *uint64     `json:"channelABandwidth,omitempty" n2k:"18"`
	ChannelBBandwidth                    *uint64     `json:"channelBBandwidth,omitempty" n2k:"19"`
	TransitionalZoneSize                 *uint64     `json:"transitionalZoneSize,omitempty" n2k:"21"`
}

func (*AisChannelManagement) Clone added in v1.3.0

func (m *AisChannelManagement) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisChannelManagement) DecodePayload

func (m *AisChannelManagement) DecodePayload(payload []uint8) error

func (*AisChannelManagement) EncodePayload

func (m *AisChannelManagement) EncodePayload() ([]uint8, error)

func (*AisChannelManagement) MessageInfo

func (m *AisChannelManagement) MessageInfo() MessageInfo

func (*AisChannelManagement) NorthEastLatitudeCorner1Value

func (m *AisChannelManagement) NorthEastLatitudeCorner1Value() (float64, bool)

NorthEastLatitudeCorner1Value returns NorthEastLatitudeCorner1 as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisChannelManagement) NorthEastLongitudeCorner1Value

func (m *AisChannelManagement) NorthEastLongitudeCorner1Value() (float64, bool)

NorthEastLongitudeCorner1Value returns NorthEastLongitudeCorner1 as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisChannelManagement) PGNNumber

func (m *AisChannelManagement) PGNNumber() uint32

func (*AisChannelManagement) SetMessageInfo

func (m *AisChannelManagement) SetMessageInfo(info MessageInfo)

func (*AisChannelManagement) SetNorthEastLatitudeCorner1Value

func (m *AisChannelManagement) SetNorthEastLatitudeCorner1Value(v float64)

SetNorthEastLatitudeCorner1Value sets NorthEastLatitudeCorner1 from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisChannelManagement) SetNorthEastLongitudeCorner1Value

func (m *AisChannelManagement) SetNorthEastLongitudeCorner1Value(v float64)

SetNorthEastLongitudeCorner1Value sets NorthEastLongitudeCorner1 from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisChannelManagement) SetSouthWestLatitudeCorner2Value

func (m *AisChannelManagement) SetSouthWestLatitudeCorner2Value(v float64)

SetSouthWestLatitudeCorner2Value sets SouthWestLatitudeCorner2 from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisChannelManagement) SetSouthWestLongitudeCorner2Value

func (m *AisChannelManagement) SetSouthWestLongitudeCorner2Value(v float64)

SetSouthWestLongitudeCorner2Value sets SouthWestLongitudeCorner2 from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisChannelManagement) SouthWestLatitudeCorner2Value

func (m *AisChannelManagement) SouthWestLatitudeCorner2Value() (float64, bool)

SouthWestLatitudeCorner2Value returns SouthWestLatitudeCorner2 as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisChannelManagement) SouthWestLongitudeCorner2Value

func (m *AisChannelManagement) SouthWestLongitudeCorner2Value() (float64, bool)

SouthWestLongitudeCorner2Value returns SouthWestLongitudeCorner2 as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

type AisClassAPositionReport

type AisClassAPositionReport struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	UserId                    *uint64     `json:"userId,omitempty" n2k:"3"`
	Longitude                 *int64      `json:"longitude,omitempty" n2k:"4"`
	Latitude                  *int64      `json:"latitude,omitempty" n2k:"5"`
	PositionAccuracy          *uint64     `json:"positionAccuracy,omitempty" n2k:"6"`
	Raim                      *uint64     `json:"raim,omitempty" n2k:"7"`
	TimeStamp                 *uint64     `json:"timeStamp,omitempty" n2k:"8"`
	Cog                       *uint64     `json:"cog,omitempty" n2k:"9"`
	Sog                       *uint64     `json:"sog,omitempty" n2k:"10"`
	CommunicationState        []uint8     `json:"communicationState,omitempty" n2k:"11"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"12"`
	Heading                   *uint64     `json:"heading,omitempty" n2k:"13"`
	RateOfTurn                *int64      `json:"rateOfTurn,omitempty" n2k:"14"`
	NavStatus                 *uint64     `json:"navStatus,omitempty" n2k:"15"`
	SpecialManeuverIndicator  *uint64     `json:"specialManeuverIndicator,omitempty" n2k:"16"`
	SequenceId                *uint64     `json:"sequenceId,omitempty" n2k:"20"`
}

func (*AisClassAPositionReport) Clone added in v1.3.0

func (m *AisClassAPositionReport) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisClassAPositionReport) CogValue

func (m *AisClassAPositionReport) CogValue() (float64, bool)

CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAPositionReport) DecodePayload

func (m *AisClassAPositionReport) DecodePayload(payload []uint8) error

func (*AisClassAPositionReport) EncodePayload

func (m *AisClassAPositionReport) EncodePayload() ([]uint8, error)

func (*AisClassAPositionReport) HeadingValue

func (m *AisClassAPositionReport) HeadingValue() (float64, bool)

HeadingValue returns Heading as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAPositionReport) LatitudeValue

func (m *AisClassAPositionReport) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAPositionReport) LongitudeValue

func (m *AisClassAPositionReport) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAPositionReport) MessageInfo

func (m *AisClassAPositionReport) MessageInfo() MessageInfo

func (*AisClassAPositionReport) PGNNumber

func (m *AisClassAPositionReport) PGNNumber() uint32

func (*AisClassAPositionReport) RateOfTurnValue

func (m *AisClassAPositionReport) RateOfTurnValue() (float64, bool)

RateOfTurnValue returns RateOfTurn as a physical value in rad/s (value = raw * 3.125e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAPositionReport) SetCogValue

func (m *AisClassAPositionReport) SetCogValue(v float64)

SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AisClassAPositionReport) SetHeadingValue

func (m *AisClassAPositionReport) SetHeadingValue(v float64)

SetHeadingValue sets Heading from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AisClassAPositionReport) SetLatitudeValue

func (m *AisClassAPositionReport) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassAPositionReport) SetLongitudeValue

func (m *AisClassAPositionReport) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassAPositionReport) SetMessageInfo

func (m *AisClassAPositionReport) SetMessageInfo(info MessageInfo)

func (*AisClassAPositionReport) SetRateOfTurnValue

func (m *AisClassAPositionReport) SetRateOfTurnValue(v float64)

SetRateOfTurnValue sets RateOfTurn from a physical value in rad/s, rounded to the nearest wire tick of 3.125e-05.

func (*AisClassAPositionReport) SetSogValue

func (m *AisClassAPositionReport) SetSogValue(v float64)

SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*AisClassAPositionReport) SogValue

func (m *AisClassAPositionReport) SogValue() (float64, bool)

SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type AisClassAStaticAndVoyageRelatedData

type AisClassAStaticAndVoyageRelatedData struct {
	Info                           MessageInfo `json:"info"`
	MessageId                      *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator                *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	UserId                         *uint64     `json:"userId,omitempty" n2k:"3"`
	ImoNumber                      *uint64     `json:"imoNumber,omitempty" n2k:"4"`
	Callsign                       string      `json:"callsign,omitempty" n2k:"5"`
	Name                           string      `json:"name,omitempty" n2k:"6"`
	TypeOfShip                     *uint64     `json:"typeOfShip,omitempty" n2k:"7"`
	Length                         *uint64     `json:"length,omitempty" n2k:"8"`
	Beam                           *uint64     `json:"beam,omitempty" n2k:"9"`
	PositionReferenceFromStarboard *uint64     `json:"positionReferenceFromStarboard,omitempty" n2k:"10"`
	PositionReferenceFromBow       *uint64     `json:"positionReferenceFromBow,omitempty" n2k:"11"`
	EtaDate                        *uint64     `json:"etaDate,omitempty" n2k:"12"`
	EtaTime                        *uint64     `json:"etaTime,omitempty" n2k:"13"`
	Draft                          *uint64     `json:"draft,omitempty" n2k:"14"`
	Destination                    string      `json:"destination,omitempty" n2k:"15"`
	AisVersionIndicator            *uint64     `json:"aisVersionIndicator,omitempty" n2k:"16"`
	GnssType                       *uint64     `json:"gnssType,omitempty" n2k:"17"`
	Dte                            *uint64     `json:"dte,omitempty" n2k:"18"`
	AisTransceiverInformation      *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"20"`
}

func (*AisClassAStaticAndVoyageRelatedData) BeamValue

BeamValue returns Beam as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAStaticAndVoyageRelatedData) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisClassAStaticAndVoyageRelatedData) DecodePayload

func (m *AisClassAStaticAndVoyageRelatedData) DecodePayload(payload []uint8) error

func (*AisClassAStaticAndVoyageRelatedData) DraftValue

DraftValue returns Draft as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAStaticAndVoyageRelatedData) EncodePayload

func (m *AisClassAStaticAndVoyageRelatedData) EncodePayload() ([]uint8, error)

func (*AisClassAStaticAndVoyageRelatedData) EtaDateValue

func (m *AisClassAStaticAndVoyageRelatedData) EtaDateValue() (float64, bool)

EtaDateValue returns EtaDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAStaticAndVoyageRelatedData) EtaTimeValue

func (m *AisClassAStaticAndVoyageRelatedData) EtaTimeValue() (float64, bool)

EtaTimeValue returns EtaTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAStaticAndVoyageRelatedData) LengthValue

func (m *AisClassAStaticAndVoyageRelatedData) LengthValue() (float64, bool)

LengthValue returns Length as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAStaticAndVoyageRelatedData) MessageInfo

func (*AisClassAStaticAndVoyageRelatedData) PGNNumber

func (*AisClassAStaticAndVoyageRelatedData) PositionReferenceFromBowValue

func (m *AisClassAStaticAndVoyageRelatedData) PositionReferenceFromBowValue() (float64, bool)

PositionReferenceFromBowValue returns PositionReferenceFromBow as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAStaticAndVoyageRelatedData) PositionReferenceFromStarboardValue

func (m *AisClassAStaticAndVoyageRelatedData) PositionReferenceFromStarboardValue() (float64, bool)

PositionReferenceFromStarboardValue returns PositionReferenceFromStarboard as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassAStaticAndVoyageRelatedData) SetBeamValue

func (m *AisClassAStaticAndVoyageRelatedData) SetBeamValue(v float64)

SetBeamValue sets Beam from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassAStaticAndVoyageRelatedData) SetDraftValue

func (m *AisClassAStaticAndVoyageRelatedData) SetDraftValue(v float64)

SetDraftValue sets Draft from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*AisClassAStaticAndVoyageRelatedData) SetEtaDateValue

func (m *AisClassAStaticAndVoyageRelatedData) SetEtaDateValue(v float64)

SetEtaDateValue sets EtaDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*AisClassAStaticAndVoyageRelatedData) SetEtaTimeValue

func (m *AisClassAStaticAndVoyageRelatedData) SetEtaTimeValue(v float64)

SetEtaTimeValue sets EtaTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*AisClassAStaticAndVoyageRelatedData) SetLengthValue

func (m *AisClassAStaticAndVoyageRelatedData) SetLengthValue(v float64)

SetLengthValue sets Length from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassAStaticAndVoyageRelatedData) SetMessageInfo

func (m *AisClassAStaticAndVoyageRelatedData) SetMessageInfo(info MessageInfo)

func (*AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromBowValue

func (m *AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromBowValue(v float64)

SetPositionReferenceFromBowValue sets PositionReferenceFromBow from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromStarboardValue

func (m *AisClassAStaticAndVoyageRelatedData) SetPositionReferenceFromStarboardValue(v float64)

SetPositionReferenceFromStarboardValue sets PositionReferenceFromStarboard from a physical value in m, rounded to the nearest wire tick of 0.1.

type AisClassBExtendedPositionReport

type AisClassBExtendedPositionReport struct {
	Info                           MessageInfo `json:"info"`
	MessageId                      *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator                *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	UserId                         *uint64     `json:"userId,omitempty" n2k:"3"`
	Longitude                      *int64      `json:"longitude,omitempty" n2k:"4"`
	Latitude                       *int64      `json:"latitude,omitempty" n2k:"5"`
	PositionAccuracy               *uint64     `json:"positionAccuracy,omitempty" n2k:"6"`
	Raim                           *uint64     `json:"raim,omitempty" n2k:"7"`
	TimeStamp                      *uint64     `json:"timeStamp,omitempty" n2k:"8"`
	Cog                            *uint64     `json:"cog,omitempty" n2k:"9"`
	Sog                            *uint64     `json:"sog,omitempty" n2k:"10"`
	TypeOfShip                     *uint64     `json:"typeOfShip,omitempty" n2k:"14"`
	TrueHeading                    *uint64     `json:"trueHeading,omitempty" n2k:"15"`
	GnssType                       *uint64     `json:"gnssType,omitempty" n2k:"17"`
	Length                         *uint64     `json:"length,omitempty" n2k:"18"`
	Beam                           *uint64     `json:"beam,omitempty" n2k:"19"`
	PositionReferenceFromStarboard *uint64     `json:"positionReferenceFromStarboard,omitempty" n2k:"20"`
	PositionReferenceFromBow       *uint64     `json:"positionReferenceFromBow,omitempty" n2k:"21"`
	Name                           string      `json:"name,omitempty" n2k:"22"`
	Dte                            *uint64     `json:"dte,omitempty" n2k:"23"`
	AisMode                        *uint64     `json:"aisMode,omitempty" n2k:"24"`
	AisTransceiverInformation      *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"26"`
}

func (*AisClassBExtendedPositionReport) BeamValue

func (m *AisClassBExtendedPositionReport) BeamValue() (float64, bool)

BeamValue returns Beam as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBExtendedPositionReport) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisClassBExtendedPositionReport) CogValue

func (m *AisClassBExtendedPositionReport) CogValue() (float64, bool)

CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBExtendedPositionReport) DecodePayload

func (m *AisClassBExtendedPositionReport) DecodePayload(payload []uint8) error

func (*AisClassBExtendedPositionReport) EncodePayload

func (m *AisClassBExtendedPositionReport) EncodePayload() ([]uint8, error)

func (*AisClassBExtendedPositionReport) LatitudeValue

func (m *AisClassBExtendedPositionReport) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBExtendedPositionReport) LengthValue

func (m *AisClassBExtendedPositionReport) LengthValue() (float64, bool)

LengthValue returns Length as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBExtendedPositionReport) LongitudeValue

func (m *AisClassBExtendedPositionReport) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBExtendedPositionReport) MessageInfo

func (*AisClassBExtendedPositionReport) PGNNumber

func (m *AisClassBExtendedPositionReport) PGNNumber() uint32

func (*AisClassBExtendedPositionReport) PositionReferenceFromBowValue

func (m *AisClassBExtendedPositionReport) PositionReferenceFromBowValue() (float64, bool)

PositionReferenceFromBowValue returns PositionReferenceFromBow as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBExtendedPositionReport) PositionReferenceFromStarboardValue

func (m *AisClassBExtendedPositionReport) PositionReferenceFromStarboardValue() (float64, bool)

PositionReferenceFromStarboardValue returns PositionReferenceFromStarboard as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBExtendedPositionReport) SetBeamValue

func (m *AisClassBExtendedPositionReport) SetBeamValue(v float64)

SetBeamValue sets Beam from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassBExtendedPositionReport) SetCogValue

func (m *AisClassBExtendedPositionReport) SetCogValue(v float64)

SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AisClassBExtendedPositionReport) SetLatitudeValue

func (m *AisClassBExtendedPositionReport) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassBExtendedPositionReport) SetLengthValue

func (m *AisClassBExtendedPositionReport) SetLengthValue(v float64)

SetLengthValue sets Length from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassBExtendedPositionReport) SetLongitudeValue

func (m *AisClassBExtendedPositionReport) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassBExtendedPositionReport) SetMessageInfo

func (m *AisClassBExtendedPositionReport) SetMessageInfo(info MessageInfo)

func (*AisClassBExtendedPositionReport) SetPositionReferenceFromBowValue

func (m *AisClassBExtendedPositionReport) SetPositionReferenceFromBowValue(v float64)

SetPositionReferenceFromBowValue sets PositionReferenceFromBow from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassBExtendedPositionReport) SetPositionReferenceFromStarboardValue

func (m *AisClassBExtendedPositionReport) SetPositionReferenceFromStarboardValue(v float64)

SetPositionReferenceFromStarboardValue sets PositionReferenceFromStarboard from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassBExtendedPositionReport) SetSogValue

func (m *AisClassBExtendedPositionReport) SetSogValue(v float64)

SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*AisClassBExtendedPositionReport) SetTrueHeadingValue

func (m *AisClassBExtendedPositionReport) SetTrueHeadingValue(v float64)

SetTrueHeadingValue sets TrueHeading from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AisClassBExtendedPositionReport) SogValue

func (m *AisClassBExtendedPositionReport) SogValue() (float64, bool)

SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBExtendedPositionReport) TrueHeadingValue

func (m *AisClassBExtendedPositionReport) TrueHeadingValue() (float64, bool)

TrueHeadingValue returns TrueHeading as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type AisClassBGroupAssignment

type AisClassBGroupAssignment struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                  *uint64     `json:"sourceId,omitempty" n2k:"3"`
	TxRxMode                  *uint64     `json:"txRxMode,omitempty" n2k:"5"`
	NorthEastLongitudeCorner1 *int64      `json:"northEastLongitudeCorner1,omitempty" n2k:"7"`
	NorthEastLatitudeCorner1  *int64      `json:"northEastLatitudeCorner1,omitempty" n2k:"8"`
	SouthWestLongitudeCorner2 *int64      `json:"southWestLongitudeCorner2,omitempty" n2k:"9"`
	SouthWestLatitudeCorner2  *int64      `json:"southWestLatitudeCorner2,omitempty" n2k:"10"`
	StationType               *uint64     `json:"stationType,omitempty" n2k:"11"`
	ShipAndCargoFilter        *uint64     `json:"shipAndCargoFilter,omitempty" n2k:"13"`
	ReportingInterval         *uint64     `json:"reportingInterval,omitempty" n2k:"16"`
	QuietTime                 *uint64     `json:"quietTime,omitempty" n2k:"17"`
}

func (*AisClassBGroupAssignment) Clone added in v1.3.0

func (m *AisClassBGroupAssignment) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisClassBGroupAssignment) DecodePayload

func (m *AisClassBGroupAssignment) DecodePayload(payload []uint8) error

func (*AisClassBGroupAssignment) EncodePayload

func (m *AisClassBGroupAssignment) EncodePayload() ([]uint8, error)

func (*AisClassBGroupAssignment) MessageInfo

func (m *AisClassBGroupAssignment) MessageInfo() MessageInfo

func (*AisClassBGroupAssignment) NorthEastLatitudeCorner1Value

func (m *AisClassBGroupAssignment) NorthEastLatitudeCorner1Value() (float64, bool)

NorthEastLatitudeCorner1Value returns NorthEastLatitudeCorner1 as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBGroupAssignment) NorthEastLongitudeCorner1Value

func (m *AisClassBGroupAssignment) NorthEastLongitudeCorner1Value() (float64, bool)

NorthEastLongitudeCorner1Value returns NorthEastLongitudeCorner1 as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBGroupAssignment) PGNNumber

func (m *AisClassBGroupAssignment) PGNNumber() uint32

func (*AisClassBGroupAssignment) QuietTimeValue

func (m *AisClassBGroupAssignment) QuietTimeValue() (float64, bool)

QuietTimeValue returns QuietTime as a physical value in s (value = raw * 60). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBGroupAssignment) SetMessageInfo

func (m *AisClassBGroupAssignment) SetMessageInfo(info MessageInfo)

func (*AisClassBGroupAssignment) SetNorthEastLatitudeCorner1Value

func (m *AisClassBGroupAssignment) SetNorthEastLatitudeCorner1Value(v float64)

SetNorthEastLatitudeCorner1Value sets NorthEastLatitudeCorner1 from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassBGroupAssignment) SetNorthEastLongitudeCorner1Value

func (m *AisClassBGroupAssignment) SetNorthEastLongitudeCorner1Value(v float64)

SetNorthEastLongitudeCorner1Value sets NorthEastLongitudeCorner1 from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassBGroupAssignment) SetQuietTimeValue

func (m *AisClassBGroupAssignment) SetQuietTimeValue(v float64)

SetQuietTimeValue sets QuietTime from a physical value in s, rounded to the nearest wire tick of 60.

func (*AisClassBGroupAssignment) SetSouthWestLatitudeCorner2Value

func (m *AisClassBGroupAssignment) SetSouthWestLatitudeCorner2Value(v float64)

SetSouthWestLatitudeCorner2Value sets SouthWestLatitudeCorner2 from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassBGroupAssignment) SetSouthWestLongitudeCorner2Value

func (m *AisClassBGroupAssignment) SetSouthWestLongitudeCorner2Value(v float64)

SetSouthWestLongitudeCorner2Value sets SouthWestLongitudeCorner2 from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassBGroupAssignment) SouthWestLatitudeCorner2Value

func (m *AisClassBGroupAssignment) SouthWestLatitudeCorner2Value() (float64, bool)

SouthWestLatitudeCorner2Value returns SouthWestLatitudeCorner2 as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBGroupAssignment) SouthWestLongitudeCorner2Value

func (m *AisClassBGroupAssignment) SouthWestLongitudeCorner2Value() (float64, bool)

SouthWestLongitudeCorner2Value returns SouthWestLongitudeCorner2 as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

type AisClassBPositionReport

type AisClassBPositionReport struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	UserId                    *uint64     `json:"userId,omitempty" n2k:"3"`
	Longitude                 *int64      `json:"longitude,omitempty" n2k:"4"`
	Latitude                  *int64      `json:"latitude,omitempty" n2k:"5"`
	PositionAccuracy          *uint64     `json:"positionAccuracy,omitempty" n2k:"6"`
	Raim                      *uint64     `json:"raim,omitempty" n2k:"7"`
	TimeStamp                 *uint64     `json:"timeStamp,omitempty" n2k:"8"`
	Cog                       *uint64     `json:"cog,omitempty" n2k:"9"`
	Sog                       *uint64     `json:"sog,omitempty" n2k:"10"`
	CommunicationState        []uint8     `json:"communicationState,omitempty" n2k:"11"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"12"`
	Heading                   *uint64     `json:"heading,omitempty" n2k:"13"`
	UnitType                  *uint64     `json:"unitType,omitempty" n2k:"16"`
	IntegratedDisplay         *uint64     `json:"integratedDisplay,omitempty" n2k:"17"`
	Dsc                       *uint64     `json:"dsc,omitempty" n2k:"18"`
	Band                      *uint64     `json:"band,omitempty" n2k:"19"`
	CanHandleMsg22            *uint64     `json:"canHandleMsg22,omitempty" n2k:"20"`
	AisMode                   *uint64     `json:"aisMode,omitempty" n2k:"21"`
	AisCommunicationState     *uint64     `json:"aisCommunicationState,omitempty" n2k:"22"`
}

func (*AisClassBPositionReport) Clone added in v1.3.0

func (m *AisClassBPositionReport) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisClassBPositionReport) CogValue

func (m *AisClassBPositionReport) CogValue() (float64, bool)

CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBPositionReport) DecodePayload

func (m *AisClassBPositionReport) DecodePayload(payload []uint8) error

func (*AisClassBPositionReport) EncodePayload

func (m *AisClassBPositionReport) EncodePayload() ([]uint8, error)

func (*AisClassBPositionReport) HeadingValue

func (m *AisClassBPositionReport) HeadingValue() (float64, bool)

HeadingValue returns Heading as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBPositionReport) LatitudeValue

func (m *AisClassBPositionReport) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBPositionReport) LongitudeValue

func (m *AisClassBPositionReport) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBPositionReport) MessageInfo

func (m *AisClassBPositionReport) MessageInfo() MessageInfo

func (*AisClassBPositionReport) PGNNumber

func (m *AisClassBPositionReport) PGNNumber() uint32

func (*AisClassBPositionReport) SetCogValue

func (m *AisClassBPositionReport) SetCogValue(v float64)

SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AisClassBPositionReport) SetHeadingValue

func (m *AisClassBPositionReport) SetHeadingValue(v float64)

SetHeadingValue sets Heading from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AisClassBPositionReport) SetLatitudeValue

func (m *AisClassBPositionReport) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassBPositionReport) SetLongitudeValue

func (m *AisClassBPositionReport) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisClassBPositionReport) SetMessageInfo

func (m *AisClassBPositionReport) SetMessageInfo(info MessageInfo)

func (*AisClassBPositionReport) SetSogValue

func (m *AisClassBPositionReport) SetSogValue(v float64)

SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*AisClassBPositionReport) SogValue

func (m *AisClassBPositionReport) SogValue() (float64, bool)

SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type AisClassBStaticDataMsg24PartA

type AisClassBStaticDataMsg24PartA struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	UserId                    *uint64     `json:"userId,omitempty" n2k:"3"`
	Name                      string      `json:"name,omitempty" n2k:"4"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	SequenceId                *uint64     `json:"sequenceId,omitempty" n2k:"7"`
}

func (*AisClassBStaticDataMsg24PartA) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisClassBStaticDataMsg24PartA) DecodePayload

func (m *AisClassBStaticDataMsg24PartA) DecodePayload(payload []uint8) error

func (*AisClassBStaticDataMsg24PartA) EncodePayload

func (m *AisClassBStaticDataMsg24PartA) EncodePayload() ([]uint8, error)

func (*AisClassBStaticDataMsg24PartA) MessageInfo

func (m *AisClassBStaticDataMsg24PartA) MessageInfo() MessageInfo

func (*AisClassBStaticDataMsg24PartA) PGNNumber

func (m *AisClassBStaticDataMsg24PartA) PGNNumber() uint32

func (*AisClassBStaticDataMsg24PartA) SetMessageInfo

func (m *AisClassBStaticDataMsg24PartA) SetMessageInfo(info MessageInfo)

type AisClassBStaticDataMsg24PartB

type AisClassBStaticDataMsg24PartB struct {
	Info                           MessageInfo `json:"info"`
	MessageId                      *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator                *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	UserId                         *uint64     `json:"userId,omitempty" n2k:"3"`
	TypeOfShip                     *uint64     `json:"typeOfShip,omitempty" n2k:"4"`
	VendorId                       string      `json:"vendorId,omitempty" n2k:"5"`
	Callsign                       string      `json:"callsign,omitempty" n2k:"6"`
	Length                         *uint64     `json:"length,omitempty" n2k:"7"`
	Beam                           *uint64     `json:"beam,omitempty" n2k:"8"`
	PositionReferenceFromStarboard *uint64     `json:"positionReferenceFromStarboard,omitempty" n2k:"9"`
	PositionReferenceFromBow       *uint64     `json:"positionReferenceFromBow,omitempty" n2k:"10"`
	MothershipUserId               *uint64     `json:"mothershipUserId,omitempty" n2k:"11"`
	GnssType                       *uint64     `json:"gnssType,omitempty" n2k:"14"`
	AisTransceiverInformation      *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"15"`
	SequenceId                     *uint64     `json:"sequenceId,omitempty" n2k:"17"`
}

func (*AisClassBStaticDataMsg24PartB) BeamValue

func (m *AisClassBStaticDataMsg24PartB) BeamValue() (float64, bool)

BeamValue returns Beam as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBStaticDataMsg24PartB) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisClassBStaticDataMsg24PartB) DecodePayload

func (m *AisClassBStaticDataMsg24PartB) DecodePayload(payload []uint8) error

func (*AisClassBStaticDataMsg24PartB) EncodePayload

func (m *AisClassBStaticDataMsg24PartB) EncodePayload() ([]uint8, error)

func (*AisClassBStaticDataMsg24PartB) LengthValue

func (m *AisClassBStaticDataMsg24PartB) LengthValue() (float64, bool)

LengthValue returns Length as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBStaticDataMsg24PartB) MessageInfo

func (m *AisClassBStaticDataMsg24PartB) MessageInfo() MessageInfo

func (*AisClassBStaticDataMsg24PartB) PGNNumber

func (m *AisClassBStaticDataMsg24PartB) PGNNumber() uint32

func (*AisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue

func (m *AisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue() (float64, bool)

PositionReferenceFromBowValue returns PositionReferenceFromBow as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue

func (m *AisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue() (float64, bool)

PositionReferenceFromStarboardValue returns PositionReferenceFromStarboard as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisClassBStaticDataMsg24PartB) SetBeamValue

func (m *AisClassBStaticDataMsg24PartB) SetBeamValue(v float64)

SetBeamValue sets Beam from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassBStaticDataMsg24PartB) SetLengthValue

func (m *AisClassBStaticDataMsg24PartB) SetLengthValue(v float64)

SetLengthValue sets Length from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassBStaticDataMsg24PartB) SetMessageInfo

func (m *AisClassBStaticDataMsg24PartB) SetMessageInfo(info MessageInfo)

func (*AisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue

func (m *AisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue(v float64)

SetPositionReferenceFromBowValue sets PositionReferenceFromBow from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue

func (m *AisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue(v float64)

SetPositionReferenceFromStarboardValue sets PositionReferenceFromStarboard from a physical value in m, rounded to the nearest wire tick of 0.1.

type AisCommunicationStateConst

type AisCommunicationStateConst uint8
const (
	AisCommunicationStateSOTDMA AisCommunicationStateConst = 0
	AisCommunicationStateITDMA  AisCommunicationStateConst = 1
)

func (AisCommunicationStateConst) GoString

func (e AisCommunicationStateConst) GoString() string

func (AisCommunicationStateConst) String

type AisDataLinkManagementMessage

type AisDataLinkManagementMessage struct {
	Info                      MessageInfo                              `json:"info"`
	MessageId                 *uint64                                  `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64                                  `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                  *uint64                                  `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation *uint64                                  `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	Repeating1                []AisDataLinkManagementMessageRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AisDataLinkManagementMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisDataLinkManagementMessage) DecodePayload

func (m *AisDataLinkManagementMessage) DecodePayload(payload []uint8) error

func (*AisDataLinkManagementMessage) EncodePayload

func (m *AisDataLinkManagementMessage) EncodePayload() ([]uint8, error)

func (*AisDataLinkManagementMessage) MessageInfo

func (m *AisDataLinkManagementMessage) MessageInfo() MessageInfo

func (*AisDataLinkManagementMessage) PGNNumber

func (m *AisDataLinkManagementMessage) PGNNumber() uint32

func (*AisDataLinkManagementMessage) SetMessageInfo

func (m *AisDataLinkManagementMessage) SetMessageInfo(info MessageInfo)

type AisDataLinkManagementMessageRepeating1

type AisDataLinkManagementMessageRepeating1 struct {
	Offset        *uint64 `json:"offset,omitempty" n2k:"7"`
	NumberOfSlots *uint64 `json:"numberOfSlots,omitempty" n2k:"8"`
	Timeout       *uint64 `json:"timeout,omitempty" n2k:"9"`
	Increment     *uint64 `json:"increment,omitempty" n2k:"10"`
}

func (*AisDataLinkManagementMessageRepeating1) SetTimeoutValue

func (m *AisDataLinkManagementMessageRepeating1) SetTimeoutValue(v float64)

SetTimeoutValue sets Timeout from a physical value in s, rounded to the nearest wire tick of 60.

func (*AisDataLinkManagementMessageRepeating1) TimeoutValue

TimeoutValue returns Timeout as a physical value in s (value = raw * 60). The bool is false for absent, sentinel, or out-of-range measurements.

type AisDgnssBroadcastBinaryMessage

type AisDgnssBroadcastBinaryMessage struct {
	Info                          MessageInfo `json:"info"`
	MessageId                     *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator               *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                      *uint64     `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation     *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	Longitude                     *int64      `json:"longitude,omitempty" n2k:"7"`
	Latitude                      *int64      `json:"latitude,omitempty" n2k:"8"`
	NumberOfBitsInBinaryDataField *uint64     `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"11"`
	BinaryData                    []uint8     `json:"binaryData,omitempty" n2k:"12"`
}

func (*AisDgnssBroadcastBinaryMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisDgnssBroadcastBinaryMessage) DecodePayload

func (m *AisDgnssBroadcastBinaryMessage) DecodePayload(payload []uint8) error

func (*AisDgnssBroadcastBinaryMessage) EncodePayload

func (m *AisDgnssBroadcastBinaryMessage) EncodePayload() ([]uint8, error)

func (*AisDgnssBroadcastBinaryMessage) LatitudeValue

func (m *AisDgnssBroadcastBinaryMessage) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisDgnssBroadcastBinaryMessage) LongitudeValue

func (m *AisDgnssBroadcastBinaryMessage) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisDgnssBroadcastBinaryMessage) MessageInfo

func (*AisDgnssBroadcastBinaryMessage) PGNNumber

func (m *AisDgnssBroadcastBinaryMessage) PGNNumber() uint32

func (*AisDgnssBroadcastBinaryMessage) SetLatitudeValue

func (m *AisDgnssBroadcastBinaryMessage) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisDgnssBroadcastBinaryMessage) SetLongitudeValue

func (m *AisDgnssBroadcastBinaryMessage) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisDgnssBroadcastBinaryMessage) SetMessageInfo

func (m *AisDgnssBroadcastBinaryMessage) SetMessageInfo(info MessageInfo)

type AisInterrogation

type AisInterrogation struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                  *uint64     `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	DestinationId1            *uint64     `json:"destinationId1,omitempty" n2k:"7"`
	MessageId11               *uint64     `json:"messageId11,omitempty" n2k:"9"`
	SlotOffset11              *uint64     `json:"slotOffset11,omitempty" n2k:"10"`
	MessageId12               *uint64     `json:"messageId12,omitempty" n2k:"12"`
	SlotOffset12              *uint64     `json:"slotOffset12,omitempty" n2k:"13"`
	DestinationId2            *uint64     `json:"destinationId2,omitempty" n2k:"16"`
	MessageId21               *uint64     `json:"messageId21,omitempty" n2k:"18"`
	SlotOffset21              *uint64     `json:"slotOffset21,omitempty" n2k:"19"`
	Sid                       *uint64     `json:"sid,omitempty" n2k:"22"`
}

func (*AisInterrogation) Clone added in v1.3.0

func (m *AisInterrogation) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisInterrogation) DecodePayload

func (m *AisInterrogation) DecodePayload(payload []uint8) error

func (*AisInterrogation) EncodePayload

func (m *AisInterrogation) EncodePayload() ([]uint8, error)

func (*AisInterrogation) MessageInfo

func (m *AisInterrogation) MessageInfo() MessageInfo

func (*AisInterrogation) PGNNumber

func (m *AisInterrogation) PGNNumber() uint32

func (*AisInterrogation) SetMessageInfo

func (m *AisInterrogation) SetMessageInfo(info MessageInfo)

type AisLongRangeBroadcastMessage

type AisLongRangeBroadcastMessage struct {
	Info                      MessageInfo `json:"info"`
	SequenceId                *uint64     `json:"sequenceId,omitempty" n2k:"1"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"2"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"3"`
	UserId                    *uint64     `json:"userId,omitempty" n2k:"4"`
	Longitude                 *int64      `json:"longitude,omitempty" n2k:"5"`
	Latitude                  *int64      `json:"latitude,omitempty" n2k:"6"`
	PositionAccuracy          *uint64     `json:"positionAccuracy,omitempty" n2k:"7"`
	Raim                      *uint64     `json:"raim,omitempty" n2k:"8"`
	NavStatus                 *uint64     `json:"navStatus,omitempty" n2k:"9"`
	PositionLatency           *uint64     `json:"positionLatency,omitempty" n2k:"10"`
	Sog                       *uint64     `json:"sog,omitempty" n2k:"12"`
	Cog                       *uint64     `json:"cog,omitempty" n2k:"13"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"14"`
}

func (*AisLongRangeBroadcastMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisLongRangeBroadcastMessage) CogValue

func (m *AisLongRangeBroadcastMessage) CogValue() (float64, bool)

CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisLongRangeBroadcastMessage) DecodePayload

func (m *AisLongRangeBroadcastMessage) DecodePayload(payload []uint8) error

func (*AisLongRangeBroadcastMessage) EncodePayload

func (m *AisLongRangeBroadcastMessage) EncodePayload() ([]uint8, error)

func (*AisLongRangeBroadcastMessage) LatitudeValue

func (m *AisLongRangeBroadcastMessage) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisLongRangeBroadcastMessage) LongitudeValue

func (m *AisLongRangeBroadcastMessage) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisLongRangeBroadcastMessage) MessageInfo

func (m *AisLongRangeBroadcastMessage) MessageInfo() MessageInfo

func (*AisLongRangeBroadcastMessage) PGNNumber

func (m *AisLongRangeBroadcastMessage) PGNNumber() uint32

func (*AisLongRangeBroadcastMessage) SetCogValue

func (m *AisLongRangeBroadcastMessage) SetCogValue(v float64)

SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AisLongRangeBroadcastMessage) SetLatitudeValue

func (m *AisLongRangeBroadcastMessage) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisLongRangeBroadcastMessage) SetLongitudeValue

func (m *AisLongRangeBroadcastMessage) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisLongRangeBroadcastMessage) SetMessageInfo

func (m *AisLongRangeBroadcastMessage) SetMessageInfo(info MessageInfo)

func (*AisLongRangeBroadcastMessage) SetSogValue

func (m *AisLongRangeBroadcastMessage) SetSogValue(v float64)

SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*AisLongRangeBroadcastMessage) SogValue

func (m *AisLongRangeBroadcastMessage) SogValue() (float64, bool)

SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type AisMessageIdConst

type AisMessageIdConst uint8
const (
	AisMessageIdScheduledClassAPositionReport          AisMessageIdConst = 1
	AisMessageIdAssignedScheduledClassAPositionReport  AisMessageIdConst = 2
	AisMessageIdInterrogatedClassAPositionReport       AisMessageIdConst = 3
	AisMessageIdBaseStationReport                      AisMessageIdConst = 4
	AisMessageIdStaticAndVoyageRelatedData             AisMessageIdConst = 5
	AisMessageIdBinaryAddressedMessage                 AisMessageIdConst = 6
	AisMessageIdBinaryAcknowledgement                  AisMessageIdConst = 7
	AisMessageIdBinaryBroadcastMessage                 AisMessageIdConst = 8
	AisMessageIdStandardSARAircraftPositionReport      AisMessageIdConst = 9
	AisMessageIdUTCDateInquiry                         AisMessageIdConst = 10
	AisMessageIdUTCDateResponse                        AisMessageIdConst = 11
	AisMessageIdSafetyRelatedAddressedMessage          AisMessageIdConst = 12
	AisMessageIdSafetyRelatedAcknowledgement           AisMessageIdConst = 13
	AisMessageIdSatetyRelatedBroadcastMessage          AisMessageIdConst = 14
	AisMessageIdInterrogation                          AisMessageIdConst = 15
	AisMessageIdAssignmentModeCommand                  AisMessageIdConst = 16
	AisMessageIdDGNSSBroadcastBinaryMessage            AisMessageIdConst = 17
	AisMessageIdStandardClassBPositionReport           AisMessageIdConst = 18
	AisMessageIdExtendedClassBPositionReport           AisMessageIdConst = 19
	AisMessageIdDataLinkManagementMessage              AisMessageIdConst = 20
	AisMessageIdATONReport                             AisMessageIdConst = 21
	AisMessageIdChannelManagement                      AisMessageIdConst = 22
	AisMessageIdGroupAssignmentCommand                 AisMessageIdConst = 23
	AisMessageIdStaticDataReport                       AisMessageIdConst = 24
	AisMessageIdSingleSlotBinaryMessage                AisMessageIdConst = 25
	AisMessageIdMultipleSlotBinaryMessage              AisMessageIdConst = 26
	AisMessageIdPositionReportForLongRangeApplications AisMessageIdConst = 27
)

func (AisMessageIdConst) GoString

func (e AisMessageIdConst) GoString() string

func (AisMessageIdConst) String

func (e AisMessageIdConst) String() string

type AisModeConst

type AisModeConst uint8
const (
	AisModeAutonomous AisModeConst = 0
	AisModeAssigned   AisModeConst = 1
)

func (AisModeConst) GoString

func (e AisModeConst) GoString() string

func (AisModeConst) String

func (e AisModeConst) String() string

type AisMultiSlotBinaryMessage

type AisMultiSlotBinaryMessage struct {
	Info                           MessageInfo `json:"info"`
	SequenceId                     *uint64     `json:"sequenceId,omitempty" n2k:"1"`
	MessageId                      *uint64     `json:"messageId,omitempty" n2k:"2"`
	RepeatIndicator                *uint64     `json:"repeatIndicator,omitempty" n2k:"3"`
	SourceId                       *uint64     `json:"sourceId,omitempty" n2k:"4"`
	DestinationIndicator           *uint64     `json:"destinationIndicator,omitempty" n2k:"5"`
	BinaryDataFlag                 *uint64     `json:"binaryDataFlag,omitempty" n2k:"6"`
	DestinationId                  *uint64     `json:"destinationId,omitempty" n2k:"8"`
	CommunicationStateSelectorFlag *uint64     `json:"communicationStateSelectorFlag,omitempty" n2k:"10"`
	CommunicationState             []uint8     `json:"communicationState,omitempty" n2k:"11"`
	AisTransceiverInformation      *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"13"`
	NumberOfBitsInBinaryDataField  *uint64     `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"15"`
	BinaryData                     []uint8     `json:"binaryData,omitempty" n2k:"16"`
}

func (*AisMultiSlotBinaryMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisMultiSlotBinaryMessage) DecodePayload

func (m *AisMultiSlotBinaryMessage) DecodePayload(payload []uint8) error

func (*AisMultiSlotBinaryMessage) EncodePayload

func (m *AisMultiSlotBinaryMessage) EncodePayload() ([]uint8, error)

func (*AisMultiSlotBinaryMessage) MessageInfo

func (m *AisMultiSlotBinaryMessage) MessageInfo() MessageInfo

func (*AisMultiSlotBinaryMessage) PGNNumber

func (m *AisMultiSlotBinaryMessage) PGNNumber() uint32

func (*AisMultiSlotBinaryMessage) SetMessageInfo

func (m *AisMultiSlotBinaryMessage) SetMessageInfo(info MessageInfo)

type AisMultiSlotBinaryMessageDeprecated

type AisMultiSlotBinaryMessageDeprecated struct {
	Info                           MessageInfo                                     `json:"info"`
	SequenceId                     *uint64                                         `json:"sequenceId,omitempty" n2k:"1"`
	MessageId                      *uint64                                         `json:"messageId,omitempty" n2k:"2"`
	RepeatIndicator                *uint64                                         `json:"repeatIndicator,omitempty" n2k:"3"`
	SourceId                       *uint64                                         `json:"sourceId,omitempty" n2k:"4"`
	DestinationIndicator           *uint64                                         `json:"destinationIndicator,omitempty" n2k:"5"`
	BinaryDataFlag                 *uint64                                         `json:"binaryDataFlag,omitempty" n2k:"6"`
	AisTransceiverInformation      *uint64                                         `json:"aisTransceiverInformation,omitempty" n2k:"8"`
	DestinationId                  *uint64                                         `json:"destinationId,omitempty" n2k:"9"`
	CommunicationStateSelectorFlag *uint64                                         `json:"communicationStateSelectorFlag,omitempty" n2k:"11"`
	CommunicationState             []uint8                                         `json:"communicationState,omitempty" n2k:"12"`
	Repeating1                     []AisMultiSlotBinaryMessageDeprecatedRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AisMultiSlotBinaryMessageDeprecated) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisMultiSlotBinaryMessageDeprecated) DecodePayload

func (m *AisMultiSlotBinaryMessageDeprecated) DecodePayload(payload []uint8) error

func (*AisMultiSlotBinaryMessageDeprecated) EncodePayload

func (m *AisMultiSlotBinaryMessageDeprecated) EncodePayload() ([]uint8, error)

func (*AisMultiSlotBinaryMessageDeprecated) MessageInfo

func (*AisMultiSlotBinaryMessageDeprecated) PGNNumber

func (*AisMultiSlotBinaryMessageDeprecated) SetMessageInfo

func (m *AisMultiSlotBinaryMessageDeprecated) SetMessageInfo(info MessageInfo)

type AisMultiSlotBinaryMessageDeprecatedRepeating1

type AisMultiSlotBinaryMessageDeprecatedRepeating1 struct {
	NumberOfBitsInBinaryDataField *uint64 `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"15"`
	BinaryData                    []uint8 `json:"binaryData,omitempty" n2k:"16"`
}

type AisSafetyRelatedBroadcastMessage

type AisSafetyRelatedBroadcastMessage struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                  *uint64     `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	SafetyRelatedText         string      `json:"safetyRelatedText,omitempty" n2k:"7"`
}

func (*AisSafetyRelatedBroadcastMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisSafetyRelatedBroadcastMessage) DecodePayload

func (m *AisSafetyRelatedBroadcastMessage) DecodePayload(payload []uint8) error

func (*AisSafetyRelatedBroadcastMessage) EncodePayload

func (m *AisSafetyRelatedBroadcastMessage) EncodePayload() ([]uint8, error)

func (*AisSafetyRelatedBroadcastMessage) MessageInfo

func (*AisSafetyRelatedBroadcastMessage) PGNNumber

func (*AisSafetyRelatedBroadcastMessage) SetMessageInfo

func (m *AisSafetyRelatedBroadcastMessage) SetMessageInfo(info MessageInfo)

type AisSarAircraftPositionReport

type AisSarAircraftPositionReport struct {
	Info                            MessageInfo `json:"info"`
	MessageId                       *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator                 *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	UserId                          *uint64     `json:"userId,omitempty" n2k:"3"`
	Longitude                       *int64      `json:"longitude,omitempty" n2k:"4"`
	Latitude                        *int64      `json:"latitude,omitempty" n2k:"5"`
	PositionAccuracy                *uint64     `json:"positionAccuracy,omitempty" n2k:"6"`
	Raim                            *uint64     `json:"raim,omitempty" n2k:"7"`
	TimeStamp                       *uint64     `json:"timeStamp,omitempty" n2k:"8"`
	Cog                             *uint64     `json:"cog,omitempty" n2k:"9"`
	Sog                             *uint64     `json:"sog,omitempty" n2k:"10"`
	CommunicationState              []uint8     `json:"communicationState,omitempty" n2k:"11"`
	AisTransceiverInformation       *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"12"`
	Altitude                        *int64      `json:"altitude,omitempty" n2k:"13"`
	ReservedForRegionalApplications []uint8     `json:"reservedForRegionalApplications,omitempty" n2k:"14"`
	Dte                             *uint64     `json:"dte,omitempty" n2k:"15"`
}

func (*AisSarAircraftPositionReport) AltitudeValue

func (m *AisSarAircraftPositionReport) AltitudeValue() (float64, bool)

AltitudeValue returns Altitude as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisSarAircraftPositionReport) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisSarAircraftPositionReport) CogValue

func (m *AisSarAircraftPositionReport) CogValue() (float64, bool)

CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisSarAircraftPositionReport) DecodePayload

func (m *AisSarAircraftPositionReport) DecodePayload(payload []uint8) error

func (*AisSarAircraftPositionReport) EncodePayload

func (m *AisSarAircraftPositionReport) EncodePayload() ([]uint8, error)

func (*AisSarAircraftPositionReport) LatitudeValue

func (m *AisSarAircraftPositionReport) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisSarAircraftPositionReport) LongitudeValue

func (m *AisSarAircraftPositionReport) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisSarAircraftPositionReport) MessageInfo

func (m *AisSarAircraftPositionReport) MessageInfo() MessageInfo

func (*AisSarAircraftPositionReport) PGNNumber

func (m *AisSarAircraftPositionReport) PGNNumber() uint32

func (*AisSarAircraftPositionReport) SetAltitudeValue

func (m *AisSarAircraftPositionReport) SetAltitudeValue(v float64)

SetAltitudeValue sets Altitude from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*AisSarAircraftPositionReport) SetCogValue

func (m *AisSarAircraftPositionReport) SetCogValue(v float64)

SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AisSarAircraftPositionReport) SetLatitudeValue

func (m *AisSarAircraftPositionReport) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisSarAircraftPositionReport) SetLongitudeValue

func (m *AisSarAircraftPositionReport) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisSarAircraftPositionReport) SetMessageInfo

func (m *AisSarAircraftPositionReport) SetMessageInfo(info MessageInfo)

func (*AisSarAircraftPositionReport) SetSogValue

func (m *AisSarAircraftPositionReport) SetSogValue(v float64)

SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.1.

func (*AisSarAircraftPositionReport) SogValue

func (m *AisSarAircraftPositionReport) SogValue() (float64, bool)

SogValue returns Sog as a physical value in m/s (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

type AisSingleSlotBinaryMessage

type AisSingleSlotBinaryMessage struct {
	Info                          MessageInfo `json:"info"`
	SequenceId                    *uint64     `json:"sequenceId,omitempty" n2k:"1"`
	MessageId                     *uint64     `json:"messageId,omitempty" n2k:"2"`
	RepeatIndicator               *uint64     `json:"repeatIndicator,omitempty" n2k:"3"`
	SourceId                      *uint64     `json:"sourceId,omitempty" n2k:"4"`
	DestinationIndicator          *uint64     `json:"destinationIndicator,omitempty" n2k:"5"`
	BinaryDataFlag                *uint64     `json:"binaryDataFlag,omitempty" n2k:"6"`
	AisTransceiverInformation     *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"9"`
	DestinationId                 *uint64     `json:"destinationId,omitempty" n2k:"10"`
	NumberOfBitsInBinaryDataField *uint64     `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"11"`
	BinaryData                    []uint8     `json:"binaryData,omitempty" n2k:"12"`
}

func (*AisSingleSlotBinaryMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisSingleSlotBinaryMessage) DecodePayload

func (m *AisSingleSlotBinaryMessage) DecodePayload(payload []uint8) error

func (*AisSingleSlotBinaryMessage) EncodePayload

func (m *AisSingleSlotBinaryMessage) EncodePayload() ([]uint8, error)

func (*AisSingleSlotBinaryMessage) MessageInfo

func (m *AisSingleSlotBinaryMessage) MessageInfo() MessageInfo

func (*AisSingleSlotBinaryMessage) PGNNumber

func (m *AisSingleSlotBinaryMessage) PGNNumber() uint32

func (*AisSingleSlotBinaryMessage) SetMessageInfo

func (m *AisSingleSlotBinaryMessage) SetMessageInfo(info MessageInfo)

type AisSingleSlotBinaryMessageDeprecated

type AisSingleSlotBinaryMessageDeprecated struct {
	Info                          MessageInfo `json:"info"`
	SequenceId                    *uint64     `json:"sequenceId,omitempty" n2k:"1"`
	MessageId                     *uint64     `json:"messageId,omitempty" n2k:"2"`
	RepeatIndicator               *uint64     `json:"repeatIndicator,omitempty" n2k:"3"`
	SourceId                      *uint64     `json:"sourceId,omitempty" n2k:"4"`
	DestinationIndicator          *uint64     `json:"destinationIndicator,omitempty" n2k:"5"`
	BinaryDataFlag                *uint64     `json:"binaryDataFlag,omitempty" n2k:"6"`
	AisTransceiverInformation     *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"8"`
	DestinationId                 *uint64     `json:"destinationId,omitempty" n2k:"9"`
	NumberOfBitsInBinaryDataField *uint64     `json:"numberOfBitsInBinaryDataField,omitempty" n2k:"10"`
	BinaryData                    []uint8     `json:"binaryData,omitempty" n2k:"11"`
}

func (*AisSingleSlotBinaryMessageDeprecated) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AisSingleSlotBinaryMessageDeprecated) DecodePayload

func (m *AisSingleSlotBinaryMessageDeprecated) DecodePayload(payload []uint8) error

func (*AisSingleSlotBinaryMessageDeprecated) EncodePayload

func (m *AisSingleSlotBinaryMessageDeprecated) EncodePayload() ([]uint8, error)

func (*AisSingleSlotBinaryMessageDeprecated) MessageInfo

func (*AisSingleSlotBinaryMessageDeprecated) PGNNumber

func (*AisSingleSlotBinaryMessageDeprecated) SetMessageInfo

func (m *AisSingleSlotBinaryMessageDeprecated) SetMessageInfo(info MessageInfo)

type AisSpecialManeuverConst

type AisSpecialManeuverConst uint8
const (
	AisSpecialManeuverNotAvailable                AisSpecialManeuverConst = 0
	AisSpecialManeuverNotEngagedInSpecialManeuver AisSpecialManeuverConst = 1
	AisSpecialManeuverEngagedInSpecialManeuver    AisSpecialManeuverConst = 2
	AisSpecialManeuverReserved                    AisSpecialManeuverConst = 3
)

func (AisSpecialManeuverConst) GoString

func (e AisSpecialManeuverConst) GoString() string

func (AisSpecialManeuverConst) String

func (e AisSpecialManeuverConst) String() string

type AisTransceiverConst

type AisTransceiverConst uint8
const (
	AisTransceiverChannelAVDLReception       AisTransceiverConst = 0
	AisTransceiverChannelBVDLReception       AisTransceiverConst = 1
	AisTransceiverChannelAVDLTransmission    AisTransceiverConst = 2
	AisTransceiverChannelBVDLTransmission    AisTransceiverConst = 3
	AisTransceiverOwnInformationNotBroadcast AisTransceiverConst = 4
	AisTransceiverReserved                   AisTransceiverConst = 5
)

func (AisTransceiverConst) GoString

func (e AisTransceiverConst) GoString() string

func (AisTransceiverConst) String

func (e AisTransceiverConst) String() string

type AisTypeConst

type AisTypeConst uint8
const (
	AisTypeSOTDMA AisTypeConst = 0
	AisTypeCS     AisTypeConst = 1
)

func (AisTypeConst) GoString

func (e AisTypeConst) GoString() string

func (AisTypeConst) String

func (e AisTypeConst) String() string

type AisUtcAndDateReport

type AisUtcAndDateReport struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	UserId                    *uint64     `json:"userId,omitempty" n2k:"3"`
	Longitude                 *int64      `json:"longitude,omitempty" n2k:"4"`
	Latitude                  *int64      `json:"latitude,omitempty" n2k:"5"`
	PositionAccuracy          *uint64     `json:"positionAccuracy,omitempty" n2k:"6"`
	Raim                      *uint64     `json:"raim,omitempty" n2k:"7"`
	PositionTime              *uint64     `json:"positionTime,omitempty" n2k:"9"`
	CommunicationState        []uint8     `json:"communicationState,omitempty" n2k:"10"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"11"`
	PositionDate              *uint64     `json:"positionDate,omitempty" n2k:"12"`
	GnssType                  *uint64     `json:"gnssType,omitempty" n2k:"14"`
}

func (*AisUtcAndDateReport) Clone added in v1.3.0

func (m *AisUtcAndDateReport) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisUtcAndDateReport) DecodePayload

func (m *AisUtcAndDateReport) DecodePayload(payload []uint8) error

func (*AisUtcAndDateReport) EncodePayload

func (m *AisUtcAndDateReport) EncodePayload() ([]uint8, error)

func (*AisUtcAndDateReport) LatitudeValue

func (m *AisUtcAndDateReport) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisUtcAndDateReport) LongitudeValue

func (m *AisUtcAndDateReport) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisUtcAndDateReport) MessageInfo

func (m *AisUtcAndDateReport) MessageInfo() MessageInfo

func (*AisUtcAndDateReport) PGNNumber

func (m *AisUtcAndDateReport) PGNNumber() uint32

func (*AisUtcAndDateReport) PositionDateValue

func (m *AisUtcAndDateReport) PositionDateValue() (float64, bool)

PositionDateValue returns PositionDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisUtcAndDateReport) PositionTimeValue

func (m *AisUtcAndDateReport) PositionTimeValue() (float64, bool)

PositionTimeValue returns PositionTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AisUtcAndDateReport) SetLatitudeValue

func (m *AisUtcAndDateReport) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisUtcAndDateReport) SetLongitudeValue

func (m *AisUtcAndDateReport) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*AisUtcAndDateReport) SetMessageInfo

func (m *AisUtcAndDateReport) SetMessageInfo(info MessageInfo)

func (*AisUtcAndDateReport) SetPositionDateValue

func (m *AisUtcAndDateReport) SetPositionDateValue(v float64)

SetPositionDateValue sets PositionDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*AisUtcAndDateReport) SetPositionTimeValue

func (m *AisUtcAndDateReport) SetPositionTimeValue(v float64)

SetPositionTimeValue sets PositionTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

type AisUtcDateInquiry

type AisUtcDateInquiry struct {
	Info                      MessageInfo `json:"info"`
	MessageId                 *uint64     `json:"messageId,omitempty" n2k:"1"`
	RepeatIndicator           *uint64     `json:"repeatIndicator,omitempty" n2k:"2"`
	SourceId                  *uint64     `json:"sourceId,omitempty" n2k:"3"`
	AisTransceiverInformation *uint64     `json:"aisTransceiverInformation,omitempty" n2k:"5"`
	DestinationId             *uint64     `json:"destinationId,omitempty" n2k:"7"`
}

func (*AisUtcDateInquiry) Clone added in v1.3.0

func (m *AisUtcDateInquiry) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AisUtcDateInquiry) DecodePayload

func (m *AisUtcDateInquiry) DecodePayload(payload []uint8) error

func (*AisUtcDateInquiry) EncodePayload

func (m *AisUtcDateInquiry) EncodePayload() ([]uint8, error)

func (*AisUtcDateInquiry) MessageInfo

func (m *AisUtcDateInquiry) MessageInfo() MessageInfo

func (*AisUtcDateInquiry) PGNNumber

func (m *AisUtcDateInquiry) PGNNumber() uint32

func (*AisUtcDateInquiry) SetMessageInfo

func (m *AisUtcDateInquiry) SetMessageInfo(info MessageInfo)

type AisVersionConst

type AisVersionConst uint8
const (
	AisVersionITURM13711             AisVersionConst = 0
	AisVersionITURM13713             AisVersionConst = 1
	AisVersionITURM13715             AisVersionConst = 2
	AisVersionITURM1371FutureEdition AisVersionConst = 3
)

func (AisVersionConst) GoString

func (e AisVersionConst) GoString() string

func (AisVersionConst) String

func (e AisVersionConst) String() string

type Alert

type Alert struct {
	Info                           MessageInfo `json:"info"`
	AlertType                      *uint64     `json:"alertType,omitempty" n2k:"1"`
	AlertCategory                  *uint64     `json:"alertCategory,omitempty" n2k:"2"`
	AlertSystem                    *uint64     `json:"alertSystem,omitempty" n2k:"3"`
	AlertSubSystem                 *uint64     `json:"alertSubSystem,omitempty" n2k:"4"`
	AlertId                        *uint64     `json:"alertId,omitempty" n2k:"5"`
	DataSourceNetworkIdName        *uint64     `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
	DataSourceInstance             *uint64     `json:"dataSourceInstance,omitempty" n2k:"7"`
	DataSourceIndexSource          *uint64     `json:"dataSourceIndexSource,omitempty" n2k:"8"`
	AlertOccurrenceNumber          *uint64     `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
	TemporarySilenceStatus         *uint64     `json:"temporarySilenceStatus,omitempty" n2k:"10"`
	AcknowledgeStatus              *uint64     `json:"acknowledgeStatus,omitempty" n2k:"11"`
	EscalationStatus               *uint64     `json:"escalationStatus,omitempty" n2k:"12"`
	TemporarySilenceSupport        *uint64     `json:"temporarySilenceSupport,omitempty" n2k:"13"`
	AcknowledgeSupport             *uint64     `json:"acknowledgeSupport,omitempty" n2k:"14"`
	EscalationSupport              *uint64     `json:"escalationSupport,omitempty" n2k:"15"`
	AcknowledgeSourceNetworkIdName *uint64     `json:"acknowledgeSourceNetworkIdName,omitempty" n2k:"17"`
	TriggerCondition               *uint64     `json:"triggerCondition,omitempty" n2k:"18"`
	ThresholdStatus                *uint64     `json:"thresholdStatus,omitempty" n2k:"19"`
	AlertPriority                  *uint64     `json:"alertPriority,omitempty" n2k:"20"`
	AlertState                     *uint64     `json:"alertState,omitempty" n2k:"21"`
}

func (*Alert) Clone added in v1.3.0

func (m *Alert) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Alert) DecodePayload

func (m *Alert) DecodePayload(payload []uint8) error

func (*Alert) EncodePayload

func (m *Alert) EncodePayload() ([]uint8, error)

func (*Alert) MessageInfo

func (m *Alert) MessageInfo() MessageInfo

func (*Alert) PGNNumber

func (m *Alert) PGNNumber() uint32

func (*Alert) SetMessageInfo

func (m *Alert) SetMessageInfo(info MessageInfo)

type AlertCategoryConst

type AlertCategoryConst uint8
const (
	AlertCategoryNavigational AlertCategoryConst = 0
	AlertCategoryTechnical    AlertCategoryConst = 1
)

func (AlertCategoryConst) GoString

func (e AlertCategoryConst) GoString() string

func (AlertCategoryConst) String

func (e AlertCategoryConst) String() string

type AlertConfiguration

type AlertConfiguration struct {
	Info                       MessageInfo `json:"info"`
	AlertType                  *uint64     `json:"alertType,omitempty" n2k:"1"`
	AlertCategory              *uint64     `json:"alertCategory,omitempty" n2k:"2"`
	AlertSystem                *uint64     `json:"alertSystem,omitempty" n2k:"3"`
	AlertSubSystem             *uint64     `json:"alertSubSystem,omitempty" n2k:"4"`
	AlertId                    *uint64     `json:"alertId,omitempty" n2k:"5"`
	DataSourceNetworkIdName    *uint64     `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
	DataSourceInstance         *uint64     `json:"dataSourceInstance,omitempty" n2k:"7"`
	DataSourceIndexSource      *uint64     `json:"dataSourceIndexSource,omitempty" n2k:"8"`
	AlertOccurrenceNumber      *uint64     `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
	AlertControl               *uint64     `json:"alertControl,omitempty" n2k:"10"`
	UserDefinedAlertAssignment *uint64     `json:"userDefinedAlertAssignment,omitempty" n2k:"11"`
	ReactivationPeriod         *uint64     `json:"reactivationPeriod,omitempty" n2k:"13"`
	TemporarySilencePeriod     *uint64     `json:"temporarySilencePeriod,omitempty" n2k:"14"`
	EscalationPeriod           *uint64     `json:"escalationPeriod,omitempty" n2k:"15"`
}

func (*AlertConfiguration) Clone added in v1.3.0

func (m *AlertConfiguration) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AlertConfiguration) DecodePayload

func (m *AlertConfiguration) DecodePayload(payload []uint8) error

func (*AlertConfiguration) EncodePayload

func (m *AlertConfiguration) EncodePayload() ([]uint8, error)

func (*AlertConfiguration) MessageInfo

func (m *AlertConfiguration) MessageInfo() MessageInfo

func (*AlertConfiguration) PGNNumber

func (m *AlertConfiguration) PGNNumber() uint32

func (*AlertConfiguration) SetMessageInfo

func (m *AlertConfiguration) SetMessageInfo(info MessageInfo)

type AlertLanguageIdConst

type AlertLanguageIdConst uint8
const (
	AlertLanguageIdEnglishUS         AlertLanguageIdConst = 0
	AlertLanguageIdEnglishUK         AlertLanguageIdConst = 1
	AlertLanguageIdArabic            AlertLanguageIdConst = 2
	AlertLanguageIdChineseSimplified AlertLanguageIdConst = 3
	AlertLanguageIdCroatian          AlertLanguageIdConst = 4
	AlertLanguageIdDanish            AlertLanguageIdConst = 5
	AlertLanguageIdDutch             AlertLanguageIdConst = 6
	AlertLanguageIdFinnish           AlertLanguageIdConst = 7
	AlertLanguageIdFrench            AlertLanguageIdConst = 8
	AlertLanguageIdGerman            AlertLanguageIdConst = 9
	AlertLanguageIdGreek             AlertLanguageIdConst = 10
	AlertLanguageIdItalian           AlertLanguageIdConst = 11
	AlertLanguageIdJapanese          AlertLanguageIdConst = 12
	AlertLanguageIdKorean            AlertLanguageIdConst = 13
	AlertLanguageIdNorwegian         AlertLanguageIdConst = 14
	AlertLanguageIdPolish            AlertLanguageIdConst = 15
	AlertLanguageIdPortuguese        AlertLanguageIdConst = 16
	AlertLanguageIdRussian           AlertLanguageIdConst = 17
	AlertLanguageIdSpanish           AlertLanguageIdConst = 18
	AlertLanguageIdSwedish           AlertLanguageIdConst = 19
)

func (AlertLanguageIdConst) GoString

func (e AlertLanguageIdConst) GoString() string

func (AlertLanguageIdConst) String

func (e AlertLanguageIdConst) String() string

type AlertResponse

type AlertResponse struct {
	Info                           MessageInfo `json:"info"`
	AlertType                      *uint64     `json:"alertType,omitempty" n2k:"1"`
	AlertCategory                  *uint64     `json:"alertCategory,omitempty" n2k:"2"`
	AlertSystem                    *uint64     `json:"alertSystem,omitempty" n2k:"3"`
	AlertSubSystem                 *uint64     `json:"alertSubSystem,omitempty" n2k:"4"`
	AlertId                        *uint64     `json:"alertId,omitempty" n2k:"5"`
	DataSourceNetworkIdName        *uint64     `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
	DataSourceInstance             *uint64     `json:"dataSourceInstance,omitempty" n2k:"7"`
	DataSourceIndexSource          *uint64     `json:"dataSourceIndexSource,omitempty" n2k:"8"`
	AlertOccurrenceNumber          *uint64     `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
	AcknowledgeSourceNetworkIdName *uint64     `json:"acknowledgeSourceNetworkIdName,omitempty" n2k:"10"`
	ResponseCommand                *uint64     `json:"responseCommand,omitempty" n2k:"11"`
}

func (*AlertResponse) Clone added in v1.3.0

func (m *AlertResponse) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AlertResponse) DecodePayload

func (m *AlertResponse) DecodePayload(payload []uint8) error

func (*AlertResponse) EncodePayload

func (m *AlertResponse) EncodePayload() ([]uint8, error)

func (*AlertResponse) MessageInfo

func (m *AlertResponse) MessageInfo() MessageInfo

func (*AlertResponse) PGNNumber

func (m *AlertResponse) PGNNumber() uint32

func (*AlertResponse) SetMessageInfo

func (m *AlertResponse) SetMessageInfo(info MessageInfo)

type AlertResponseCommandConst

type AlertResponseCommandConst uint8
const (
	AlertResponseCommandAcknowledge      AlertResponseCommandConst = 0
	AlertResponseCommandTemporarySilence AlertResponseCommandConst = 1
	AlertResponseCommandTestCommandOff   AlertResponseCommandConst = 2
	AlertResponseCommandTestCommandOn    AlertResponseCommandConst = 3
)

func (AlertResponseCommandConst) GoString

func (e AlertResponseCommandConst) GoString() string

func (AlertResponseCommandConst) String

func (e AlertResponseCommandConst) String() string

type AlertStateConst

type AlertStateConst uint8
const (
	AlertStateDisabled            AlertStateConst = 0
	AlertStateNormal              AlertStateConst = 1
	AlertStateActive              AlertStateConst = 2
	AlertStateSilenced            AlertStateConst = 3
	AlertStateAcknowledged        AlertStateConst = 4
	AlertStateAwaitingAcknowledge AlertStateConst = 5
)

func (AlertStateConst) GoString

func (e AlertStateConst) GoString() string

func (AlertStateConst) String

func (e AlertStateConst) String() string

type AlertText

type AlertText struct {
	Info                         MessageInfo `json:"info"`
	AlertType                    *uint64     `json:"alertType,omitempty" n2k:"1"`
	AlertCategory                *uint64     `json:"alertCategory,omitempty" n2k:"2"`
	AlertSystem                  *uint64     `json:"alertSystem,omitempty" n2k:"3"`
	AlertSubSystem               *uint64     `json:"alertSubSystem,omitempty" n2k:"4"`
	AlertId                      *uint64     `json:"alertId,omitempty" n2k:"5"`
	DataSourceNetworkIdName      *uint64     `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
	DataSourceInstance           *uint64     `json:"dataSourceInstance,omitempty" n2k:"7"`
	DataSourceIndexSource        *uint64     `json:"dataSourceIndexSource,omitempty" n2k:"8"`
	AlertOccurrenceNumber        *uint64     `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
	LanguageId                   *uint64     `json:"languageId,omitempty" n2k:"10"`
	AlertTextDescription         string      `json:"alertTextDescription,omitempty" n2k:"11"`
	AlertLocationTextDescription string      `json:"alertLocationTextDescription,omitempty" n2k:"12"`
}

func (*AlertText) Clone added in v1.3.0

func (m *AlertText) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AlertText) DecodePayload

func (m *AlertText) DecodePayload(payload []uint8) error

func (*AlertText) EncodePayload

func (m *AlertText) EncodePayload() ([]uint8, error)

func (*AlertText) MessageInfo

func (m *AlertText) MessageInfo() MessageInfo

func (*AlertText) PGNNumber

func (m *AlertText) PGNNumber() uint32

func (*AlertText) SetMessageInfo

func (m *AlertText) SetMessageInfo(info MessageInfo)

type AlertThreshold

type AlertThreshold struct {
	Info                    MessageInfo                `json:"info"`
	AlertType               *uint64                    `json:"alertType,omitempty" n2k:"1"`
	AlertCategory           *uint64                    `json:"alertCategory,omitempty" n2k:"2"`
	AlertSystem             *uint64                    `json:"alertSystem,omitempty" n2k:"3"`
	AlertSubSystem          *uint64                    `json:"alertSubSystem,omitempty" n2k:"4"`
	AlertId                 *uint64                    `json:"alertId,omitempty" n2k:"5"`
	DataSourceNetworkIdName *uint64                    `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
	DataSourceInstance      *uint64                    `json:"dataSourceInstance,omitempty" n2k:"7"`
	DataSourceIndexSource   *uint64                    `json:"dataSourceIndexSource,omitempty" n2k:"8"`
	AlertOccurrenceNumber   *uint64                    `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
	NumberOfParameters      *uint64                    `json:"numberOfParameters,omitempty" n2k:"10"`
	Repeating1              []AlertThresholdRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AlertThreshold) Clone added in v1.3.0

func (m *AlertThreshold) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AlertThreshold) DecodePayload

func (m *AlertThreshold) DecodePayload(payload []uint8) error

func (*AlertThreshold) EncodePayload

func (m *AlertThreshold) EncodePayload() ([]uint8, error)

func (*AlertThreshold) MessageInfo

func (m *AlertThreshold) MessageInfo() MessageInfo

func (*AlertThreshold) PGNNumber

func (m *AlertThreshold) PGNNumber() uint32

func (*AlertThreshold) SetMessageInfo

func (m *AlertThreshold) SetMessageInfo(info MessageInfo)

type AlertThresholdRepeating1

type AlertThresholdRepeating1 struct {
	ParameterNumber     *uint64 `json:"parameterNumber,omitempty" n2k:"11"`
	TriggerMethod       *uint64 `json:"triggerMethod,omitempty" n2k:"12"`
	ThresholdDataFormat *uint64 `json:"thresholdDataFormat,omitempty" n2k:"13"`
	ThresholdLevel      *uint64 `json:"thresholdLevel,omitempty" n2k:"14"`
}

type AlertThresholdStatusConst

type AlertThresholdStatusConst uint8
const (
	AlertThresholdStatusNormal                   AlertThresholdStatusConst = 0
	AlertThresholdStatusThresholdExceeded        AlertThresholdStatusConst = 1
	AlertThresholdStatusExtremeThresholdExceeded AlertThresholdStatusConst = 2
	AlertThresholdStatusLowThresholdExceeded     AlertThresholdStatusConst = 3
	AlertThresholdStatusAcknowledged             AlertThresholdStatusConst = 4
	AlertThresholdStatusAwaitingAcknowledge      AlertThresholdStatusConst = 5
)

func (AlertThresholdStatusConst) GoString

func (e AlertThresholdStatusConst) GoString() string

func (AlertThresholdStatusConst) String

func (e AlertThresholdStatusConst) String() string

type AlertTriggerConditionConst

type AlertTriggerConditionConst uint8
const (
	AlertTriggerConditionManual   AlertTriggerConditionConst = 0
	AlertTriggerConditionAuto     AlertTriggerConditionConst = 1
	AlertTriggerConditionTest     AlertTriggerConditionConst = 2
	AlertTriggerConditionDisabled AlertTriggerConditionConst = 3
)

func (AlertTriggerConditionConst) GoString

func (e AlertTriggerConditionConst) GoString() string

func (AlertTriggerConditionConst) String

type AlertTypeConst

type AlertTypeConst uint8
const (
	AlertTypeEmergencyAlarm AlertTypeConst = 1
	AlertTypeAlarm          AlertTypeConst = 2
	AlertTypeWarning        AlertTypeConst = 5
	AlertTypeCaution        AlertTypeConst = 8
)

func (AlertTypeConst) GoString

func (e AlertTypeConst) GoString() string

func (AlertTypeConst) String

func (e AlertTypeConst) String() string

type AlertValue

type AlertValue struct {
	Info                    MessageInfo            `json:"info"`
	AlertType               *uint64                `json:"alertType,omitempty" n2k:"1"`
	AlertCategory           *uint64                `json:"alertCategory,omitempty" n2k:"2"`
	AlertSystem             *uint64                `json:"alertSystem,omitempty" n2k:"3"`
	AlertSubSystem          *uint64                `json:"alertSubSystem,omitempty" n2k:"4"`
	AlertId                 *uint64                `json:"alertId,omitempty" n2k:"5"`
	DataSourceNetworkIdName *uint64                `json:"dataSourceNetworkIdName,omitempty" n2k:"6"`
	DataSourceInstance      *uint64                `json:"dataSourceInstance,omitempty" n2k:"7"`
	DataSourceIndexSource   *uint64                `json:"dataSourceIndexSource,omitempty" n2k:"8"`
	AlertOccurrenceNumber   *uint64                `json:"alertOccurrenceNumber,omitempty" n2k:"9"`
	NumberOfParameters      *uint64                `json:"numberOfParameters,omitempty" n2k:"10"`
	Repeating1              []AlertValueRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AlertValue) Clone added in v1.3.0

func (m *AlertValue) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AlertValue) DecodePayload

func (m *AlertValue) DecodePayload(payload []uint8) error

func (*AlertValue) EncodePayload

func (m *AlertValue) EncodePayload() ([]uint8, error)

func (*AlertValue) MessageInfo

func (m *AlertValue) MessageInfo() MessageInfo

func (*AlertValue) PGNNumber

func (m *AlertValue) PGNNumber() uint32

func (*AlertValue) SetMessageInfo

func (m *AlertValue) SetMessageInfo(info MessageInfo)

type AlertValueRepeating1

type AlertValueRepeating1 struct {
	ValueParameterNumber *uint64 `json:"valueParameterNumber,omitempty" n2k:"11"`
	ValueDataFormat      *uint64 `json:"valueDataFormat,omitempty" n2k:"12"`
	ValueData            *uint64 `json:"valueData,omitempty" n2k:"13"`
}

type AltitudeDeltaRapidUpdate

type AltitudeDeltaRapidUpdate struct {
	Info          MessageInfo `json:"info"`
	Sid           *uint64     `json:"sid,omitempty" n2k:"1"`
	TimeDelta     *uint64     `json:"timeDelta,omitempty" n2k:"2"`
	GnssQuality   *uint64     `json:"gnssQuality,omitempty" n2k:"3"`
	Direction     *uint64     `json:"direction,omitempty" n2k:"4"`
	Cog           *uint64     `json:"cog,omitempty" n2k:"6"`
	AltitudeDelta *int64      `json:"altitudeDelta,omitempty" n2k:"7"`
}

func (*AltitudeDeltaRapidUpdate) AltitudeDeltaValue

func (m *AltitudeDeltaRapidUpdate) AltitudeDeltaValue() (float64, bool)

AltitudeDeltaValue returns AltitudeDelta as a physical value in m (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AltitudeDeltaRapidUpdate) Clone added in v1.3.0

func (m *AltitudeDeltaRapidUpdate) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AltitudeDeltaRapidUpdate) CogValue

func (m *AltitudeDeltaRapidUpdate) CogValue() (float64, bool)

CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AltitudeDeltaRapidUpdate) DecodePayload

func (m *AltitudeDeltaRapidUpdate) DecodePayload(payload []uint8) error

func (*AltitudeDeltaRapidUpdate) EncodePayload

func (m *AltitudeDeltaRapidUpdate) EncodePayload() ([]uint8, error)

func (*AltitudeDeltaRapidUpdate) MessageInfo

func (m *AltitudeDeltaRapidUpdate) MessageInfo() MessageInfo

func (*AltitudeDeltaRapidUpdate) PGNNumber

func (m *AltitudeDeltaRapidUpdate) PGNNumber() uint32

func (*AltitudeDeltaRapidUpdate) SetAltitudeDeltaValue

func (m *AltitudeDeltaRapidUpdate) SetAltitudeDeltaValue(v float64)

SetAltitudeDeltaValue sets AltitudeDelta from a physical value in m, rounded to the nearest wire tick of 0.001.

func (*AltitudeDeltaRapidUpdate) SetCogValue

func (m *AltitudeDeltaRapidUpdate) SetCogValue(v float64)

SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*AltitudeDeltaRapidUpdate) SetMessageInfo

func (m *AltitudeDeltaRapidUpdate) SetMessageInfo(info MessageInfo)

func (*AltitudeDeltaRapidUpdate) SetTimeDeltaValue

func (m *AltitudeDeltaRapidUpdate) SetTimeDeltaValue(v float64)

SetTimeDeltaValue sets TimeDelta from a physical value in s, rounded to the nearest wire tick of 0.005.

func (*AltitudeDeltaRapidUpdate) TimeDeltaValue

func (m *AltitudeDeltaRapidUpdate) TimeDeltaValue() (float64, bool)

TimeDeltaValue returns TimeDelta as a physical value in s (value = raw * 0.005). The bool is false for absent, sentinel, or out-of-range measurements.

type AnchorWindlassMonitoringStatus

type AnchorWindlassMonitoringStatus struct {
	Info                     MessageInfo `json:"info"`
	Sid                      *uint64     `json:"sid,omitempty" n2k:"1"`
	WindlassId               *uint64     `json:"windlassId,omitempty" n2k:"2"`
	WindlassMonitoringEvents *uint64     `json:"windlassMonitoringEvents,omitempty" n2k:"3"`
	ControllerVoltage        *uint64     `json:"controllerVoltage,omitempty" n2k:"4"`
	MotorCurrent             *uint64     `json:"motorCurrent,omitempty" n2k:"5"`
	TotalMotorTime           *uint64     `json:"totalMotorTime,omitempty" n2k:"6"`
}

func (*AnchorWindlassMonitoringStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AnchorWindlassMonitoringStatus) ControllerVoltageValue

func (m *AnchorWindlassMonitoringStatus) ControllerVoltageValue() (float64, bool)

ControllerVoltageValue returns ControllerVoltage as a physical value in V (value = raw * 0.2). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AnchorWindlassMonitoringStatus) DecodePayload

func (m *AnchorWindlassMonitoringStatus) DecodePayload(payload []uint8) error

func (*AnchorWindlassMonitoringStatus) EncodePayload

func (m *AnchorWindlassMonitoringStatus) EncodePayload() ([]uint8, error)

func (*AnchorWindlassMonitoringStatus) MessageInfo

func (*AnchorWindlassMonitoringStatus) MotorCurrentValue

func (m *AnchorWindlassMonitoringStatus) MotorCurrentValue() (float64, bool)

MotorCurrentValue returns MotorCurrent as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AnchorWindlassMonitoringStatus) PGNNumber

func (m *AnchorWindlassMonitoringStatus) PGNNumber() uint32

func (*AnchorWindlassMonitoringStatus) SetControllerVoltageValue

func (m *AnchorWindlassMonitoringStatus) SetControllerVoltageValue(v float64)

SetControllerVoltageValue sets ControllerVoltage from a physical value in V, rounded to the nearest wire tick of 0.2.

func (*AnchorWindlassMonitoringStatus) SetMessageInfo

func (m *AnchorWindlassMonitoringStatus) SetMessageInfo(info MessageInfo)

func (*AnchorWindlassMonitoringStatus) SetMotorCurrentValue

func (m *AnchorWindlassMonitoringStatus) SetMotorCurrentValue(v float64)

SetMotorCurrentValue sets MotorCurrent from a physical value in A, rounded to the nearest wire tick of 1.

func (*AnchorWindlassMonitoringStatus) SetTotalMotorTimeValue

func (m *AnchorWindlassMonitoringStatus) SetTotalMotorTimeValue(v float64)

SetTotalMotorTimeValue sets TotalMotorTime from a physical value in s, rounded to the nearest wire tick of 60.

func (*AnchorWindlassMonitoringStatus) TotalMotorTimeValue

func (m *AnchorWindlassMonitoringStatus) TotalMotorTimeValue() (float64, bool)

TotalMotorTimeValue returns TotalMotorTime as a physical value in s (value = raw * 60). The bool is false for absent, sentinel, or out-of-range measurements.

type AnchorWindlassOperatingStatus

type AnchorWindlassOperatingStatus struct {
	Info                     MessageInfo `json:"info"`
	Sid                      *uint64     `json:"sid,omitempty" n2k:"1"`
	WindlassId               *uint64     `json:"windlassId,omitempty" n2k:"2"`
	WindlassDirectionControl *uint64     `json:"windlassDirectionControl,omitempty" n2k:"3"`
	WindlassMotionStatus     *uint64     `json:"windlassMotionStatus,omitempty" n2k:"4"`
	RodeTypeStatus           *uint64     `json:"rodeTypeStatus,omitempty" n2k:"5"`
	RodeCounterValue         *uint64     `json:"rodeCounterValue,omitempty" n2k:"7"`
	WindlassLineSpeed        *uint64     `json:"windlassLineSpeed,omitempty" n2k:"8"`
	AnchorDockingStatus      *uint64     `json:"anchorDockingStatus,omitempty" n2k:"9"`
	WindlassOperatingEvents  *uint64     `json:"windlassOperatingEvents,omitempty" n2k:"10"`
}

func (*AnchorWindlassOperatingStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AnchorWindlassOperatingStatus) DecodePayload

func (m *AnchorWindlassOperatingStatus) DecodePayload(payload []uint8) error

func (*AnchorWindlassOperatingStatus) EncodePayload

func (m *AnchorWindlassOperatingStatus) EncodePayload() ([]uint8, error)

func (*AnchorWindlassOperatingStatus) MessageInfo

func (m *AnchorWindlassOperatingStatus) MessageInfo() MessageInfo

func (*AnchorWindlassOperatingStatus) PGNNumber

func (m *AnchorWindlassOperatingStatus) PGNNumber() uint32

func (*AnchorWindlassOperatingStatus) RodeCounterValueValue

func (m *AnchorWindlassOperatingStatus) RodeCounterValueValue() (float64, bool)

RodeCounterValueValue returns RodeCounterValue as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*AnchorWindlassOperatingStatus) SetMessageInfo

func (m *AnchorWindlassOperatingStatus) SetMessageInfo(info MessageInfo)

func (*AnchorWindlassOperatingStatus) SetRodeCounterValueValue

func (m *AnchorWindlassOperatingStatus) SetRodeCounterValueValue(v float64)

SetRodeCounterValueValue sets RodeCounterValue from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*AnchorWindlassOperatingStatus) SetWindlassLineSpeedValue

func (m *AnchorWindlassOperatingStatus) SetWindlassLineSpeedValue(v float64)

SetWindlassLineSpeedValue sets WindlassLineSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*AnchorWindlassOperatingStatus) WindlassLineSpeedValue

func (m *AnchorWindlassOperatingStatus) WindlassLineSpeedValue() (float64, bool)

WindlassLineSpeedValue returns WindlassLineSpeed as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type AtonTypeConst

type AtonTypeConst uint8
const (
	AtonTypeDefaultTypeOfAtoNNotSpecified             AtonTypeConst = 0
	AtonTypeReferencePoint                            AtonTypeConst = 1
	AtonTypeRACON                                     AtonTypeConst = 2
	AtonTypeFixedStructureOffShore                    AtonTypeConst = 3
	AtonTypeReservedForFutureUse                      AtonTypeConst = 4
	AtonTypeFixedLightWithoutSectors                  AtonTypeConst = 5
	AtonTypeFixedLightWithSectors                     AtonTypeConst = 6
	AtonTypeFixedLeadingLightFront                    AtonTypeConst = 7
	AtonTypeFixedLeadingLightRear                     AtonTypeConst = 8
	AtonTypeFixedBeaconCardinalN                      AtonTypeConst = 9
	AtonTypeFixedBeaconCardinalE                      AtonTypeConst = 10
	AtonTypeFixedBeaconCardinalS                      AtonTypeConst = 11
	AtonTypeFixedBeaconCardinalW                      AtonTypeConst = 12
	AtonTypeFixedBeaconPortHand                       AtonTypeConst = 13
	AtonTypeFixedBeaconStarboardHand                  AtonTypeConst = 14
	AtonTypeFixedBeaconPreferredChannelPortHand       AtonTypeConst = 15
	AtonTypeFixedBeaconPreferredChannelStarboardHand  AtonTypeConst = 16
	AtonTypeFixedBeaconIsolatedDanger                 AtonTypeConst = 17
	AtonTypeFixedBeaconSafeWater                      AtonTypeConst = 18
	AtonTypeFixedBeaconSpecialMark                    AtonTypeConst = 19
	AtonTypeFloatingAtoNCardinalN                     AtonTypeConst = 20
	AtonTypeFloatingAtoNCardinalE                     AtonTypeConst = 21
	AtonTypeFloatingAtoNCardinalS                     AtonTypeConst = 22
	AtonTypeFloatingAtoNCardinalW                     AtonTypeConst = 23
	AtonTypeFloatingAtoNPortHandMark                  AtonTypeConst = 24
	AtonTypeFloatingAtoNStarboardHandMark             AtonTypeConst = 25
	AtonTypeFloatingAtoNPreferredChannelPortHand      AtonTypeConst = 26
	AtonTypeFloatingAtoNPreferredChannelStarboardHand AtonTypeConst = 27
	AtonTypeFloatingAtoNIsolatedDanger                AtonTypeConst = 28
	AtonTypeFloatingAtoNSafeWater                     AtonTypeConst = 29
	AtonTypeFloatingAtoNSpecialMark                   AtonTypeConst = 30
	AtonTypeFloatingAtoNLightVesselLANBYRigs          AtonTypeConst = 31
)

func (AtonTypeConst) GoString

func (e AtonTypeConst) GoString() string

func (AtonTypeConst) String

func (e AtonTypeConst) String() string

type Attitude

type Attitude struct {
	Info  MessageInfo `json:"info"`
	Sid   *uint64     `json:"sid,omitempty" n2k:"1"`
	Yaw   *int64      `json:"yaw,omitempty" n2k:"2"`
	Pitch *int64      `json:"pitch,omitempty" n2k:"3"`
	Roll  *int64      `json:"roll,omitempty" n2k:"4"`
}

func (*Attitude) Clone added in v1.3.0

func (m *Attitude) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Attitude) DecodePayload

func (m *Attitude) DecodePayload(payload []uint8) error

func (*Attitude) EncodePayload

func (m *Attitude) EncodePayload() ([]uint8, error)

func (*Attitude) MessageInfo

func (m *Attitude) MessageInfo() MessageInfo

func (*Attitude) PGNNumber

func (m *Attitude) PGNNumber() uint32

func (*Attitude) PitchValue

func (m *Attitude) PitchValue() (float64, bool)

PitchValue returns Pitch as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Attitude) RollValue

func (m *Attitude) RollValue() (float64, bool)

RollValue returns Roll as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Attitude) SetMessageInfo

func (m *Attitude) SetMessageInfo(info MessageInfo)

func (*Attitude) SetPitchValue

func (m *Attitude) SetPitchValue(v float64)

SetPitchValue sets Pitch from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*Attitude) SetRollValue

func (m *Attitude) SetRollValue(v float64)

SetRollValue sets Roll from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*Attitude) SetYawValue

func (m *Attitude) SetYawValue(v float64)

SetYawValue sets Yaw from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*Attitude) YawValue

func (m *Attitude) YawValue() (float64, bool)

YawValue returns Yaw as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type AutomaticManualConst added in v1.3.0

type AutomaticManualConst uint8
const (
	AutomaticManualAutomatic AutomaticManualConst = 0
	AutomaticManualManual    AutomaticManualConst = 1
)

func (AutomaticManualConst) GoString added in v1.3.0

func (e AutomaticManualConst) GoString() string

func (AutomaticManualConst) String added in v1.3.0

func (e AutomaticManualConst) String() string

type AvailableAudioEqPresets

type AvailableAudioEqPresets struct {
	Info             MessageInfo                         `json:"info"`
	FirstPreset      *uint64                             `json:"firstPreset,omitempty" n2k:"1"`
	PresetCount      *uint64                             `json:"presetCount,omitempty" n2k:"2"`
	TotalPresetCount *uint64                             `json:"totalPresetCount,omitempty" n2k:"3"`
	Repeating1       []AvailableAudioEqPresetsRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AvailableAudioEqPresets) Clone added in v1.3.0

func (m *AvailableAudioEqPresets) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*AvailableAudioEqPresets) DecodePayload

func (m *AvailableAudioEqPresets) DecodePayload(payload []uint8) error

func (*AvailableAudioEqPresets) EncodePayload

func (m *AvailableAudioEqPresets) EncodePayload() ([]uint8, error)

func (*AvailableAudioEqPresets) MessageInfo

func (m *AvailableAudioEqPresets) MessageInfo() MessageInfo

func (*AvailableAudioEqPresets) PGNNumber

func (m *AvailableAudioEqPresets) PGNNumber() uint32

func (*AvailableAudioEqPresets) SetMessageInfo

func (m *AvailableAudioEqPresets) SetMessageInfo(info MessageInfo)

type AvailableAudioEqPresetsRepeating1

type AvailableAudioEqPresetsRepeating1 struct {
	PresetType *uint64 `json:"presetType,omitempty" n2k:"4"`
	PresetName string  `json:"presetName,omitempty" n2k:"5"`
}

type AvailableBluetoothAddresses

type AvailableBluetoothAddresses struct {
	Info              MessageInfo                             `json:"info"`
	FirstAddress      *uint64                                 `json:"firstAddress,omitempty" n2k:"1"`
	AddressCount      *uint64                                 `json:"addressCount,omitempty" n2k:"2"`
	TotalAddressCount *uint64                                 `json:"totalAddressCount,omitempty" n2k:"3"`
	Repeating1        []AvailableBluetoothAddressesRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*AvailableBluetoothAddresses) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*AvailableBluetoothAddresses) DecodePayload

func (m *AvailableBluetoothAddresses) DecodePayload(payload []uint8) error

func (*AvailableBluetoothAddresses) EncodePayload

func (m *AvailableBluetoothAddresses) EncodePayload() ([]uint8, error)

func (*AvailableBluetoothAddresses) MessageInfo

func (m *AvailableBluetoothAddresses) MessageInfo() MessageInfo

func (*AvailableBluetoothAddresses) PGNNumber

func (m *AvailableBluetoothAddresses) PGNNumber() uint32

func (*AvailableBluetoothAddresses) SetMessageInfo

func (m *AvailableBluetoothAddresses) SetMessageInfo(info MessageInfo)

type AvailableBluetoothAddressesRepeating1

type AvailableBluetoothAddressesRepeating1 struct {
	BluetoothAddress []uint8 `json:"bluetoothAddress,omitempty" n2k:"4"`
	Status           *uint64 `json:"status,omitempty" n2k:"5"`
	DeviceName       string  `json:"deviceName,omitempty" n2k:"6"`
	SignalStrength   *uint64 `json:"signalStrength,omitempty" n2k:"7"`
}

func (*AvailableBluetoothAddressesRepeating1) SetSignalStrengthValue

func (m *AvailableBluetoothAddressesRepeating1) SetSignalStrengthValue(v float64)

SetSignalStrengthValue sets SignalStrength from a physical value in %, rounded to the nearest wire tick of 1.

func (*AvailableBluetoothAddressesRepeating1) SignalStrengthValue

func (m *AvailableBluetoothAddressesRepeating1) SignalStrengthValue() (float64, bool)

SignalStrengthValue returns SignalStrength as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type AvailableConst

type AvailableConst uint8
const (
	AvailableAvailable    AvailableConst = 0
	AvailableNotAvailable AvailableConst = 1
)

func (AvailableConst) GoString

func (e AvailableConst) GoString() string

func (AvailableConst) String

func (e AvailableConst) String() string

type BGKeyValueData

type BGKeyValueData struct {
	Info             MessageInfo                `json:"info"`
	ManufacturerCode *uint64                    `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64                    `json:"industryCode,omitempty" n2k:"3"`
	Repeating1       []BGKeyValueDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*BGKeyValueData) Clone added in v1.3.0

func (m *BGKeyValueData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BGKeyValueData) DecodePayload

func (m *BGKeyValueData) DecodePayload(payload []uint8) error

func (*BGKeyValueData) EncodePayload

func (m *BGKeyValueData) EncodePayload() ([]uint8, error)

func (*BGKeyValueData) MessageInfo

func (m *BGKeyValueData) MessageInfo() MessageInfo

func (*BGKeyValueData) PGNNumber

func (m *BGKeyValueData) PGNNumber() uint32

func (*BGKeyValueData) SetMessageInfo

func (m *BGKeyValueData) SetMessageInfo(info MessageInfo)

type BGKeyValueDataRepeating1

type BGKeyValueDataRepeating1 struct {
	Key    *uint64 `json:"key,omitempty" n2k:"4"`
	Length *uint64 `json:"length,omitempty" n2k:"5"`
	Value  []uint8 `json:"value,omitempty" n2k:"6"`
}

type BGProprietary

type BGProprietary struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BGProprietary) Clone added in v1.3.0

func (m *BGProprietary) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BGProprietary) DecodePayload

func (m *BGProprietary) DecodePayload(payload []uint8) error

func (*BGProprietary) EncodePayload

func (m *BGProprietary) EncodePayload() ([]uint8, error)

func (*BGProprietary) MessageInfo

func (m *BGProprietary) MessageInfo() MessageInfo

func (*BGProprietary) PGNNumber

func (m *BGProprietary) PGNNumber() uint32

func (*BGProprietary) SetMessageInfo

func (m *BGProprietary) SetMessageInfo(info MessageInfo)

type BGUserAndRemoteRename

type BGUserAndRemoteRename struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	DataType         *uint64     `json:"dataType,omitempty" n2k:"4"`
	Length           *uint64     `json:"length,omitempty" n2k:"5"`
	Decimals         *uint64     `json:"decimals,omitempty" n2k:"7"`
	ShortName        string      `json:"shortName,omitempty" n2k:"8"`
	LongName         string      `json:"longName,omitempty" n2k:"9"`
}

func (*BGUserAndRemoteRename) Clone added in v1.3.0

func (m *BGUserAndRemoteRename) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BGUserAndRemoteRename) DecodePayload

func (m *BGUserAndRemoteRename) DecodePayload(payload []uint8) error

func (*BGUserAndRemoteRename) EncodePayload

func (m *BGUserAndRemoteRename) EncodePayload() ([]uint8, error)

func (*BGUserAndRemoteRename) MessageInfo

func (m *BGUserAndRemoteRename) MessageInfo() MessageInfo

func (*BGUserAndRemoteRename) PGNNumber

func (m *BGUserAndRemoteRename) PGNNumber() uint32

func (*BGUserAndRemoteRename) SetMessageInfo

func (m *BGUserAndRemoteRename) SetMessageInfo(info MessageInfo)

type BandgDecimalsConst

type BandgDecimalsConst uint8
const (
	BandgDecimals0    BandgDecimalsConst = 0
	BandgDecimals1    BandgDecimalsConst = 1
	BandgDecimals2    BandgDecimalsConst = 2
	BandgDecimals3    BandgDecimalsConst = 3
	BandgDecimals4    BandgDecimalsConst = 4
	BandgDecimalsAuto BandgDecimalsConst = 254
)

func (BandgDecimalsConst) GoString

func (e BandgDecimalsConst) GoString() string

func (BandgDecimalsConst) String

func (e BandgDecimalsConst) String() string

type BandgKeyValueConst

type BandgKeyValueConst uint16
const (
	BandgKeyValueAltitude                                BandgKeyValueConst = 0
	BandgKeyValueRudderAngle                             BandgKeyValueConst = 11
	BandgKeyValueUser5                                   BandgKeyValueConst = 16
	BandgKeyValueUser6                                   BandgKeyValueConst = 17
	BandgKeyValueUser7                                   BandgKeyValueConst = 18
	BandgKeyValueUser8                                   BandgKeyValueConst = 19
	BandgKeyValueUser9                                   BandgKeyValueConst = 20
	BandgKeyValueUser10                                  BandgKeyValueConst = 21
	BandgKeyValueUser11                                  BandgKeyValueConst = 22
	BandgKeyValueUser12                                  BandgKeyValueConst = 23
	BandgKeyValueUser13                                  BandgKeyValueConst = 24
	BandgKeyValueUser14                                  BandgKeyValueConst = 25
	BandgKeyValueUser15                                  BandgKeyValueConst = 26
	BandgKeyValueUser16                                  BandgKeyValueConst = 27
	BandgKeyValueOutsideTemperature                      BandgKeyValueConst = 28
	BandgKeyValueOutsideTemperatureValue29               BandgKeyValueConst = 29
	BandgKeyValueOutsideTemperatureValue30               BandgKeyValueConst = 30
	BandgKeyValueWaterTemperature                        BandgKeyValueConst = 31
	BandgKeyValueTackingPerformance                      BandgKeyValueConst = 50
	BandgKeyValueMagneticVariation                       BandgKeyValueConst = 52
	BandgKeyValueOptimumWindAngle                        BandgKeyValueConst = 53
	BandgKeyValueUser1                                   BandgKeyValueConst = 56
	BandgKeyValueUser2                                   BandgKeyValueConst = 57
	BandgKeyValueUser3                                   BandgKeyValueConst = 58
	BandgKeyValueUser4                                   BandgKeyValueConst = 59
	BandgKeyValueRollRate                                BandgKeyValueConst = 60
	BandgKeyValueForestay                                BandgKeyValueConst = 64
	BandgKeyValueWaterSpeed                              BandgKeyValueConst = 65
	BandgKeyValueYawRate                                 BandgKeyValueConst = 68
	BandgKeyValueCurrentSet                              BandgKeyValueConst = 73
	BandgKeyValueWindSpeedApparent                       BandgKeyValueConst = 77
	BandgKeyValueWindSpeedTrue                           BandgKeyValueConst = 79
	BandgKeyValueWindAngleTrue                           BandgKeyValueConst = 81
	BandgKeyValueTargetTWA                               BandgKeyValueConst = 83
	BandgKeyValueWindSpeedTrueValue85                    BandgKeyValueConst = 85
	BandgKeyValueWaterTemperatureValue86                 BandgKeyValueConst = 86
	BandgKeyValueTrueWindDirection                       BandgKeyValueConst = 89
	BandgKeyValueTrip1SpeedAvg                           BandgKeyValueConst = 100
	BandgKeyValueKeelAngle                               BandgKeyValueConst = 102
	BandgKeyValueCanardAngle                             BandgKeyValueConst = 103
	BandgKeyValueKeelTrimTabAngle                        BandgKeyValueConst = 104
	BandgKeyValueCourse                                  BandgKeyValueConst = 105
	BandgKeyValueWindDirection                           BandgKeyValueConst = 109
	BandgKeyValueNextLegAWA                              BandgKeyValueConst = 111
	BandgKeyValueNextLegAWS                              BandgKeyValueConst = 113
	BandgKeyValueRaceTimer                               BandgKeyValueConst = 117
	BandgKeyValuePolarPerformance                        BandgKeyValueConst = 124
	BandgKeyValueTargetBoatSpeed                         BandgKeyValueConst = 125
	BandgKeyValuePolarSpeed                              BandgKeyValueConst = 126
	BandgKeyValueVMGToWind                               BandgKeyValueConst = 127
	BandgKeyValueDRDistance                              BandgKeyValueConst = 129
	BandgKeyValueLeewayAngle                             BandgKeyValueConst = 130
	BandgKeyValueCurrentDrift                            BandgKeyValueConst = 131
	BandgKeyValueCurrentSetValue132                      BandgKeyValueConst = 132
	BandgKeyValueBarometricPressure                      BandgKeyValueConst = 135
	BandgKeyValueDistanceToStartLine                     BandgKeyValueConst = 152
	BandgKeyValueHeadingOnOppositeTack                   BandgKeyValueConst = 154
	BandgKeyValueAttitudeRoll                            BandgKeyValueConst = 155
	BandgKeyValueMastAngle                               BandgKeyValueConst = 156
	BandgKeyValueWindAngleToMast                         BandgKeyValueConst = 157
	BandgKeyValuePitchRate                               BandgKeyValueConst = 158
	BandgKeyValueDaggerboardPosition                     BandgKeyValueConst = 163
	BandgKeyValueBoomPosition                            BandgKeyValueConst = 164
	BandgKeyValueMOBDRBearing                            BandgKeyValueConst = 185
	BandgKeyValueMOBDRRange                              BandgKeyValueConst = 186
	BandgKeyValueDepth                                   BandgKeyValueConst = 194
	BandgKeyValueDepthValue195                           BandgKeyValueConst = 195
	BandgKeyValueAftDepth                                BandgKeyValueConst = 199
	BandgKeyValueOdometer                                BandgKeyValueConst = 205
	BandgKeyValueTripDistance                            BandgKeyValueConst = 207
	BandgKeyValueTrip2Distance                           BandgKeyValueConst = 208
	BandgKeyValueDRBearing                               BandgKeyValueConst = 211
	BandgKeyValueCourseOverGround                        BandgKeyValueConst = 233
	BandgKeyValueWaterSpeedValue235                      BandgKeyValueConst = 235
	BandgKeyValueRemote0                                 BandgKeyValueConst = 239
	BandgKeyValueRemote1                                 BandgKeyValueConst = 240
	BandgKeyValueRemote2                                 BandgKeyValueConst = 241
	BandgKeyValueRemote3                                 BandgKeyValueConst = 242
	BandgKeyValueRemote4                                 BandgKeyValueConst = 243
	BandgKeyValueRemote5                                 BandgKeyValueConst = 244
	BandgKeyValueRemote6                                 BandgKeyValueConst = 245
	BandgKeyValueRemote7                                 BandgKeyValueConst = 246
	BandgKeyValueRemote8                                 BandgKeyValueConst = 247
	BandgKeyValueRemote9                                 BandgKeyValueConst = 248
	BandgKeyValueLaylineTime                             BandgKeyValueConst = 256
	BandgKeyValueLaylineDistance                         BandgKeyValueConst = 258
	BandgKeyValueLaylineDistanceValue259                 BandgKeyValueConst = 259
	BandgKeyValueSailingTimeToWaypoint                   BandgKeyValueConst = 260
	BandgKeyValueSailingDistanceToWaypoint               BandgKeyValueConst = 261
	BandgKeyValueSailingETA                              BandgKeyValueConst = 262
	BandgKeyValueStartLineLatitude                       BandgKeyValueConst = 263
	BandgKeyValueStartLineLongitude                      BandgKeyValueConst = 264
	BandgKeyValueTripTime                                BandgKeyValueConst = 265
	BandgKeyValueTrip1SpeedMax                           BandgKeyValueConst = 266
	BandgKeyValueTrip2Time                               BandgKeyValueConst = 267
	BandgKeyValueTrip2SpeedMax                           BandgKeyValueConst = 268
	BandgKeyValueTrip2SpeedAvg                           BandgKeyValueConst = 269
	BandgKeyValueBowLatitude                             BandgKeyValueConst = 270
	BandgKeyValueBowLongitude                            BandgKeyValueConst = 271
	BandgKeyValueStartLineBearing                        BandgKeyValueConst = 272
	BandgKeyValueStartLineBias                           BandgKeyValueConst = 273
	BandgKeyValueDistanceToStartLinePort                 BandgKeyValueConst = 274
	BandgKeyValueDistanceToStartLineStarboard            BandgKeyValueConst = 275
	BandgKeyValueStartLinePortLatitude                   BandgKeyValueConst = 276
	BandgKeyValueStartLinePortLongitude                  BandgKeyValueConst = 277
	BandgKeyValueStartLineStarboardLatitude              BandgKeyValueConst = 278
	BandgKeyValueStartLineStarboardLongitude             BandgKeyValueConst = 279
	BandgKeyValueBiasAdvantageInBoatLengths              BandgKeyValueConst = 280
	BandgKeyValueDistanceToStartLineInBoatLengths        BandgKeyValueConst = 281
	BandgKeyValueBackstay                                BandgKeyValueConst = 282
	BandgKeyValueBoomVang                                BandgKeyValueConst = 283
	BandgKeyValueChainLength                             BandgKeyValueConst = 284
	BandgKeyValueVMGPerformance                          BandgKeyValueConst = 285
	BandgKeyValueInnerForestayLoad                       BandgKeyValueConst = 286
	BandgKeyValueInnerForestayHalyardLoad                BandgKeyValueConst = 287
	BandgKeyValueJibFurl                                 BandgKeyValueConst = 288
	BandgKeyValueJibHalyardLoad                          BandgKeyValueConst = 289
	BandgKeyValueOuthaulLoad                             BandgKeyValueConst = 290
	BandgKeyValuePlowAngle                               BandgKeyValueConst = 291
	BandgKeyValueCunningham                              BandgKeyValueConst = 292
	BandgKeyValueJacuzziTemperature                      BandgKeyValueConst = 293
	BandgKeyValuePoolTemperature                         BandgKeyValueConst = 294
	BandgKeyValueKeelDraught                             BandgKeyValueConst = 296
	BandgKeyValueBoomAngle                               BandgKeyValueConst = 297
	BandgKeyValueCodeZeroLoad                            BandgKeyValueConst = 298
	BandgKeyValueMOBLatitude                             BandgKeyValueConst = 299
	BandgKeyValueMOBLongitude                            BandgKeyValueConst = 300
	BandgKeyValueDistanceBehindStartLine                 BandgKeyValueConst = 301
	BandgKeyValueDistanceBehindStartLineInBoatLengths    BandgKeyValueConst = 302
	BandgKeyValueBiasAdvantage                           BandgKeyValueConst = 305
	BandgKeyValueOppositeTackCOG                         BandgKeyValueConst = 306
	BandgKeyValueOppositeTackTargetHeading               BandgKeyValueConst = 307
	BandgKeyValueMastRake                                BandgKeyValueConst = 308
	BandgKeyValueNextLegBearing                          BandgKeyValueConst = 309
	BandgKeyValueNextLegTargetSpeed                      BandgKeyValueConst = 310
	BandgKeyValueGroundWindDirection                     BandgKeyValueConst = 311
	BandgKeyValueGroundWindSpeed                         BandgKeyValueConst = 312
	BandgKeyValueMastCantAngle                           BandgKeyValueConst = 313
	BandgKeyValueRudderToeIn                             BandgKeyValueConst = 314
	BandgKeyValueDaggerboardPort                         BandgKeyValueConst = 315
	BandgKeyValueDaggerboardStarboard                    BandgKeyValueConst = 316
	BandgKeyValueUser17                                  BandgKeyValueConst = 317
	BandgKeyValueUser18                                  BandgKeyValueConst = 318
	BandgKeyValueUser19                                  BandgKeyValueConst = 319
	BandgKeyValueUser20                                  BandgKeyValueConst = 320
	BandgKeyValueUser21                                  BandgKeyValueConst = 321
	BandgKeyValueUser22                                  BandgKeyValueConst = 322
	BandgKeyValueUser23                                  BandgKeyValueConst = 323
	BandgKeyValueUser24                                  BandgKeyValueConst = 324
	BandgKeyValueUser25                                  BandgKeyValueConst = 325
	BandgKeyValueUser26                                  BandgKeyValueConst = 326
	BandgKeyValueUser27                                  BandgKeyValueConst = 327
	BandgKeyValueUser28                                  BandgKeyValueConst = 328
	BandgKeyValueUser29                                  BandgKeyValueConst = 329
	BandgKeyValueUser30                                  BandgKeyValueConst = 330
	BandgKeyValueUser31                                  BandgKeyValueConst = 331
	BandgKeyValueUser32                                  BandgKeyValueConst = 332
	BandgKeyValueAverageTrueWindDirection                BandgKeyValueConst = 336
	BandgKeyValueWindPhase                               BandgKeyValueConst = 337
	BandgKeyValueWindLift                                BandgKeyValueConst = 338
	BandgKeyValueStartLineDistanceToPortBoatLengths      BandgKeyValueConst = 364
	BandgKeyValueStartLineDistanceToStarboardBoatLengths BandgKeyValueConst = 365
	BandgKeyValueActivePerfMode                          BandgKeyValueConst = 380
	BandgKeyValueGustBearAway                            BandgKeyValueConst = 381
	BandgKeyValueTWSBearAway                             BandgKeyValueConst = 382
	BandgKeyValueHeelCompensation                        BandgKeyValueConst = 383
	BandgKeyValuePilotNetCourse                          BandgKeyValueConst = 384
	BandgKeyValuePilotTargetWindAngle                    BandgKeyValueConst = 385
	BandgKeyValuePilotWeatherHelm                        BandgKeyValueConst = 386
	BandgKeyValuePilotMeanHeel                           BandgKeyValueConst = 387
	BandgKeyValueTimeToBurn                              BandgKeyValueConst = 409
	BandgKeyValueMastTwist                               BandgKeyValueConst = 410
	BandgKeyValuePortEndPingTime                         BandgKeyValueConst = 411
	BandgKeyValueStarboardEndPingTime                    BandgKeyValueConst = 412
)

func (BandgKeyValueConst) GoString added in v1.3.0

func (e BandgKeyValueConst) GoString() string

func (BandgKeyValueConst) String added in v1.3.0

func (e BandgKeyValueConst) String() string

type BandwidthConst added in v1.3.0

type BandwidthConst uint8
const (
	BandwidthDefault BandwidthConst = 0
	Bandwidth125KHz  BandwidthConst = 1
)

func (BandwidthConst) GoString added in v1.3.0

func (e BandwidthConst) GoString() string

func (BandwidthConst) String added in v1.3.0

func (e BandwidthConst) String() string

type BatteryChemistryConst

type BatteryChemistryConst uint8
const (
	BatteryChemistryPbLead BatteryChemistryConst = 0
	BatteryChemistryLi     BatteryChemistryConst = 1
	BatteryChemistryNiCd   BatteryChemistryConst = 2
	BatteryChemistryZnO    BatteryChemistryConst = 3
	BatteryChemistryNiMH   BatteryChemistryConst = 4
)

func (BatteryChemistryConst) GoString

func (e BatteryChemistryConst) GoString() string

func (BatteryChemistryConst) String

func (e BatteryChemistryConst) String() string

type BatteryConfigurationStatus

type BatteryConfigurationStatus struct {
	Info                   MessageInfo `json:"info"`
	Instance               *uint64     `json:"instance,omitempty" n2k:"1"`
	BatteryType            *uint64     `json:"batteryType,omitempty" n2k:"2"`
	SupportsEqualization   *uint64     `json:"supportsEqualization,omitempty" n2k:"3"`
	NominalVoltage         *uint64     `json:"nominalVoltage,omitempty" n2k:"5"`
	Chemistry              *uint64     `json:"chemistry,omitempty" n2k:"6"`
	Capacity               *uint64     `json:"capacity,omitempty" n2k:"7"`
	TemperatureCoefficient *int64      `json:"temperatureCoefficient,omitempty" n2k:"8"`
	PeukertExponent        *uint64     `json:"peukertExponent,omitempty" n2k:"9"`
	ChargeEfficiencyFactor *int64      `json:"chargeEfficiencyFactor,omitempty" n2k:"10"`
}

func (*BatteryConfigurationStatus) CapacityValue

func (m *BatteryConfigurationStatus) CapacityValue() (float64, bool)

CapacityValue returns Capacity as a physical value in Ah (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*BatteryConfigurationStatus) ChargeEfficiencyFactorValue

func (m *BatteryConfigurationStatus) ChargeEfficiencyFactorValue() (float64, bool)

ChargeEfficiencyFactorValue returns ChargeEfficiencyFactor as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*BatteryConfigurationStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BatteryConfigurationStatus) DecodePayload

func (m *BatteryConfigurationStatus) DecodePayload(payload []uint8) error

func (*BatteryConfigurationStatus) EncodePayload

func (m *BatteryConfigurationStatus) EncodePayload() ([]uint8, error)

func (*BatteryConfigurationStatus) MessageInfo

func (m *BatteryConfigurationStatus) MessageInfo() MessageInfo

func (*BatteryConfigurationStatus) PGNNumber

func (m *BatteryConfigurationStatus) PGNNumber() uint32

func (*BatteryConfigurationStatus) PeukertExponentValue

func (m *BatteryConfigurationStatus) PeukertExponentValue() (float64, bool)

PeukertExponentValue returns PeukertExponent as a physical value (value = raw * 0.002 + 1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*BatteryConfigurationStatus) SetCapacityValue

func (m *BatteryConfigurationStatus) SetCapacityValue(v float64)

SetCapacityValue sets Capacity from a physical value in Ah, rounded to the nearest wire tick of 1.

func (*BatteryConfigurationStatus) SetChargeEfficiencyFactorValue

func (m *BatteryConfigurationStatus) SetChargeEfficiencyFactorValue(v float64)

SetChargeEfficiencyFactorValue sets ChargeEfficiencyFactor from a physical value in %, rounded to the nearest wire tick of 1.

func (*BatteryConfigurationStatus) SetMessageInfo

func (m *BatteryConfigurationStatus) SetMessageInfo(info MessageInfo)

func (*BatteryConfigurationStatus) SetPeukertExponentValue

func (m *BatteryConfigurationStatus) SetPeukertExponentValue(v float64)

SetPeukertExponentValue sets PeukertExponent from a physical value, rounded to the nearest wire tick of 0.002.

func (*BatteryConfigurationStatus) SetTemperatureCoefficientValue

func (m *BatteryConfigurationStatus) SetTemperatureCoefficientValue(v float64)

SetTemperatureCoefficientValue sets TemperatureCoefficient from a physical value in %, rounded to the nearest wire tick of 1.

func (*BatteryConfigurationStatus) TemperatureCoefficientValue

func (m *BatteryConfigurationStatus) TemperatureCoefficientValue() (float64, bool)

TemperatureCoefficientValue returns TemperatureCoefficient as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type BatteryStatus

type BatteryStatus struct {
	Info        MessageInfo `json:"info"`
	Instance    *uint64     `json:"instance,omitempty" n2k:"1"`
	Voltage     *int64      `json:"voltage,omitempty" n2k:"2"`
	Current     *int64      `json:"current,omitempty" n2k:"3"`
	Temperature *uint64     `json:"temperature,omitempty" n2k:"4"`
	Sid         *uint64     `json:"sid,omitempty" n2k:"5"`
}

func (*BatteryStatus) Clone added in v1.3.0

func (m *BatteryStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BatteryStatus) CurrentValue

func (m *BatteryStatus) CurrentValue() (float64, bool)

CurrentValue returns Current as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*BatteryStatus) DecodePayload

func (m *BatteryStatus) DecodePayload(payload []uint8) error

func (*BatteryStatus) EncodePayload

func (m *BatteryStatus) EncodePayload() ([]uint8, error)

func (*BatteryStatus) MessageInfo

func (m *BatteryStatus) MessageInfo() MessageInfo

func (*BatteryStatus) PGNNumber

func (m *BatteryStatus) PGNNumber() uint32

func (*BatteryStatus) SetCurrentValue

func (m *BatteryStatus) SetCurrentValue(v float64)

SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*BatteryStatus) SetMessageInfo

func (m *BatteryStatus) SetMessageInfo(info MessageInfo)

func (*BatteryStatus) SetTemperatureValue

func (m *BatteryStatus) SetTemperatureValue(v float64)

SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*BatteryStatus) SetVoltageValue

func (m *BatteryStatus) SetVoltageValue(v float64)

SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*BatteryStatus) TemperatureValue

func (m *BatteryStatus) TemperatureValue() (float64, bool)

TemperatureValue returns Temperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*BatteryStatus) VoltageValue

func (m *BatteryStatus) VoltageValue() (float64, bool)

VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type BatteryTypeConst

type BatteryTypeConst uint8
const (
	BatteryTypeFlooded BatteryTypeConst = 0
	BatteryTypeGel     BatteryTypeConst = 1
	BatteryTypeAGM     BatteryTypeConst = 2
)

func (BatteryTypeConst) GoString

func (e BatteryTypeConst) GoString() string

func (BatteryTypeConst) String

func (e BatteryTypeConst) String() string

type BatteryVoltageConst

type BatteryVoltageConst uint8
const (
	BatteryVoltage6V  BatteryVoltageConst = 0
	BatteryVoltage12V BatteryVoltageConst = 1
	BatteryVoltage24V BatteryVoltageConst = 2
	BatteryVoltage32V BatteryVoltageConst = 3
	BatteryVoltage36V BatteryVoltageConst = 4
	BatteryVoltage42V BatteryVoltageConst = 5
	BatteryVoltage48V BatteryVoltageConst = 6
)

func (BatteryVoltageConst) GoString

func (e BatteryVoltageConst) GoString() string

func (BatteryVoltageConst) String

func (e BatteryVoltageConst) String() string

type BearingAndDistanceBetweenTwoMarks

type BearingAndDistanceBetweenTwoMarks struct {
	Info                       MessageInfo `json:"info"`
	Sid                        *uint64     `json:"sid,omitempty" n2k:"1"`
	BearingReference           *uint64     `json:"bearingReference,omitempty" n2k:"2"`
	CalculationType            *uint64     `json:"calculationType,omitempty" n2k:"3"`
	BearingOriginToDestination *uint64     `json:"bearingOriginToDestination,omitempty" n2k:"5"`
	Distance                   *uint64     `json:"distance,omitempty" n2k:"6"`
	OriginMarkType             *uint64     `json:"originMarkType,omitempty" n2k:"7"`
	DestinationMarkType        *uint64     `json:"destinationMarkType,omitempty" n2k:"8"`
	OriginMarkId               *uint64     `json:"originMarkId,omitempty" n2k:"9"`
	DestinationMarkId          *uint64     `json:"destinationMarkId,omitempty" n2k:"10"`
}

func (*BearingAndDistanceBetweenTwoMarks) BearingOriginToDestinationValue

func (m *BearingAndDistanceBetweenTwoMarks) BearingOriginToDestinationValue() (float64, bool)

BearingOriginToDestinationValue returns BearingOriginToDestination as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*BearingAndDistanceBetweenTwoMarks) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BearingAndDistanceBetweenTwoMarks) DecodePayload

func (m *BearingAndDistanceBetweenTwoMarks) DecodePayload(payload []uint8) error

func (*BearingAndDistanceBetweenTwoMarks) DistanceValue

func (m *BearingAndDistanceBetweenTwoMarks) DistanceValue() (float64, bool)

DistanceValue returns Distance as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*BearingAndDistanceBetweenTwoMarks) EncodePayload

func (m *BearingAndDistanceBetweenTwoMarks) EncodePayload() ([]uint8, error)

func (*BearingAndDistanceBetweenTwoMarks) MessageInfo

func (*BearingAndDistanceBetweenTwoMarks) PGNNumber

func (*BearingAndDistanceBetweenTwoMarks) SetBearingOriginToDestinationValue

func (m *BearingAndDistanceBetweenTwoMarks) SetBearingOriginToDestinationValue(v float64)

SetBearingOriginToDestinationValue sets BearingOriginToDestination from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*BearingAndDistanceBetweenTwoMarks) SetDistanceValue

func (m *BearingAndDistanceBetweenTwoMarks) SetDistanceValue(v float64)

SetDistanceValue sets Distance from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*BearingAndDistanceBetweenTwoMarks) SetMessageInfo

func (m *BearingAndDistanceBetweenTwoMarks) SetMessageInfo(info MessageInfo)

type BearingModeConst

type BearingModeConst uint8
const (
	BearingModeGreatCircle BearingModeConst = 0
	BearingModeRhumbline   BearingModeConst = 1
)

func (BearingModeConst) GoString

func (e BearingModeConst) GoString() string

func (BearingModeConst) String

func (e BearingModeConst) String() string

type BepMarineCzone65301

type BepMarineCzone65301 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Field1           *uint64     `json:"field1,omitempty" n2k:"4"`
	Field2           *uint64     `json:"field2,omitempty" n2k:"5"`
	Field3           *uint64     `json:"field3,omitempty" n2k:"6"`
	StatusBitmap     []uint8     `json:"statusBitmap,omitempty" n2k:"7"`
}

func (*BepMarineCzone65301) Clone added in v1.3.0

func (m *BepMarineCzone65301) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzone65301) DecodePayload

func (m *BepMarineCzone65301) DecodePayload(payload []uint8) error

func (*BepMarineCzone65301) EncodePayload

func (m *BepMarineCzone65301) EncodePayload() ([]uint8, error)

func (*BepMarineCzone65301) MessageInfo

func (m *BepMarineCzone65301) MessageInfo() MessageInfo

func (*BepMarineCzone65301) PGNNumber

func (m *BepMarineCzone65301) PGNNumber() uint32

func (*BepMarineCzone65301) SetMessageInfo

func (m *BepMarineCzone65301) SetMessageInfo(info MessageInfo)

type BepMarineCzone130819

type BepMarineCzone130819 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	FieldA           *uint64     `json:"fieldA,omitempty" n2k:"4"`
	FieldB           *uint64     `json:"fieldB,omitempty" n2k:"5"`
	FieldC           *uint64     `json:"fieldC,omitempty" n2k:"6"`
	FieldD           *uint64     `json:"fieldD,omitempty" n2k:"7"`
	FieldE           *uint64     `json:"fieldE,omitempty" n2k:"8"`
	FieldF           *uint64     `json:"fieldF,omitempty" n2k:"9"`
	FieldG           *uint64     `json:"fieldG,omitempty" n2k:"10"`
	Flag             *uint64     `json:"flag,omitempty" n2k:"11"`
}

func (*BepMarineCzone130819) Clone added in v1.3.0

func (m *BepMarineCzone130819) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzone130819) DecodePayload

func (m *BepMarineCzone130819) DecodePayload(payload []uint8) error

func (*BepMarineCzone130819) EncodePayload

func (m *BepMarineCzone130819) EncodePayload() ([]uint8, error)

func (*BepMarineCzone130819) MessageInfo

func (m *BepMarineCzone130819) MessageInfo() MessageInfo

func (*BepMarineCzone130819) PGNNumber

func (m *BepMarineCzone130819) PGNNumber() uint32

func (*BepMarineCzone130819) SetMessageInfo

func (m *BepMarineCzone130819) SetMessageInfo(info MessageInfo)

type BepMarineCzoneAlarm

type BepMarineCzoneAlarm struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	DeviceId         *uint64     `json:"deviceId,omitempty" n2k:"4"`
	Channel          *uint64     `json:"channel,omitempty" n2k:"5"`
	AlarmType        *uint64     `json:"alarmType,omitempty" n2k:"6"`
	SeverityCode     *uint64     `json:"severityCode,omitempty" n2k:"7"`
	StateFlag        *uint64     `json:"stateFlag,omitempty" n2k:"8"`
	AckFlag          *uint64     `json:"ackFlag,omitempty" n2k:"9"`
}

func (*BepMarineCzoneAlarm) Clone added in v1.3.0

func (m *BepMarineCzoneAlarm) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneAlarm) DecodePayload

func (m *BepMarineCzoneAlarm) DecodePayload(payload []uint8) error

func (*BepMarineCzoneAlarm) EncodePayload

func (m *BepMarineCzoneAlarm) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneAlarm) MessageInfo

func (m *BepMarineCzoneAlarm) MessageInfo() MessageInfo

func (*BepMarineCzoneAlarm) PGNNumber

func (m *BepMarineCzoneAlarm) PGNNumber() uint32

func (*BepMarineCzoneAlarm) SetMessageInfo

func (m *BepMarineCzoneAlarm) SetMessageInfo(info MessageInfo)

type BepMarineCzoneAlarmEvent

type BepMarineCzoneAlarmEvent struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Dipswitch        *uint64     `json:"dipswitch,omitempty" n2k:"5"`
}

func (*BepMarineCzoneAlarmEvent) Clone added in v1.3.0

func (m *BepMarineCzoneAlarmEvent) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneAlarmEvent) DecodePayload

func (m *BepMarineCzoneAlarmEvent) DecodePayload(payload []uint8) error

func (*BepMarineCzoneAlarmEvent) EncodePayload

func (m *BepMarineCzoneAlarmEvent) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneAlarmEvent) MessageInfo

func (m *BepMarineCzoneAlarmEvent) MessageInfo() MessageInfo

func (*BepMarineCzoneAlarmEvent) PGNNumber

func (m *BepMarineCzoneAlarmEvent) PGNNumber() uint32

func (*BepMarineCzoneAlarmEvent) SetMessageInfo

func (m *BepMarineCzoneAlarmEvent) SetMessageInfo(info MessageInfo)

type BepMarineCzoneAlarmStringRequest

type BepMarineCzoneAlarmStringRequest struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	DeviceId         *uint64     `json:"deviceId,omitempty" n2k:"4"`
	Channel          *uint64     `json:"channel,omitempty" n2k:"5"`
	Padding          []uint8     `json:"padding,omitempty" n2k:"6"`
}

func (*BepMarineCzoneAlarmStringRequest) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneAlarmStringRequest) DecodePayload

func (m *BepMarineCzoneAlarmStringRequest) DecodePayload(payload []uint8) error

func (*BepMarineCzoneAlarmStringRequest) EncodePayload

func (m *BepMarineCzoneAlarmStringRequest) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneAlarmStringRequest) MessageInfo

func (*BepMarineCzoneAlarmStringRequest) PGNNumber

func (*BepMarineCzoneAlarmStringRequest) SetMessageInfo

func (m *BepMarineCzoneAlarmStringRequest) SetMessageInfo(info MessageInfo)

type BepMarineCzoneAlarmStringResponse

type BepMarineCzoneAlarmStringResponse struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	DeviceId         *uint64     `json:"deviceId,omitempty" n2k:"4"`
	Channel          *uint64     `json:"channel,omitempty" n2k:"5"`
	String           []uint8     `json:"string,omitempty" n2k:"6"`
}

func (*BepMarineCzoneAlarmStringResponse) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneAlarmStringResponse) DecodePayload

func (m *BepMarineCzoneAlarmStringResponse) DecodePayload(payload []uint8) error

func (*BepMarineCzoneAlarmStringResponse) EncodePayload

func (m *BepMarineCzoneAlarmStringResponse) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneAlarmStringResponse) MessageInfo

func (*BepMarineCzoneAlarmStringResponse) PGNNumber

func (*BepMarineCzoneAlarmStringResponse) SetMessageInfo

func (m *BepMarineCzoneAlarmStringResponse) SetMessageInfo(info MessageInfo)

type BepMarineCzoneChannelState

type BepMarineCzoneChannelState struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Dipswitch        *uint64     `json:"dipswitch,omitempty" n2k:"4"`
	Channel0Mode     *uint64     `json:"channel0Mode,omitempty" n2k:"5"`
	Channel1Mode     *uint64     `json:"channel1Mode,omitempty" n2k:"6"`
	Channel2Mode     *uint64     `json:"channel2Mode,omitempty" n2k:"7"`
	Channel3Mode     *uint64     `json:"channel3Mode,omitempty" n2k:"8"`
	Channel4Mode     *uint64     `json:"channel4Mode,omitempty" n2k:"9"`
	Channel5Mode     *uint64     `json:"channel5Mode,omitempty" n2k:"10"`
	Channel0Value    *uint64     `json:"channel0Value,omitempty" n2k:"11"`
	Channel1Value    *uint64     `json:"channel1Value,omitempty" n2k:"12"`
	Channel2Value    *uint64     `json:"channel2Value,omitempty" n2k:"13"`
	Channel3Value    *uint64     `json:"channel3Value,omitempty" n2k:"14"`
	Channel4Value    *uint64     `json:"channel4Value,omitempty" n2k:"15"`
	Channel5Value    *uint64     `json:"channel5Value,omitempty" n2k:"16"`
	Flag             *uint64     `json:"flag,omitempty" n2k:"17"`
}

func (*BepMarineCzoneChannelState) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneChannelState) DecodePayload

func (m *BepMarineCzoneChannelState) DecodePayload(payload []uint8) error

func (*BepMarineCzoneChannelState) EncodePayload

func (m *BepMarineCzoneChannelState) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneChannelState) MessageInfo

func (m *BepMarineCzoneChannelState) MessageInfo() MessageInfo

func (*BepMarineCzoneChannelState) PGNNumber

func (m *BepMarineCzoneChannelState) PGNNumber() uint32

func (*BepMarineCzoneChannelState) SetMessageInfo

func (m *BepMarineCzoneChannelState) SetMessageInfo(info MessageInfo)

type BepMarineCzoneCircuitControl

type BepMarineCzoneCircuitControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	CircuitId        *uint64     `json:"circuitId,omitempty" n2k:"4"`
	FieldB           *uint64     `json:"fieldB,omitempty" n2k:"5"`
	LevelOrValue     *uint64     `json:"levelOrValue,omitempty" n2k:"6"`
	UnknownA         *uint64     `json:"unknownA,omitempty" n2k:"7"`
	CommandActive    *uint64     `json:"commandActive,omitempty" n2k:"8"`
	UnknownB         *uint64     `json:"unknownB,omitempty" n2k:"9"`
	UnknownC         *uint64     `json:"unknownC,omitempty" n2k:"10"`
	UnknownD         *uint64     `json:"unknownD,omitempty" n2k:"11"`
	UnknownE         *uint64     `json:"unknownE,omitempty" n2k:"12"`
	UnknownF         *uint64     `json:"unknownF,omitempty" n2k:"13"`
}

func (*BepMarineCzoneCircuitControl) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneCircuitControl) DecodePayload

func (m *BepMarineCzoneCircuitControl) DecodePayload(payload []uint8) error

func (*BepMarineCzoneCircuitControl) EncodePayload

func (m *BepMarineCzoneCircuitControl) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneCircuitControl) MessageInfo

func (m *BepMarineCzoneCircuitControl) MessageInfo() MessageInfo

func (*BepMarineCzoneCircuitControl) PGNNumber

func (m *BepMarineCzoneCircuitControl) PGNNumber() uint32

func (*BepMarineCzoneCircuitControl) SetMessageInfo

func (m *BepMarineCzoneCircuitControl) SetMessageInfo(info MessageInfo)

type BepMarineCzoneCircuitStatus

type BepMarineCzoneCircuitStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Dipswitch        *uint64     `json:"dipswitch,omitempty" n2k:"4"`
	Type             *uint64     `json:"type,omitempty" n2k:"5"`
	Bitmap           []uint8     `json:"bitmap,omitempty" n2k:"6"`
}

func (*BepMarineCzoneCircuitStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneCircuitStatus) DecodePayload

func (m *BepMarineCzoneCircuitStatus) DecodePayload(payload []uint8) error

func (*BepMarineCzoneCircuitStatus) EncodePayload

func (m *BepMarineCzoneCircuitStatus) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneCircuitStatus) MessageInfo

func (m *BepMarineCzoneCircuitStatus) MessageInfo() MessageInfo

func (*BepMarineCzoneCircuitStatus) PGNNumber

func (m *BepMarineCzoneCircuitStatus) PGNNumber() uint32

func (*BepMarineCzoneCircuitStatus) SetMessageInfo

func (m *BepMarineCzoneCircuitStatus) SetMessageInfo(info MessageInfo)

type BepMarineCzoneModuleAnnounce

type BepMarineCzoneModuleAnnounce struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Unique           *uint64     `json:"unique,omitempty" n2k:"4"`
	FieldB           *uint64     `json:"fieldB,omitempty" n2k:"5"`
	FieldC           *uint64     `json:"fieldC,omitempty" n2k:"6"`
	Dipswitch        *uint64     `json:"dipswitch,omitempty" n2k:"7"`
}

func (*BepMarineCzoneModuleAnnounce) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneModuleAnnounce) DecodePayload

func (m *BepMarineCzoneModuleAnnounce) DecodePayload(payload []uint8) error

func (*BepMarineCzoneModuleAnnounce) EncodePayload

func (m *BepMarineCzoneModuleAnnounce) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneModuleAnnounce) MessageInfo

func (m *BepMarineCzoneModuleAnnounce) MessageInfo() MessageInfo

func (*BepMarineCzoneModuleAnnounce) PGNNumber

func (m *BepMarineCzoneModuleAnnounce) PGNNumber() uint32

func (*BepMarineCzoneModuleAnnounce) SetMessageInfo

func (m *BepMarineCzoneModuleAnnounce) SetMessageInfo(info MessageInfo)

type BepMarineCzoneStatusExtended

type BepMarineCzoneStatusExtended struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Page             *uint64     `json:"page,omitempty" n2k:"4"`
	Dipswitch        *uint64     `json:"dipswitch,omitempty" n2k:"5"`
	Records          []uint8     `json:"records,omitempty" n2k:"6"`
}

func (*BepMarineCzoneStatusExtended) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneStatusExtended) DecodePayload

func (m *BepMarineCzoneStatusExtended) DecodePayload(payload []uint8) error

func (*BepMarineCzoneStatusExtended) EncodePayload

func (m *BepMarineCzoneStatusExtended) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneStatusExtended) MessageInfo

func (m *BepMarineCzoneStatusExtended) MessageInfo() MessageInfo

func (*BepMarineCzoneStatusExtended) PGNNumber

func (m *BepMarineCzoneStatusExtended) PGNNumber() uint32

func (*BepMarineCzoneStatusExtended) SetMessageInfo

func (m *BepMarineCzoneStatusExtended) SetMessageInfo(info MessageInfo)

type BepMarineCzoneZcfBusDistribution

type BepMarineCzoneZcfBusDistribution struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ChunkIndex       *uint64     `json:"chunkIndex,omitempty" n2k:"4"`
	Flag             *uint64     `json:"flag,omitempty" n2k:"5"`
	Data             []uint8     `json:"data,omitempty" n2k:"7"`
}

func (*BepMarineCzoneZcfBusDistribution) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineCzoneZcfBusDistribution) DecodePayload

func (m *BepMarineCzoneZcfBusDistribution) DecodePayload(payload []uint8) error

func (*BepMarineCzoneZcfBusDistribution) EncodePayload

func (m *BepMarineCzoneZcfBusDistribution) EncodePayload() ([]uint8, error)

func (*BepMarineCzoneZcfBusDistribution) MessageInfo

func (*BepMarineCzoneZcfBusDistribution) PGNNumber

func (*BepMarineCzoneZcfBusDistribution) SetMessageInfo

func (m *BepMarineCzoneZcfBusDistribution) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65281

type BepMarineProprietaryPgn65281 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65281) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65281) DecodePayload

func (m *BepMarineProprietaryPgn65281) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65281) EncodePayload

func (m *BepMarineProprietaryPgn65281) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65281) MessageInfo

func (m *BepMarineProprietaryPgn65281) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65281) PGNNumber

func (m *BepMarineProprietaryPgn65281) PGNNumber() uint32

func (*BepMarineProprietaryPgn65281) SetMessageInfo

func (m *BepMarineProprietaryPgn65281) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65294

type BepMarineProprietaryPgn65294 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65294) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65294) DecodePayload

func (m *BepMarineProprietaryPgn65294) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65294) EncodePayload

func (m *BepMarineProprietaryPgn65294) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65294) MessageInfo

func (m *BepMarineProprietaryPgn65294) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65294) PGNNumber

func (m *BepMarineProprietaryPgn65294) PGNNumber() uint32

func (*BepMarineProprietaryPgn65294) SetMessageInfo

func (m *BepMarineProprietaryPgn65294) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65296

type BepMarineProprietaryPgn65296 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65296) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65296) DecodePayload

func (m *BepMarineProprietaryPgn65296) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65296) EncodePayload

func (m *BepMarineProprietaryPgn65296) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65296) MessageInfo

func (m *BepMarineProprietaryPgn65296) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65296) PGNNumber

func (m *BepMarineProprietaryPgn65296) PGNNumber() uint32

func (*BepMarineProprietaryPgn65296) SetMessageInfo

func (m *BepMarineProprietaryPgn65296) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65297

type BepMarineProprietaryPgn65297 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65297) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65297) DecodePayload

func (m *BepMarineProprietaryPgn65297) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65297) EncodePayload

func (m *BepMarineProprietaryPgn65297) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65297) MessageInfo

func (m *BepMarineProprietaryPgn65297) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65297) PGNNumber

func (m *BepMarineProprietaryPgn65297) PGNNumber() uint32

func (*BepMarineProprietaryPgn65297) SetMessageInfo

func (m *BepMarineProprietaryPgn65297) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65300

type BepMarineProprietaryPgn65300 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65300) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65300) DecodePayload

func (m *BepMarineProprietaryPgn65300) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65300) EncodePayload

func (m *BepMarineProprietaryPgn65300) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65300) MessageInfo

func (m *BepMarineProprietaryPgn65300) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65300) PGNNumber

func (m *BepMarineProprietaryPgn65300) PGNNumber() uint32

func (*BepMarineProprietaryPgn65300) SetMessageInfo

func (m *BepMarineProprietaryPgn65300) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65304

type BepMarineProprietaryPgn65304 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65304) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65304) DecodePayload

func (m *BepMarineProprietaryPgn65304) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65304) EncodePayload

func (m *BepMarineProprietaryPgn65304) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65304) MessageInfo

func (m *BepMarineProprietaryPgn65304) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65304) PGNNumber

func (m *BepMarineProprietaryPgn65304) PGNNumber() uint32

func (*BepMarineProprietaryPgn65304) SetMessageInfo

func (m *BepMarineProprietaryPgn65304) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65306

type BepMarineProprietaryPgn65306 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65306) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65306) DecodePayload

func (m *BepMarineProprietaryPgn65306) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65306) EncodePayload

func (m *BepMarineProprietaryPgn65306) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65306) MessageInfo

func (m *BepMarineProprietaryPgn65306) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65306) PGNNumber

func (m *BepMarineProprietaryPgn65306) PGNNumber() uint32

func (*BepMarineProprietaryPgn65306) SetMessageInfo

func (m *BepMarineProprietaryPgn65306) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65308

type BepMarineProprietaryPgn65308 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65308) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65308) DecodePayload

func (m *BepMarineProprietaryPgn65308) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65308) EncodePayload

func (m *BepMarineProprietaryPgn65308) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65308) MessageInfo

func (m *BepMarineProprietaryPgn65308) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65308) PGNNumber

func (m *BepMarineProprietaryPgn65308) PGNNumber() uint32

func (*BepMarineProprietaryPgn65308) SetMessageInfo

func (m *BepMarineProprietaryPgn65308) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65310

type BepMarineProprietaryPgn65310 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65310) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65310) DecodePayload

func (m *BepMarineProprietaryPgn65310) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65310) EncodePayload

func (m *BepMarineProprietaryPgn65310) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65310) MessageInfo

func (m *BepMarineProprietaryPgn65310) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65310) PGNNumber

func (m *BepMarineProprietaryPgn65310) PGNNumber() uint32

func (*BepMarineProprietaryPgn65310) SetMessageInfo

func (m *BepMarineProprietaryPgn65310) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65311

type BepMarineProprietaryPgn65311 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65311) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65311) DecodePayload

func (m *BepMarineProprietaryPgn65311) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65311) EncodePayload

func (m *BepMarineProprietaryPgn65311) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65311) MessageInfo

func (m *BepMarineProprietaryPgn65311) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65311) PGNNumber

func (m *BepMarineProprietaryPgn65311) PGNNumber() uint32

func (*BepMarineProprietaryPgn65311) SetMessageInfo

func (m *BepMarineProprietaryPgn65311) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65314

type BepMarineProprietaryPgn65314 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65314) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65314) DecodePayload

func (m *BepMarineProprietaryPgn65314) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65314) EncodePayload

func (m *BepMarineProprietaryPgn65314) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65314) MessageInfo

func (m *BepMarineProprietaryPgn65314) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65314) PGNNumber

func (m *BepMarineProprietaryPgn65314) PGNNumber() uint32

func (*BepMarineProprietaryPgn65314) SetMessageInfo

func (m *BepMarineProprietaryPgn65314) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65316

type BepMarineProprietaryPgn65316 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65316) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65316) DecodePayload

func (m *BepMarineProprietaryPgn65316) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65316) EncodePayload

func (m *BepMarineProprietaryPgn65316) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65316) MessageInfo

func (m *BepMarineProprietaryPgn65316) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65316) PGNNumber

func (m *BepMarineProprietaryPgn65316) PGNNumber() uint32

func (*BepMarineProprietaryPgn65316) SetMessageInfo

func (m *BepMarineProprietaryPgn65316) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn65325

type BepMarineProprietaryPgn65325 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn65325) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn65325) DecodePayload

func (m *BepMarineProprietaryPgn65325) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn65325) EncodePayload

func (m *BepMarineProprietaryPgn65325) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn65325) MessageInfo

func (m *BepMarineProprietaryPgn65325) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn65325) PGNNumber

func (m *BepMarineProprietaryPgn65325) PGNNumber() uint32

func (*BepMarineProprietaryPgn65325) SetMessageInfo

func (m *BepMarineProprietaryPgn65325) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn130818

type BepMarineProprietaryPgn130818 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn130818) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn130818) DecodePayload

func (m *BepMarineProprietaryPgn130818) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn130818) EncodePayload

func (m *BepMarineProprietaryPgn130818) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn130818) MessageInfo

func (m *BepMarineProprietaryPgn130818) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn130818) PGNNumber

func (m *BepMarineProprietaryPgn130818) PGNNumber() uint32

func (*BepMarineProprietaryPgn130818) SetMessageInfo

func (m *BepMarineProprietaryPgn130818) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn130821

type BepMarineProprietaryPgn130821 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn130821) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn130821) DecodePayload

func (m *BepMarineProprietaryPgn130821) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn130821) EncodePayload

func (m *BepMarineProprietaryPgn130821) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn130821) MessageInfo

func (m *BepMarineProprietaryPgn130821) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn130821) PGNNumber

func (m *BepMarineProprietaryPgn130821) PGNNumber() uint32

func (*BepMarineProprietaryPgn130821) SetMessageInfo

func (m *BepMarineProprietaryPgn130821) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn130822

type BepMarineProprietaryPgn130822 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn130822) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn130822) DecodePayload

func (m *BepMarineProprietaryPgn130822) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn130822) EncodePayload

func (m *BepMarineProprietaryPgn130822) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn130822) MessageInfo

func (m *BepMarineProprietaryPgn130822) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn130822) PGNNumber

func (m *BepMarineProprietaryPgn130822) PGNNumber() uint32

func (*BepMarineProprietaryPgn130822) SetMessageInfo

func (m *BepMarineProprietaryPgn130822) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn130825

type BepMarineProprietaryPgn130825 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn130825) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn130825) DecodePayload

func (m *BepMarineProprietaryPgn130825) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn130825) EncodePayload

func (m *BepMarineProprietaryPgn130825) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn130825) MessageInfo

func (m *BepMarineProprietaryPgn130825) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn130825) PGNNumber

func (m *BepMarineProprietaryPgn130825) PGNNumber() uint32

func (*BepMarineProprietaryPgn130825) SetMessageInfo

func (m *BepMarineProprietaryPgn130825) SetMessageInfo(info MessageInfo)

type BepMarineProprietaryPgn130826

type BepMarineProprietaryPgn130826 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*BepMarineProprietaryPgn130826) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*BepMarineProprietaryPgn130826) DecodePayload

func (m *BepMarineProprietaryPgn130826) DecodePayload(payload []uint8) error

func (*BepMarineProprietaryPgn130826) EncodePayload

func (m *BepMarineProprietaryPgn130826) EncodePayload() ([]uint8, error)

func (*BepMarineProprietaryPgn130826) MessageInfo

func (m *BepMarineProprietaryPgn130826) MessageInfo() MessageInfo

func (*BepMarineProprietaryPgn130826) PGNNumber

func (m *BepMarineProprietaryPgn130826) PGNNumber() uint32

func (*BepMarineProprietaryPgn130826) SetMessageInfo

func (m *BepMarineProprietaryPgn130826) SetMessageInfo(info MessageInfo)

type BinarySwitchBankStatus

type BinarySwitchBankStatus struct {
	Info        MessageInfo `json:"info"`
	Instance    *uint64     `json:"instance,omitempty" n2k:"1"`
	Indicator1  *uint64     `json:"indicator1,omitempty" n2k:"2"`
	Indicator2  *uint64     `json:"indicator2,omitempty" n2k:"3"`
	Indicator3  *uint64     `json:"indicator3,omitempty" n2k:"4"`
	Indicator4  *uint64     `json:"indicator4,omitempty" n2k:"5"`
	Indicator5  *uint64     `json:"indicator5,omitempty" n2k:"6"`
	Indicator6  *uint64     `json:"indicator6,omitempty" n2k:"7"`
	Indicator7  *uint64     `json:"indicator7,omitempty" n2k:"8"`
	Indicator8  *uint64     `json:"indicator8,omitempty" n2k:"9"`
	Indicator9  *uint64     `json:"indicator9,omitempty" n2k:"10"`
	Indicator10 *uint64     `json:"indicator10,omitempty" n2k:"11"`
	Indicator11 *uint64     `json:"indicator11,omitempty" n2k:"12"`
	Indicator12 *uint64     `json:"indicator12,omitempty" n2k:"13"`
	Indicator13 *uint64     `json:"indicator13,omitempty" n2k:"14"`
	Indicator14 *uint64     `json:"indicator14,omitempty" n2k:"15"`
	Indicator15 *uint64     `json:"indicator15,omitempty" n2k:"16"`
	Indicator16 *uint64     `json:"indicator16,omitempty" n2k:"17"`
	Indicator17 *uint64     `json:"indicator17,omitempty" n2k:"18"`
	Indicator18 *uint64     `json:"indicator18,omitempty" n2k:"19"`
	Indicator19 *uint64     `json:"indicator19,omitempty" n2k:"20"`
	Indicator20 *uint64     `json:"indicator20,omitempty" n2k:"21"`
	Indicator21 *uint64     `json:"indicator21,omitempty" n2k:"22"`
	Indicator22 *uint64     `json:"indicator22,omitempty" n2k:"23"`
	Indicator23 *uint64     `json:"indicator23,omitempty" n2k:"24"`
	Indicator24 *uint64     `json:"indicator24,omitempty" n2k:"25"`
	Indicator25 *uint64     `json:"indicator25,omitempty" n2k:"26"`
	Indicator26 *uint64     `json:"indicator26,omitempty" n2k:"27"`
	Indicator27 *uint64     `json:"indicator27,omitempty" n2k:"28"`
	Indicator28 *uint64     `json:"indicator28,omitempty" n2k:"29"`
}

func (*BinarySwitchBankStatus) Clone added in v1.3.0

func (m *BinarySwitchBankStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BinarySwitchBankStatus) DecodePayload

func (m *BinarySwitchBankStatus) DecodePayload(payload []uint8) error

func (*BinarySwitchBankStatus) EncodePayload

func (m *BinarySwitchBankStatus) EncodePayload() ([]uint8, error)

func (*BinarySwitchBankStatus) MessageInfo

func (m *BinarySwitchBankStatus) MessageInfo() MessageInfo

func (*BinarySwitchBankStatus) PGNNumber

func (m *BinarySwitchBankStatus) PGNNumber() uint32

func (*BinarySwitchBankStatus) SetMessageInfo

func (m *BinarySwitchBankStatus) SetMessageInfo(info MessageInfo)

type BluetoothSourceStatus

type BluetoothSourceStatus struct {
	Info             MessageInfo `json:"info"`
	SourceNumber     *uint64     `json:"sourceNumber,omitempty" n2k:"1"`
	Status           *uint64     `json:"status,omitempty" n2k:"2"`
	ForgetDevice     *uint64     `json:"forgetDevice,omitempty" n2k:"3"`
	Discovering      *uint64     `json:"discovering,omitempty" n2k:"4"`
	BluetoothAddress []uint8     `json:"bluetoothAddress,omitempty" n2k:"5"`
}

func (*BluetoothSourceStatus) Clone added in v1.3.0

func (m *BluetoothSourceStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*BluetoothSourceStatus) DecodePayload

func (m *BluetoothSourceStatus) DecodePayload(payload []uint8) error

func (*BluetoothSourceStatus) EncodePayload

func (m *BluetoothSourceStatus) EncodePayload() ([]uint8, error)

func (*BluetoothSourceStatus) MessageInfo

func (m *BluetoothSourceStatus) MessageInfo() MessageInfo

func (*BluetoothSourceStatus) PGNNumber

func (m *BluetoothSourceStatus) PGNNumber() uint32

func (*BluetoothSourceStatus) SetMessageInfo

func (m *BluetoothSourceStatus) SetMessageInfo(info MessageInfo)

type BluetoothSourceStatusConst

type BluetoothSourceStatusConst uint8
const (
	BluetoothSourceStatusReserved     BluetoothSourceStatusConst = 0
	BluetoothSourceStatusConnected    BluetoothSourceStatusConst = 1
	BluetoothSourceStatusConnecting   BluetoothSourceStatusConst = 2
	BluetoothSourceStatusNotConnected BluetoothSourceStatusConst = 3
)

func (BluetoothSourceStatusConst) GoString

func (e BluetoothSourceStatusConst) GoString() string

func (BluetoothSourceStatusConst) String

type BluetoothStatusConst

type BluetoothStatusConst uint8
const (
	BluetoothStatusConnected    BluetoothStatusConst = 0
	BluetoothStatusNotConnected BluetoothStatusConst = 1
	BluetoothStatusNotPaired    BluetoothStatusConst = 2
)

func (BluetoothStatusConst) GoString

func (e BluetoothStatusConst) GoString() string

func (BluetoothStatusConst) String

func (e BluetoothStatusConst) String() string

type BootStateConst

type BootStateConst uint8
const (
	BootStateInStartupMonitor   BootStateConst = 0
	BootStateRunningBootloader  BootStateConst = 1
	BootStateRunningApplication BootStateConst = 2
)

func (BootStateConst) GoString

func (e BootStateConst) GoString() string

func (BootStateConst) String

func (e BootStateConst) String() string

type BroadcastIndicatorConst added in v1.3.0

type BroadcastIndicatorConst uint8
const (
	BroadcastIndicatorBroadcastGeoAreaMessage BroadcastIndicatorConst = 0
	BroadcastIndicatorAddressedMessage        BroadcastIndicatorConst = 1
)

func (BroadcastIndicatorConst) GoString added in v1.3.0

func (e BroadcastIndicatorConst) GoString() string

func (BroadcastIndicatorConst) String added in v1.3.0

func (e BroadcastIndicatorConst) String() string

type Bus1AverageBasicAcQuantities

type Bus1AverageBasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
}

func (*Bus1AverageBasicAcQuantities) AcFrequencyValue

func (m *Bus1AverageBasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1AverageBasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Bus1AverageBasicAcQuantities) DecodePayload

func (m *Bus1AverageBasicAcQuantities) DecodePayload(payload []uint8) error

func (*Bus1AverageBasicAcQuantities) EncodePayload

func (m *Bus1AverageBasicAcQuantities) EncodePayload() ([]uint8, error)

func (*Bus1AverageBasicAcQuantities) LineLineAcRmsVoltageValue

func (m *Bus1AverageBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1AverageBasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *Bus1AverageBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1AverageBasicAcQuantities) MessageInfo

func (m *Bus1AverageBasicAcQuantities) MessageInfo() MessageInfo

func (*Bus1AverageBasicAcQuantities) PGNNumber

func (m *Bus1AverageBasicAcQuantities) PGNNumber() uint32

func (*Bus1AverageBasicAcQuantities) SetAcFrequencyValue

func (m *Bus1AverageBasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*Bus1AverageBasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *Bus1AverageBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*Bus1AverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *Bus1AverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*Bus1AverageBasicAcQuantities) SetMessageInfo

func (m *Bus1AverageBasicAcQuantities) SetMessageInfo(info MessageInfo)

type Bus1PhaseABasicAcQuantities

type Bus1PhaseABasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
}

func (*Bus1PhaseABasicAcQuantities) AcFrequencyValue

func (m *Bus1PhaseABasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1PhaseABasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Bus1PhaseABasicAcQuantities) DecodePayload

func (m *Bus1PhaseABasicAcQuantities) DecodePayload(payload []uint8) error

func (*Bus1PhaseABasicAcQuantities) EncodePayload

func (m *Bus1PhaseABasicAcQuantities) EncodePayload() ([]uint8, error)

func (*Bus1PhaseABasicAcQuantities) LineLineAcRmsVoltageValue

func (m *Bus1PhaseABasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1PhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *Bus1PhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1PhaseABasicAcQuantities) MessageInfo

func (m *Bus1PhaseABasicAcQuantities) MessageInfo() MessageInfo

func (*Bus1PhaseABasicAcQuantities) PGNNumber

func (m *Bus1PhaseABasicAcQuantities) PGNNumber() uint32

func (*Bus1PhaseABasicAcQuantities) SetAcFrequencyValue

func (m *Bus1PhaseABasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*Bus1PhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *Bus1PhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*Bus1PhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *Bus1PhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*Bus1PhaseABasicAcQuantities) SetMessageInfo

func (m *Bus1PhaseABasicAcQuantities) SetMessageInfo(info MessageInfo)

type Bus1PhaseBBasicAcQuantities

type Bus1PhaseBBasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
}

func (*Bus1PhaseBBasicAcQuantities) AcFrequencyValue

func (m *Bus1PhaseBBasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1PhaseBBasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Bus1PhaseBBasicAcQuantities) DecodePayload

func (m *Bus1PhaseBBasicAcQuantities) DecodePayload(payload []uint8) error

func (*Bus1PhaseBBasicAcQuantities) EncodePayload

func (m *Bus1PhaseBBasicAcQuantities) EncodePayload() ([]uint8, error)

func (*Bus1PhaseBBasicAcQuantities) LineLineAcRmsVoltageValue

func (m *Bus1PhaseBBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1PhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *Bus1PhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1PhaseBBasicAcQuantities) MessageInfo

func (m *Bus1PhaseBBasicAcQuantities) MessageInfo() MessageInfo

func (*Bus1PhaseBBasicAcQuantities) PGNNumber

func (m *Bus1PhaseBBasicAcQuantities) PGNNumber() uint32

func (*Bus1PhaseBBasicAcQuantities) SetAcFrequencyValue

func (m *Bus1PhaseBBasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*Bus1PhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *Bus1PhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*Bus1PhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *Bus1PhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*Bus1PhaseBBasicAcQuantities) SetMessageInfo

func (m *Bus1PhaseBBasicAcQuantities) SetMessageInfo(info MessageInfo)

type Bus1PhaseCBasicAcQuantities

type Bus1PhaseCBasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
}

func (*Bus1PhaseCBasicAcQuantities) AcFrequencyValue

func (m *Bus1PhaseCBasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1PhaseCBasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Bus1PhaseCBasicAcQuantities) DecodePayload

func (m *Bus1PhaseCBasicAcQuantities) DecodePayload(payload []uint8) error

func (*Bus1PhaseCBasicAcQuantities) EncodePayload

func (m *Bus1PhaseCBasicAcQuantities) EncodePayload() ([]uint8, error)

func (*Bus1PhaseCBasicAcQuantities) LineLineAcRmsVoltageValue

func (m *Bus1PhaseCBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1PhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *Bus1PhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Bus1PhaseCBasicAcQuantities) MessageInfo

func (m *Bus1PhaseCBasicAcQuantities) MessageInfo() MessageInfo

func (*Bus1PhaseCBasicAcQuantities) PGNNumber

func (m *Bus1PhaseCBasicAcQuantities) PGNNumber() uint32

func (*Bus1PhaseCBasicAcQuantities) SetAcFrequencyValue

func (m *Bus1PhaseCBasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*Bus1PhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *Bus1PhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*Bus1PhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *Bus1PhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*Bus1PhaseCBasicAcQuantities) SetMessageInfo

func (m *Bus1PhaseCBasicAcQuantities) SetMessageInfo(info MessageInfo)

type CarlingBreakerCommand

type CarlingBreakerCommand struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageType      *uint64     `json:"messageType,omitempty" n2k:"4"`
	BreakerMapping1  *uint64     `json:"breakerMapping1,omitempty" n2k:"5"`
	BreakerMapping2  *uint64     `json:"breakerMapping2,omitempty" n2k:"6"`
	BreakerMapping3  *uint64     `json:"breakerMapping3,omitempty" n2k:"8"`
	BreakerCommand   *uint64     `json:"breakerCommand,omitempty" n2k:"9"`
	DimValue         *uint64     `json:"dimValue,omitempty" n2k:"10"`
}

func (*CarlingBreakerCommand) Clone added in v1.3.0

func (m *CarlingBreakerCommand) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*CarlingBreakerCommand) DecodePayload

func (m *CarlingBreakerCommand) DecodePayload(payload []uint8) error

func (*CarlingBreakerCommand) EncodePayload

func (m *CarlingBreakerCommand) EncodePayload() ([]uint8, error)

func (*CarlingBreakerCommand) MessageInfo

func (m *CarlingBreakerCommand) MessageInfo() MessageInfo

func (*CarlingBreakerCommand) PGNNumber

func (m *CarlingBreakerCommand) PGNNumber() uint32

func (*CarlingBreakerCommand) SetMessageInfo

func (m *CarlingBreakerCommand) SetMessageInfo(info MessageInfo)

type CarlingBreakerStatusAndConfiguration

type CarlingBreakerStatusAndConfiguration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageType      *uint64     `json:"messageType,omitempty" n2k:"4"`
	Data             []uint8     `json:"data,omitempty" n2k:"5"`
}

func (*CarlingBreakerStatusAndConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*CarlingBreakerStatusAndConfiguration) DecodePayload

func (m *CarlingBreakerStatusAndConfiguration) DecodePayload(payload []uint8) error

func (*CarlingBreakerStatusAndConfiguration) EncodePayload

func (m *CarlingBreakerStatusAndConfiguration) EncodePayload() ([]uint8, error)

func (*CarlingBreakerStatusAndConfiguration) MessageInfo

func (*CarlingBreakerStatusAndConfiguration) PGNNumber

func (*CarlingBreakerStatusAndConfiguration) SetMessageInfo

func (m *CarlingBreakerStatusAndConfiguration) SetMessageInfo(info MessageInfo)

type CarlingDcConfigurationCommand

type CarlingDcConfigurationCommand struct {
	Info                      MessageInfo `json:"info"`
	ManufacturerCode          *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode              *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageType               *uint64     `json:"messageType,omitempty" n2k:"4"`
	BreakerMapping1           *uint64     `json:"breakerMapping1,omitempty" n2k:"5"`
	BreakerMapping2           *uint64     `json:"breakerMapping2,omitempty" n2k:"6"`
	BreakerMapping3           *uint64     `json:"breakerMapping3,omitempty" n2k:"8"`
	InrushDelay               *uint64     `json:"inrushDelay,omitempty" n2k:"9"`
	TripDelay                 *uint64     `json:"tripDelay,omitempty" n2k:"10"`
	ConfigurationFlags        *uint64     `json:"configurationFlags,omitempty" n2k:"11"`
	CurrentRating             *uint64     `json:"currentRating,omitempty" n2k:"12"`
	FactoryMaxRating          *uint64     `json:"factoryMaxRating,omitempty" n2k:"13"`
	ScheduleBLoadShedPriority *uint64     `json:"scheduleBLoadShedPriority,omitempty" n2k:"14"`
	ScheduleALoadShedPriority *uint64     `json:"scheduleALoadShedPriority,omitempty" n2k:"15"`
	DimValue                  *uint64     `json:"dimValue,omitempty" n2k:"16"`
	BreakerGroup              *uint64     `json:"breakerGroup,omitempty" n2k:"17"`
	FlashMapIndex             *uint64     `json:"flashMapIndex,omitempty" n2k:"18"`
}

func (*CarlingDcConfigurationCommand) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*CarlingDcConfigurationCommand) DecodePayload

func (m *CarlingDcConfigurationCommand) DecodePayload(payload []uint8) error

func (*CarlingDcConfigurationCommand) EncodePayload

func (m *CarlingDcConfigurationCommand) EncodePayload() ([]uint8, error)

func (*CarlingDcConfigurationCommand) MessageInfo

func (m *CarlingDcConfigurationCommand) MessageInfo() MessageInfo

func (*CarlingDcConfigurationCommand) PGNNumber

func (m *CarlingDcConfigurationCommand) PGNNumber() uint32

func (*CarlingDcConfigurationCommand) SetMessageInfo

func (m *CarlingDcConfigurationCommand) SetMessageInfo(info MessageInfo)

type CarlingProprietary

type CarlingProprietary struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*CarlingProprietary) Clone added in v1.3.0

func (m *CarlingProprietary) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*CarlingProprietary) DecodePayload

func (m *CarlingProprietary) DecodePayload(payload []uint8) error

func (*CarlingProprietary) EncodePayload

func (m *CarlingProprietary) EncodePayload() ([]uint8, error)

func (*CarlingProprietary) MessageInfo

func (m *CarlingProprietary) MessageInfo() MessageInfo

func (*CarlingProprietary) PGNNumber

func (m *CarlingProprietary) PGNNumber() uint32

func (*CarlingProprietary) SetMessageInfo

func (m *CarlingProprietary) SetMessageInfo(info MessageInfo)

type CarlingSwitchboardStatus

type CarlingSwitchboardStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageType      *uint64     `json:"messageType,omitempty" n2k:"4"`
	Data             []uint8     `json:"data,omitempty" n2k:"5"`
}

func (*CarlingSwitchboardStatus) Clone added in v1.3.0

func (m *CarlingSwitchboardStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*CarlingSwitchboardStatus) DecodePayload

func (m *CarlingSwitchboardStatus) DecodePayload(payload []uint8) error

func (*CarlingSwitchboardStatus) EncodePayload

func (m *CarlingSwitchboardStatus) EncodePayload() ([]uint8, error)

func (*CarlingSwitchboardStatus) MessageInfo

func (m *CarlingSwitchboardStatus) MessageInfo() MessageInfo

func (*CarlingSwitchboardStatus) PGNNumber

func (m *CarlingSwitchboardStatus) PGNNumber() uint32

func (*CarlingSwitchboardStatus) SetMessageInfo

func (m *CarlingSwitchboardStatus) SetMessageInfo(info MessageInfo)

type CertificationLevelConst added in v1.3.0

type CertificationLevelConst uint8
const (
	CertificationLevelLevelA CertificationLevelConst = 0
	CertificationLevelLevelB CertificationLevelConst = 1
)

func (CertificationLevelConst) GoString added in v1.3.0

func (e CertificationLevelConst) GoString() string

func (CertificationLevelConst) String added in v1.3.0

func (e CertificationLevelConst) String() string

type ChannelSourceConfiguration

type ChannelSourceConfiguration struct {
	Info                            MessageInfo `json:"info"`
	DataSourceChannelId             *uint64     `json:"dataSourceChannelId,omitempty" n2k:"1"`
	SourceSelectionStatus           *uint64     `json:"sourceSelectionStatus,omitempty" n2k:"2"`
	NameSelectionCriteriaMask       []uint8     `json:"nameSelectionCriteriaMask,omitempty" n2k:"4"`
	SourceName                      *uint64     `json:"sourceName,omitempty" n2k:"5"`
	Pgn                             *uint64     `json:"pgn,omitempty" n2k:"6"`
	DataSourceInstanceFieldNumber   *uint64     `json:"dataSourceInstanceFieldNumber,omitempty" n2k:"7"`
	DataSourceInstanceValue         *uint64     `json:"dataSourceInstanceValue,omitempty" n2k:"8"`
	SecondaryEnumerationFieldNumber *uint64     `json:"secondaryEnumerationFieldNumber,omitempty" n2k:"9"`
	SecondaryEnumerationFieldValue  *uint64     `json:"secondaryEnumerationFieldValue,omitempty" n2k:"10"`
	ParameterFieldNumber            *uint64     `json:"parameterFieldNumber,omitempty" n2k:"11"`
}

func (*ChannelSourceConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*ChannelSourceConfiguration) DecodePayload

func (m *ChannelSourceConfiguration) DecodePayload(payload []uint8) error

func (*ChannelSourceConfiguration) EncodePayload

func (m *ChannelSourceConfiguration) EncodePayload() ([]uint8, error)

func (*ChannelSourceConfiguration) MessageInfo

func (m *ChannelSourceConfiguration) MessageInfo() MessageInfo

func (*ChannelSourceConfiguration) PGNNumber

func (m *ChannelSourceConfiguration) PGNNumber() uint32

func (*ChannelSourceConfiguration) SetMessageInfo

func (m *ChannelSourceConfiguration) SetMessageInfo(info MessageInfo)

type ChargerConfigurationStatus

type ChargerConfigurationStatus struct {
	Info                         MessageInfo `json:"info"`
	Instance                     *uint64     `json:"instance,omitempty" n2k:"1"`
	BatteryInstance              *uint64     `json:"batteryInstance,omitempty" n2k:"2"`
	ChargerEnableDisable         *uint64     `json:"chargerEnableDisable,omitempty" n2k:"3"`
	ChargeCurrentLimit           *uint64     `json:"chargeCurrentLimit,omitempty" n2k:"5"`
	ChargingAlgorithm            *uint64     `json:"chargingAlgorithm,omitempty" n2k:"6"`
	ChargerMode                  *uint64     `json:"chargerMode,omitempty" n2k:"7"`
	EstimatedTemperature         *uint64     `json:"estimatedTemperature,omitempty" n2k:"8"`
	EqualizeOneTimeEnableDisable *uint64     `json:"equalizeOneTimeEnableDisable,omitempty" n2k:"9"`
	OverChargeEnableDisable      *uint64     `json:"overChargeEnableDisable,omitempty" n2k:"10"`
	EqualizeTime                 *uint64     `json:"equalizeTime,omitempty" n2k:"11"`
}

func (*ChargerConfigurationStatus) ChargeCurrentLimitValue

func (m *ChargerConfigurationStatus) ChargeCurrentLimitValue() (float64, bool)

ChargeCurrentLimitValue returns ChargeCurrentLimit as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ChargerConfigurationStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*ChargerConfigurationStatus) DecodePayload

func (m *ChargerConfigurationStatus) DecodePayload(payload []uint8) error

func (*ChargerConfigurationStatus) EncodePayload

func (m *ChargerConfigurationStatus) EncodePayload() ([]uint8, error)

func (*ChargerConfigurationStatus) EqualizeTimeValue

func (m *ChargerConfigurationStatus) EqualizeTimeValue() (float64, bool)

EqualizeTimeValue returns EqualizeTime as a physical value in s (value = raw * 60). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ChargerConfigurationStatus) MessageInfo

func (m *ChargerConfigurationStatus) MessageInfo() MessageInfo

func (*ChargerConfigurationStatus) PGNNumber

func (m *ChargerConfigurationStatus) PGNNumber() uint32

func (*ChargerConfigurationStatus) SetChargeCurrentLimitValue

func (m *ChargerConfigurationStatus) SetChargeCurrentLimitValue(v float64)

SetChargeCurrentLimitValue sets ChargeCurrentLimit from a physical value in %, rounded to the nearest wire tick of 1.

func (*ChargerConfigurationStatus) SetEqualizeTimeValue

func (m *ChargerConfigurationStatus) SetEqualizeTimeValue(v float64)

SetEqualizeTimeValue sets EqualizeTime from a physical value in s, rounded to the nearest wire tick of 60.

func (*ChargerConfigurationStatus) SetMessageInfo

func (m *ChargerConfigurationStatus) SetMessageInfo(info MessageInfo)

type ChargerModeConst

type ChargerModeConst uint8
const (
	ChargerModeStandalone ChargerModeConst = 0
	ChargerModePrimary    ChargerModeConst = 1
	ChargerModeSecondary  ChargerModeConst = 2
	ChargerModeEcho       ChargerModeConst = 3
)

func (ChargerModeConst) GoString

func (e ChargerModeConst) GoString() string

func (ChargerModeConst) String

func (e ChargerModeConst) String() string

type ChargerStateConst

type ChargerStateConst uint8
const (
	ChargerStateNotCharging ChargerStateConst = 0
	ChargerStateBulk        ChargerStateConst = 1
	ChargerStateAbsorption  ChargerStateConst = 2
	ChargerStateOvercharge  ChargerStateConst = 3
	ChargerStateEqualise    ChargerStateConst = 4
	ChargerStateFloat       ChargerStateConst = 5
	ChargerStateNoFloat     ChargerStateConst = 6
	ChargerStateConstantVI  ChargerStateConst = 7
	ChargerStateDisabled    ChargerStateConst = 8
	ChargerStateFault       ChargerStateConst = 9
)

func (ChargerStateConst) GoString

func (e ChargerStateConst) GoString() string

func (ChargerStateConst) String

func (e ChargerStateConst) String() string

type ChargerStatus

type ChargerStatus struct {
	Info                      MessageInfo `json:"info"`
	Instance                  *uint64     `json:"instance,omitempty" n2k:"1"`
	BatteryInstance           *uint64     `json:"batteryInstance,omitempty" n2k:"2"`
	OperatingState            *uint64     `json:"operatingState,omitempty" n2k:"3"`
	ChargeMode                *uint64     `json:"chargeMode,omitempty" n2k:"4"`
	Enabled                   *uint64     `json:"enabled,omitempty" n2k:"5"`
	EqualizationPending       *uint64     `json:"equalizationPending,omitempty" n2k:"6"`
	EqualizationTimeRemaining *uint64     `json:"equalizationTimeRemaining,omitempty" n2k:"8"`
}

func (*ChargerStatus) Clone added in v1.3.0

func (m *ChargerStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ChargerStatus) DecodePayload

func (m *ChargerStatus) DecodePayload(payload []uint8) error

func (*ChargerStatus) EncodePayload

func (m *ChargerStatus) EncodePayload() ([]uint8, error)

func (*ChargerStatus) EqualizationTimeRemainingValue

func (m *ChargerStatus) EqualizationTimeRemainingValue() (float64, bool)

EqualizationTimeRemainingValue returns EqualizationTimeRemaining as a physical value in s (value = raw * 60). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ChargerStatus) MessageInfo

func (m *ChargerStatus) MessageInfo() MessageInfo

func (*ChargerStatus) PGNNumber

func (m *ChargerStatus) PGNNumber() uint32

func (*ChargerStatus) SetEqualizationTimeRemainingValue

func (m *ChargerStatus) SetEqualizationTimeRemainingValue(v float64)

SetEqualizationTimeRemainingValue sets EqualizationTimeRemaining from a physical value in s, rounded to the nearest wire tick of 60.

func (*ChargerStatus) SetMessageInfo

func (m *ChargerStatus) SetMessageInfo(info MessageInfo)

type ChargingAlgorithmConst

type ChargingAlgorithmConst uint8
const (
	ChargingAlgorithmTrickle                        ChargingAlgorithmConst = 0
	ChargingAlgorithmConstantVoltageConstantCurrent ChargingAlgorithmConst = 1
	ChargingAlgorithm2StageNoFloat                  ChargingAlgorithmConst = 2
	ChargingAlgorithm3Stage                         ChargingAlgorithmConst = 3
)

func (ChargingAlgorithmConst) GoString

func (e ChargingAlgorithmConst) GoString() string

func (ChargingAlgorithmConst) String

func (e ChargingAlgorithmConst) String() string

type ChetcoDimmer

type ChetcoDimmer struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"4"`
	Dimmer1          *uint64     `json:"dimmer1,omitempty" n2k:"5"`
	Dimmer2          *uint64     `json:"dimmer2,omitempty" n2k:"6"`
	Dimmer3          *uint64     `json:"dimmer3,omitempty" n2k:"7"`
	Dimmer4          *uint64     `json:"dimmer4,omitempty" n2k:"8"`
	Control          *uint64     `json:"control,omitempty" n2k:"9"`
}

func (*ChetcoDimmer) Clone added in v1.3.0

func (m *ChetcoDimmer) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ChetcoDimmer) DecodePayload

func (m *ChetcoDimmer) DecodePayload(payload []uint8) error

func (*ChetcoDimmer) EncodePayload

func (m *ChetcoDimmer) EncodePayload() ([]uint8, error)

func (*ChetcoDimmer) MessageInfo

func (m *ChetcoDimmer) MessageInfo() MessageInfo

func (*ChetcoDimmer) PGNNumber

func (m *ChetcoDimmer) PGNNumber() uint32

func (*ChetcoDimmer) SetMessageInfo

func (m *ChetcoDimmer) SetMessageInfo(info MessageInfo)

type CogSogRapidUpdate

type CogSogRapidUpdate struct {
	Info         MessageInfo `json:"info"`
	Sid          *uint64     `json:"sid,omitempty" n2k:"1"`
	CogReference *uint64     `json:"cogReference,omitempty" n2k:"2"`
	Cog          *uint64     `json:"cog,omitempty" n2k:"4"`
	Sog          *uint64     `json:"sog,omitempty" n2k:"5"`
}

func (*CogSogRapidUpdate) Clone added in v1.3.0

func (m *CogSogRapidUpdate) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*CogSogRapidUpdate) CogValue

func (m *CogSogRapidUpdate) CogValue() (float64, bool)

CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CogSogRapidUpdate) DecodePayload

func (m *CogSogRapidUpdate) DecodePayload(payload []uint8) error

func (*CogSogRapidUpdate) EncodePayload

func (m *CogSogRapidUpdate) EncodePayload() ([]uint8, error)

func (*CogSogRapidUpdate) MessageInfo

func (m *CogSogRapidUpdate) MessageInfo() MessageInfo

func (*CogSogRapidUpdate) PGNNumber

func (m *CogSogRapidUpdate) PGNNumber() uint32

func (*CogSogRapidUpdate) SetCogValue

func (m *CogSogRapidUpdate) SetCogValue(v float64)

SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*CogSogRapidUpdate) SetMessageInfo

func (m *CogSogRapidUpdate) SetMessageInfo(info MessageInfo)

func (*CogSogRapidUpdate) SetSogValue

func (m *CogSogRapidUpdate) SetSogValue(v float64)

SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*CogSogRapidUpdate) SogValue

func (m *CogSogRapidUpdate) SogValue() (float64, bool)

SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type ConfigurationInformation

type ConfigurationInformation struct {
	Info                     MessageInfo `json:"info"`
	InstallationDescription1 string      `json:"installationDescription1,omitempty" n2k:"1"`
	InstallationDescription2 string      `json:"installationDescription2,omitempty" n2k:"2"`
	ManufacturerInformation  string      `json:"manufacturerInformation,omitempty" n2k:"3"`
}

func (*ConfigurationInformation) Clone added in v1.3.0

func (m *ConfigurationInformation) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ConfigurationInformation) DecodePayload

func (m *ConfigurationInformation) DecodePayload(payload []uint8) error

func (*ConfigurationInformation) EncodePayload

func (m *ConfigurationInformation) EncodePayload() ([]uint8, error)

func (*ConfigurationInformation) MessageInfo

func (m *ConfigurationInformation) MessageInfo() MessageInfo

func (*ConfigurationInformation) PGNNumber

func (m *ConfigurationInformation) PGNNumber() uint32

func (*ConfigurationInformation) SetMessageInfo

func (m *ConfigurationInformation) SetMessageInfo(info MessageInfo)

type ControllerStateConst

type ControllerStateConst uint8
const (
	ControllerStateErrorActive  ControllerStateConst = 0
	ControllerStateErrorPassive ControllerStateConst = 1
	ControllerStateBusOff       ControllerStateConst = 2
)

func (ControllerStateConst) GoString

func (e ControllerStateConst) GoString() string

func (ControllerStateConst) String

func (e ControllerStateConst) String() string

type ConverterStateConst

type ConverterStateConst uint8
const (
	ConverterStateOff          ConverterStateConst = 0
	ConverterStateLowPowerMode ConverterStateConst = 1
	ConverterStateFault        ConverterStateConst = 2
	ConverterStateBulk         ConverterStateConst = 3
	ConverterStateAbsorption   ConverterStateConst = 4
	ConverterStateFloat        ConverterStateConst = 5
	ConverterStateStorage      ConverterStateConst = 6
	ConverterStateEqualize     ConverterStateConst = 7
	ConverterStatePassThru     ConverterStateConst = 8
	ConverterStateInverting    ConverterStateConst = 9
	ConverterStateAssisting    ConverterStateConst = 10
)

func (ConverterStateConst) GoString

func (e ConverterStateConst) GoString() string

func (ConverterStateConst) String

func (e ConverterStateConst) String() string

type ConverterStatus

type ConverterStatus struct {
	Info              MessageInfo `json:"info"`
	Sid               *uint64     `json:"sid,omitempty" n2k:"1"`
	ConnectionNumber  *uint64     `json:"connectionNumber,omitempty" n2k:"2"`
	OperatingState    *uint64     `json:"operatingState,omitempty" n2k:"3"`
	TemperatureState  *uint64     `json:"temperatureState,omitempty" n2k:"4"`
	OverloadState     *uint64     `json:"overloadState,omitempty" n2k:"5"`
	LowDcVoltageState *uint64     `json:"lowDcVoltageState,omitempty" n2k:"6"`
	RippleState       *uint64     `json:"rippleState,omitempty" n2k:"7"`
}

func (*ConverterStatus) Clone added in v1.3.0

func (m *ConverterStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ConverterStatus) DecodePayload

func (m *ConverterStatus) DecodePayload(payload []uint8) error

func (*ConverterStatus) EncodePayload

func (m *ConverterStatus) EncodePayload() ([]uint8, error)

func (*ConverterStatus) MessageInfo

func (m *ConverterStatus) MessageInfo() MessageInfo

func (*ConverterStatus) PGNNumber

func (m *ConverterStatus) PGNNumber() uint32

func (*ConverterStatus) SetMessageInfo

func (m *ConverterStatus) SetMessageInfo(info MessageInfo)

type CrossTrackError

type CrossTrackError struct {
	Info                 MessageInfo `json:"info"`
	Sid                  *uint64     `json:"sid,omitempty" n2k:"1"`
	XteMode              *uint64     `json:"xteMode,omitempty" n2k:"2"`
	NavigationTerminated *uint64     `json:"navigationTerminated,omitempty" n2k:"4"`
	Xte                  *int64      `json:"xte,omitempty" n2k:"5"`
}

func (*CrossTrackError) Clone added in v1.3.0

func (m *CrossTrackError) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*CrossTrackError) DecodePayload

func (m *CrossTrackError) DecodePayload(payload []uint8) error

func (*CrossTrackError) EncodePayload

func (m *CrossTrackError) EncodePayload() ([]uint8, error)

func (*CrossTrackError) MessageInfo

func (m *CrossTrackError) MessageInfo() MessageInfo

func (*CrossTrackError) PGNNumber

func (m *CrossTrackError) PGNNumber() uint32

func (*CrossTrackError) SetMessageInfo

func (m *CrossTrackError) SetMessageInfo(info MessageInfo)

func (*CrossTrackError) SetXteValue

func (m *CrossTrackError) SetXteValue(v float64)

SetXteValue sets Xte from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*CrossTrackError) XteValue

func (m *CrossTrackError) XteValue() (float64, bool)

XteValue returns Xte as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type CurrentStationData

type CurrentStationData struct {
	Info                 MessageInfo `json:"info"`
	Mode                 *uint64     `json:"mode,omitempty" n2k:"1"`
	State                *uint64     `json:"state,omitempty" n2k:"2"`
	MeasurementDate      *uint64     `json:"measurementDate,omitempty" n2k:"4"`
	MeasurementTime      *uint64     `json:"measurementTime,omitempty" n2k:"5"`
	StationLatitude      *int64      `json:"stationLatitude,omitempty" n2k:"6"`
	StationLongitude     *int64      `json:"stationLongitude,omitempty" n2k:"7"`
	MeasurementDepth     *uint64     `json:"measurementDepth,omitempty" n2k:"8"`
	CurrentSpeed         *uint64     `json:"currentSpeed,omitempty" n2k:"9"`
	CurrentFlowDirection *uint64     `json:"currentFlowDirection,omitempty" n2k:"10"`
	WaterTemperature     *uint64     `json:"waterTemperature,omitempty" n2k:"11"`
	StationId            string      `json:"stationId,omitempty" n2k:"12"`
	StationName          string      `json:"stationName,omitempty" n2k:"13"`
}

func (*CurrentStationData) Clone added in v1.3.0

func (m *CurrentStationData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*CurrentStationData) CurrentFlowDirectionValue

func (m *CurrentStationData) CurrentFlowDirectionValue() (float64, bool)

CurrentFlowDirectionValue returns CurrentFlowDirection as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStationData) CurrentSpeedValue

func (m *CurrentStationData) CurrentSpeedValue() (float64, bool)

CurrentSpeedValue returns CurrentSpeed as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStationData) DecodePayload

func (m *CurrentStationData) DecodePayload(payload []uint8) error

func (*CurrentStationData) EncodePayload

func (m *CurrentStationData) EncodePayload() ([]uint8, error)

func (*CurrentStationData) MeasurementDateValue

func (m *CurrentStationData) MeasurementDateValue() (float64, bool)

MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStationData) MeasurementDepthValue

func (m *CurrentStationData) MeasurementDepthValue() (float64, bool)

MeasurementDepthValue returns MeasurementDepth as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStationData) MeasurementTimeValue

func (m *CurrentStationData) MeasurementTimeValue() (float64, bool)

MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStationData) MessageInfo

func (m *CurrentStationData) MessageInfo() MessageInfo

func (*CurrentStationData) PGNNumber

func (m *CurrentStationData) PGNNumber() uint32

func (*CurrentStationData) SetCurrentFlowDirectionValue

func (m *CurrentStationData) SetCurrentFlowDirectionValue(v float64)

SetCurrentFlowDirectionValue sets CurrentFlowDirection from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*CurrentStationData) SetCurrentSpeedValue

func (m *CurrentStationData) SetCurrentSpeedValue(v float64)

SetCurrentSpeedValue sets CurrentSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*CurrentStationData) SetMeasurementDateValue

func (m *CurrentStationData) SetMeasurementDateValue(v float64)

SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*CurrentStationData) SetMeasurementDepthValue

func (m *CurrentStationData) SetMeasurementDepthValue(v float64)

SetMeasurementDepthValue sets MeasurementDepth from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*CurrentStationData) SetMeasurementTimeValue

func (m *CurrentStationData) SetMeasurementTimeValue(v float64)

SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*CurrentStationData) SetMessageInfo

func (m *CurrentStationData) SetMessageInfo(info MessageInfo)

func (*CurrentStationData) SetStationLatitudeValue

func (m *CurrentStationData) SetStationLatitudeValue(v float64)

SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*CurrentStationData) SetStationLongitudeValue

func (m *CurrentStationData) SetStationLongitudeValue(v float64)

SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*CurrentStationData) SetWaterTemperatureValue

func (m *CurrentStationData) SetWaterTemperatureValue(v float64)

SetWaterTemperatureValue sets WaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*CurrentStationData) StationLatitudeValue

func (m *CurrentStationData) StationLatitudeValue() (float64, bool)

StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStationData) StationLongitudeValue

func (m *CurrentStationData) StationLongitudeValue() (float64, bool)

StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStationData) WaterTemperatureValue

func (m *CurrentStationData) WaterTemperatureValue() (float64, bool)

WaterTemperatureValue returns WaterTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type CurrentStatusAndFile

type CurrentStatusAndFile struct {
	Info                 MessageInfo `json:"info"`
	Zone                 *uint64     `json:"zone,omitempty" n2k:"1"`
	Source               *uint64     `json:"source,omitempty" n2k:"2"`
	Number               *uint64     `json:"number,omitempty" n2k:"3"`
	Id                   *uint64     `json:"id,omitempty" n2k:"4"`
	PlayStatus           *uint64     `json:"playStatus,omitempty" n2k:"5"`
	ElapsedTrackTime     *uint64     `json:"elapsedTrackTime,omitempty" n2k:"6"`
	TrackTime            *uint64     `json:"trackTime,omitempty" n2k:"7"`
	RepeatStatus         *uint64     `json:"repeatStatus,omitempty" n2k:"8"`
	ShuffleStatus        *uint64     `json:"shuffleStatus,omitempty" n2k:"9"`
	SaveFavoriteNumber   *uint64     `json:"saveFavoriteNumber,omitempty" n2k:"10"`
	PlayFavoriteNumber   *uint64     `json:"playFavoriteNumber,omitempty" n2k:"11"`
	ThumbsUpDown         *uint64     `json:"thumbsUpDown,omitempty" n2k:"12"`
	SignalStrength       *uint64     `json:"signalStrength,omitempty" n2k:"13"`
	RadioFrequency       *uint64     `json:"radioFrequency,omitempty" n2k:"14"`
	HdFrequencyMulticast *uint64     `json:"hdFrequencyMulticast,omitempty" n2k:"15"`
	DeleteFavoriteNumber *uint64     `json:"deleteFavoriteNumber,omitempty" n2k:"16"`
	TotalNumberOfTracks  *uint64     `json:"totalNumberOfTracks,omitempty" n2k:"17"`
}

func (*CurrentStatusAndFile) Clone added in v1.3.0

func (m *CurrentStatusAndFile) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*CurrentStatusAndFile) DecodePayload

func (m *CurrentStatusAndFile) DecodePayload(payload []uint8) error

func (*CurrentStatusAndFile) ElapsedTrackTimeValue

func (m *CurrentStatusAndFile) ElapsedTrackTimeValue() (float64, bool)

ElapsedTrackTimeValue returns ElapsedTrackTime as a physical value in s (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStatusAndFile) EncodePayload

func (m *CurrentStatusAndFile) EncodePayload() ([]uint8, error)

func (*CurrentStatusAndFile) MessageInfo

func (m *CurrentStatusAndFile) MessageInfo() MessageInfo

func (*CurrentStatusAndFile) PGNNumber

func (m *CurrentStatusAndFile) PGNNumber() uint32

func (*CurrentStatusAndFile) RadioFrequencyValue

func (m *CurrentStatusAndFile) RadioFrequencyValue() (float64, bool)

RadioFrequencyValue returns RadioFrequency as a physical value in Hz (value = raw * 10). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStatusAndFile) SetElapsedTrackTimeValue

func (m *CurrentStatusAndFile) SetElapsedTrackTimeValue(v float64)

SetElapsedTrackTimeValue sets ElapsedTrackTime from a physical value in s, rounded to the nearest wire tick of 1.

func (*CurrentStatusAndFile) SetMessageInfo

func (m *CurrentStatusAndFile) SetMessageInfo(info MessageInfo)

func (*CurrentStatusAndFile) SetRadioFrequencyValue

func (m *CurrentStatusAndFile) SetRadioFrequencyValue(v float64)

SetRadioFrequencyValue sets RadioFrequency from a physical value in Hz, rounded to the nearest wire tick of 10.

func (*CurrentStatusAndFile) SetSignalStrengthValue

func (m *CurrentStatusAndFile) SetSignalStrengthValue(v float64)

SetSignalStrengthValue sets SignalStrength from a physical value in %, rounded to the nearest wire tick of 1.

func (*CurrentStatusAndFile) SetTrackTimeValue

func (m *CurrentStatusAndFile) SetTrackTimeValue(v float64)

SetTrackTimeValue sets TrackTime from a physical value in s, rounded to the nearest wire tick of 1.

func (*CurrentStatusAndFile) SignalStrengthValue

func (m *CurrentStatusAndFile) SignalStrengthValue() (float64, bool)

SignalStrengthValue returns SignalStrength as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*CurrentStatusAndFile) TrackTimeValue

func (m *CurrentStatusAndFile) TrackTimeValue() (float64, bool)

TrackTimeValue returns TrackTime as a physical value in s (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type CzoneAlarmTypeConst added in v1.3.0

type CzoneAlarmTypeConst uint16
const (
	CzoneAlarmTypeACVoltageError                   CzoneAlarmTypeConst = 1
	CzoneAlarmTypeACFrequencyError                 CzoneAlarmTypeConst = 2
	CzoneAlarmTypeACHighPower                      CzoneAlarmTypeConst = 3
	CzoneAlarmTypeDCLowVoltage                     CzoneAlarmTypeConst = 4
	CzoneAlarmTypeDCVeryLowVoltage                 CzoneAlarmTypeConst = 5
	CzoneAlarmTypeDCHighVoltage                    CzoneAlarmTypeConst = 6
	CzoneAlarmTypeDCLowBatteryCapacity             CzoneAlarmTypeConst = 7
	CzoneAlarmTypeOutOfRange                       CzoneAlarmTypeConst = 10
	CzoneAlarmTypeLowRunCurrent                    CzoneAlarmTypeConst = 11
	CzoneAlarmTypeOverCurrent                      CzoneAlarmTypeConst = 12
	CzoneAlarmTypeShortCircuit                     CzoneAlarmTypeConst = 13
	CzoneAlarmTypeMissingCommander                 CzoneAlarmTypeConst = 14
	CzoneAlarmTypeReverseCurrent                   CzoneAlarmTypeConst = 15
	CzoneAlarmTypeCalibrationError                 CzoneAlarmTypeConst = 16
	CzoneAlarmTypeMissingOutput                    CzoneAlarmTypeConst = 17
	CzoneAlarmTypeSystemsOn                        CzoneAlarmTypeConst = 18
	CzoneAlarmTypeACVeryHighPower                  CzoneAlarmTypeConst = 19
	CzoneAlarmTypeACLowPower                       CzoneAlarmTypeConst = 20
	CzoneAlarmTypeDCVeryLowBatteryCapacity         CzoneAlarmTypeConst = 21
	CzoneAlarmTypeBatteryFull                      CzoneAlarmTypeConst = 22
	CzoneAlarmTypeDCLoadShedLow                    CzoneAlarmTypeConst = 23
	CzoneAlarmTypeDCLoadShedVeryLow                CzoneAlarmTypeConst = 24
	CzoneAlarmTypeACLoadShedLow                    CzoneAlarmTypeConst = 25
	CzoneAlarmTypeACLoadShedVeryLow                CzoneAlarmTypeConst = 26
	CzoneAlarmTypeReversePolarity                  CzoneAlarmTypeConst = 27
	CzoneAlarmTypeManualOverride                   CzoneAlarmTypeConst = 28
	CzoneAlarmTypeMastervolt                       CzoneAlarmTypeConst = 29
	CzoneAlarmTypeHardwareFault                    CzoneAlarmTypeConst = 30
	CzoneAlarmTypeNoACSupply                       CzoneAlarmTypeConst = 31
	CzoneAlarmTypePGNSwitchingOn                   CzoneAlarmTypeConst = 34
	CzoneAlarmTypeLowCanbusVoltage                 CzoneAlarmTypeConst = 35
	CzoneAlarmTypeBlownFuse                        CzoneAlarmTypeConst = 36
	CzoneAlarmTypeManualBypass                     CzoneAlarmTypeConst = 37
	CzoneAlarmTypeGenericAlarm                     CzoneAlarmTypeConst = 38
	CzoneAlarmTypeBatteryTemperatureAlarm          CzoneAlarmTypeConst = 39
	CzoneAlarmTypeTemperatureSensorError           CzoneAlarmTypeConst = 40
	CzoneAlarmTypeACINOutOfRange                   CzoneAlarmTypeConst = 41
	CzoneAlarmTypeDeviceInOverload                 CzoneAlarmTypeConst = 42
	CzoneAlarmTypeHighTemperature                  CzoneAlarmTypeConst = 43
	CzoneAlarmTypeInverterChargerInstallationError CzoneAlarmTypeConst = 44
	CzoneAlarmTypeInverterInstallationError        CzoneAlarmTypeConst = 45
	CzoneAlarmTypeChargerInstallationError         CzoneAlarmTypeConst = 46
	CzoneAlarmTypeCableVoltageDropTooHigh          CzoneAlarmTypeConst = 47
	CzoneAlarmTypeShuntMistmatch                   CzoneAlarmTypeConst = 48
	CzoneAlarmTypeCoolingFanError                  CzoneAlarmTypeConst = 49
	CzoneAlarmTypeMastershuntFuseBlown             CzoneAlarmTypeConst = 50
	CzoneAlarmTypeHighTemperatureValue51           CzoneAlarmTypeConst = 51
	CzoneAlarmTypeOverPressure                     CzoneAlarmTypeConst = 52
	CzoneAlarmTypeLowPressure                      CzoneAlarmTypeConst = 53
	CzoneAlarmTypeRapidDeflation                   CzoneAlarmTypeConst = 54
	CzoneAlarmTypeInverterChargerOverTemperature   CzoneAlarmTypeConst = 55
	CzoneAlarmTypeConfirmOn                        CzoneAlarmTypeConst = 56
	CzoneAlarmTypeBatterySafety                    CzoneAlarmTypeConst = 57
	CzoneAlarmTypeStopCharging                     CzoneAlarmTypeConst = 58
	CzoneAlarmTypeCheckBatteryRelay                CzoneAlarmTypeConst = 59
	CzoneAlarmTypeBatteryHardwareFailure           CzoneAlarmTypeConst = 60
	CzoneAlarmTypeBatteryOverCurrent               CzoneAlarmTypeConst = 61
	CzoneAlarmTypeBatteryTemperatureLow            CzoneAlarmTypeConst = 62
	CzoneAlarmTypeBatteryTemperatureHigh           CzoneAlarmTypeConst = 63
	CzoneAlarmTypeBatteryLast100                   CzoneAlarmTypeConst = 64
)

func (CzoneAlarmTypeConst) GoString added in v1.3.0

func (e CzoneAlarmTypeConst) GoString() string

func (CzoneAlarmTypeConst) String added in v1.3.0

func (e CzoneAlarmTypeConst) String() string

type Datum

type Datum struct {
	Info           MessageInfo `json:"info"`
	LocalDatum     string      `json:"localDatum,omitempty" n2k:"1"`
	DeltaLatitude  *int64      `json:"deltaLatitude,omitempty" n2k:"2"`
	DeltaLongitude *int64      `json:"deltaLongitude,omitempty" n2k:"3"`
	DeltaAltitude  *int64      `json:"deltaAltitude,omitempty" n2k:"4"`
	ReferenceDatum string      `json:"referenceDatum,omitempty" n2k:"5"`
}

func (*Datum) Clone added in v1.3.0

func (m *Datum) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Datum) DecodePayload

func (m *Datum) DecodePayload(payload []uint8) error

func (*Datum) DeltaAltitudeValue

func (m *Datum) DeltaAltitudeValue() (float64, bool)

DeltaAltitudeValue returns DeltaAltitude as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Datum) DeltaLatitudeValue

func (m *Datum) DeltaLatitudeValue() (float64, bool)

DeltaLatitudeValue returns DeltaLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Datum) DeltaLongitudeValue

func (m *Datum) DeltaLongitudeValue() (float64, bool)

DeltaLongitudeValue returns DeltaLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Datum) EncodePayload

func (m *Datum) EncodePayload() ([]uint8, error)

func (*Datum) MessageInfo

func (m *Datum) MessageInfo() MessageInfo

func (*Datum) PGNNumber

func (m *Datum) PGNNumber() uint32

func (*Datum) SetDeltaAltitudeValue

func (m *Datum) SetDeltaAltitudeValue(v float64)

SetDeltaAltitudeValue sets DeltaAltitude from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*Datum) SetDeltaLatitudeValue

func (m *Datum) SetDeltaLatitudeValue(v float64)

SetDeltaLatitudeValue sets DeltaLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*Datum) SetDeltaLongitudeValue

func (m *Datum) SetDeltaLongitudeValue(v float64)

SetDeltaLongitudeValue sets DeltaLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*Datum) SetMessageInfo

func (m *Datum) SetMessageInfo(info MessageInfo)

type DcDetailedStatus

type DcDetailedStatus struct {
	Info              MessageInfo `json:"info"`
	Sid               *uint64     `json:"sid,omitempty" n2k:"1"`
	Instance          *uint64     `json:"instance,omitempty" n2k:"2"`
	DcType            *uint64     `json:"dcType,omitempty" n2k:"3"`
	StateOfCharge     *uint64     `json:"stateOfCharge,omitempty" n2k:"4"`
	StateOfHealth     *uint64     `json:"stateOfHealth,omitempty" n2k:"5"`
	TimeRemaining     *uint64     `json:"timeRemaining,omitempty" n2k:"6"`
	RippleVoltage     *uint64     `json:"rippleVoltage,omitempty" n2k:"7"`
	RemainingCapacity *uint64     `json:"remainingCapacity,omitempty" n2k:"8"`
}

func (*DcDetailedStatus) Clone added in v1.3.0

func (m *DcDetailedStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*DcDetailedStatus) DecodePayload

func (m *DcDetailedStatus) DecodePayload(payload []uint8) error

func (*DcDetailedStatus) EncodePayload

func (m *DcDetailedStatus) EncodePayload() ([]uint8, error)

func (*DcDetailedStatus) MessageInfo

func (m *DcDetailedStatus) MessageInfo() MessageInfo

func (*DcDetailedStatus) PGNNumber

func (m *DcDetailedStatus) PGNNumber() uint32

func (*DcDetailedStatus) RemainingCapacityValue

func (m *DcDetailedStatus) RemainingCapacityValue() (float64, bool)

RemainingCapacityValue returns RemainingCapacity as a physical value in Ah (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DcDetailedStatus) RippleVoltageValue

func (m *DcDetailedStatus) RippleVoltageValue() (float64, bool)

RippleVoltageValue returns RippleVoltage as a physical value in V (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DcDetailedStatus) SetMessageInfo

func (m *DcDetailedStatus) SetMessageInfo(info MessageInfo)

func (*DcDetailedStatus) SetRemainingCapacityValue

func (m *DcDetailedStatus) SetRemainingCapacityValue(v float64)

SetRemainingCapacityValue sets RemainingCapacity from a physical value in Ah, rounded to the nearest wire tick of 1.

func (*DcDetailedStatus) SetRippleVoltageValue

func (m *DcDetailedStatus) SetRippleVoltageValue(v float64)

SetRippleVoltageValue sets RippleVoltage from a physical value in V, rounded to the nearest wire tick of 0.001.

func (*DcDetailedStatus) SetStateOfChargeValue

func (m *DcDetailedStatus) SetStateOfChargeValue(v float64)

SetStateOfChargeValue sets StateOfCharge from a physical value in %, rounded to the nearest wire tick of 1.

func (*DcDetailedStatus) SetStateOfHealthValue

func (m *DcDetailedStatus) SetStateOfHealthValue(v float64)

SetStateOfHealthValue sets StateOfHealth from a physical value in %, rounded to the nearest wire tick of 1.

func (*DcDetailedStatus) SetTimeRemainingValue

func (m *DcDetailedStatus) SetTimeRemainingValue(v float64)

SetTimeRemainingValue sets TimeRemaining from a physical value in s, rounded to the nearest wire tick of 60.

func (*DcDetailedStatus) StateOfChargeValue

func (m *DcDetailedStatus) StateOfChargeValue() (float64, bool)

StateOfChargeValue returns StateOfCharge as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DcDetailedStatus) StateOfHealthValue

func (m *DcDetailedStatus) StateOfHealthValue() (float64, bool)

StateOfHealthValue returns StateOfHealth as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DcDetailedStatus) TimeRemainingValue

func (m *DcDetailedStatus) TimeRemainingValue() (float64, bool)

TimeRemainingValue returns TimeRemaining as a physical value in s (value = raw * 60). The bool is false for absent, sentinel, or out-of-range measurements.

type DcSourceConst

type DcSourceConst uint8
const (
	DcSourceBattery       DcSourceConst = 0
	DcSourceAlternator    DcSourceConst = 1
	DcSourceConvertor     DcSourceConst = 2
	DcSourceSolarCell     DcSourceConst = 3
	DcSourceWindGenerator DcSourceConst = 4
)

func (DcSourceConst) GoString

func (e DcSourceConst) GoString() string

func (DcSourceConst) String

func (e DcSourceConst) String() string

type DcVoltageCurrent

type DcVoltageCurrent struct {
	Info             MessageInfo `json:"info"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"1"`
	ConnectionNumber *uint64     `json:"connectionNumber,omitempty" n2k:"2"`
	DcVoltage        *uint64     `json:"dcVoltage,omitempty" n2k:"3"`
	DcCurrent        *int64      `json:"dcCurrent,omitempty" n2k:"4"`
}

func (*DcVoltageCurrent) Clone added in v1.3.0

func (m *DcVoltageCurrent) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*DcVoltageCurrent) DcCurrentValue

func (m *DcVoltageCurrent) DcCurrentValue() (float64, bool)

DcCurrentValue returns DcCurrent as a physical value in A (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DcVoltageCurrent) DcVoltageValue

func (m *DcVoltageCurrent) DcVoltageValue() (float64, bool)

DcVoltageValue returns DcVoltage as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DcVoltageCurrent) DecodePayload

func (m *DcVoltageCurrent) DecodePayload(payload []uint8) error

func (*DcVoltageCurrent) EncodePayload

func (m *DcVoltageCurrent) EncodePayload() ([]uint8, error)

func (*DcVoltageCurrent) MessageInfo

func (m *DcVoltageCurrent) MessageInfo() MessageInfo

func (*DcVoltageCurrent) PGNNumber

func (m *DcVoltageCurrent) PGNNumber() uint32

func (*DcVoltageCurrent) SetDcCurrentValue

func (m *DcVoltageCurrent) SetDcCurrentValue(v float64)

SetDcCurrentValue sets DcCurrent from a physical value in A, rounded to the nearest wire tick of 0.01.

func (*DcVoltageCurrent) SetDcVoltageValue

func (m *DcVoltageCurrent) SetDcVoltageValue(v float64)

SetDcVoltageValue sets DcVoltage from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*DcVoltageCurrent) SetMessageInfo

func (m *DcVoltageCurrent) SetMessageInfo(info MessageInfo)

type DeviceClassConst

type DeviceClassConst uint8
const (
	DeviceClassReservedFor2000Use               DeviceClassConst = 0
	DeviceClassSystemTools                      DeviceClassConst = 10
	DeviceClassSafetySystems                    DeviceClassConst = 20
	DeviceClassInternetworkDevice               DeviceClassConst = 25
	DeviceClassElectricalDistribution           DeviceClassConst = 30
	DeviceClassElectricalGeneration             DeviceClassConst = 35
	DeviceClassSteeringAndControlSurfaces       DeviceClassConst = 40
	DeviceClassPropulsion                       DeviceClassConst = 50
	DeviceClassNavigation                       DeviceClassConst = 60
	DeviceClassCommunication                    DeviceClassConst = 70
	DeviceClassSensorCommunicationInterface     DeviceClassConst = 75
	DeviceClassInstrumentationGeneralSystems    DeviceClassConst = 80
	DeviceClassExternalEnvironment              DeviceClassConst = 85
	DeviceClassInternalEnvironment              DeviceClassConst = 90
	DeviceClassDeckCargoFishingEquipmentSystems DeviceClassConst = 100
	DeviceClassHumanInterface                   DeviceClassConst = 110
	DeviceClassDisplay                          DeviceClassConst = 120
	DeviceClassEntertainment                    DeviceClassConst = 125
)

func (DeviceClassConst) GoString

func (e DeviceClassConst) GoString() string

func (DeviceClassConst) String

func (e DeviceClassConst) String() string

type DeviceFunctionConst

type DeviceFunctionConst uint16
const (
	DeviceFunctionDiagnosticClass10                                  DeviceFunctionConst = 2690
	DeviceFunctionBusTrafficLoggerClass10                            DeviceFunctionConst = 2700
	DeviceFunctionAlarmEnunciatorClass20                             DeviceFunctionConst = 5230
	DeviceFunctionEmergencyPositionIndicatingRadioBeaconEPIRBClass20 DeviceFunctionConst = 5250
	DeviceFunctionManOverboardClass20                                DeviceFunctionConst = 5255
	DeviceFunctionVoyageDataRecorderClass20                          DeviceFunctionConst = 5260
	DeviceFunctionCameraClass20                                      DeviceFunctionConst = 5270
	DeviceFunctionPCGatewayClass25                                   DeviceFunctionConst = 6530
	DeviceFunctionNMEA2000ToAnalogGatewayClass25                     DeviceFunctionConst = 6531
	DeviceFunctionAnalogToNMEA2000GatewayClass25                     DeviceFunctionConst = 6532
	DeviceFunctionNMEA2000ToSerialGatewayClass25                     DeviceFunctionConst = 6533
	DeviceFunctionNMEA0183GatewayClass25                             DeviceFunctionConst = 6535
	DeviceFunctionNMEANetworkGatewayClass25                          DeviceFunctionConst = 6536
	DeviceFunctionNMEA2000WirelessGatewayClass25                     DeviceFunctionConst = 6537
	DeviceFunctionRouterClass25                                      DeviceFunctionConst = 6540
	DeviceFunctionBridgeClass25                                      DeviceFunctionConst = 6550
	DeviceFunctionRepeaterClass25                                    DeviceFunctionConst = 6560
	DeviceFunctionBinaryEventMonitorClass30                          DeviceFunctionConst = 7810
	DeviceFunctionLoadControllerClass30                              DeviceFunctionConst = 7820
	DeviceFunctionACDCInputClass30                                   DeviceFunctionConst = 7821
	DeviceFunctionFunctionControllerClass30                          DeviceFunctionConst = 7830
	DeviceFunctionEngineClass35                                      DeviceFunctionConst = 9100
	DeviceFunctionDCGeneratorAlternatorClass35                       DeviceFunctionConst = 9101
	DeviceFunctionSolarPanelSolarArrayClass35                        DeviceFunctionConst = 9102
	DeviceFunctionWindGeneratorDCClass35                             DeviceFunctionConst = 9103
	DeviceFunctionFuelCellClass35                                    DeviceFunctionConst = 9104
	DeviceFunctionNetworkPowerSupplyClass35                          DeviceFunctionConst = 9105
	DeviceFunctionACGeneratorClass35                                 DeviceFunctionConst = 9111
	DeviceFunctionACBusClass35                                       DeviceFunctionConst = 9112
	DeviceFunctionACMainsUtilityShoreClass35                         DeviceFunctionConst = 9113
	DeviceFunctionACOutputClass35                                    DeviceFunctionConst = 9114
	DeviceFunctionPowerConverterBatteryChargerClass35                DeviceFunctionConst = 9120
	DeviceFunctionPowerConverterBatteryChargerInverterClass35        DeviceFunctionConst = 9121
	DeviceFunctionPowerConverterInverterClass35                      DeviceFunctionConst = 9122
	DeviceFunctionPowerConverterDCClass35                            DeviceFunctionConst = 9123
	DeviceFunctionBatteryClass35                                     DeviceFunctionConst = 9130
	DeviceFunctionEngineGatewayClass35                               DeviceFunctionConst = 9140
	DeviceFunctionFollowUpControllerClass40                          DeviceFunctionConst = 10370
	DeviceFunctionModeControllerClass40                              DeviceFunctionConst = 10380
	DeviceFunctionAutopilotClass40                                   DeviceFunctionConst = 10390
	DeviceFunctionRudderClass40                                      DeviceFunctionConst = 10395
	DeviceFunctionHeadingSensorsClass40                              DeviceFunctionConst = 10400
	DeviceFunctionTrimTabsInterceptorsClass40                        DeviceFunctionConst = 10410
	DeviceFunctionAttitudePitchRollYawControlClass40                 DeviceFunctionConst = 10420
	DeviceFunctionEngineroomMonitoringClass50                        DeviceFunctionConst = 12930
	DeviceFunctionEngineClass50                                      DeviceFunctionConst = 12940
	DeviceFunctionDCGeneratorAlternatorClass50                       DeviceFunctionConst = 12941
	DeviceFunctionEngineControllerClass50                            DeviceFunctionConst = 12950
	DeviceFunctionACGeneratorClass50                                 DeviceFunctionConst = 12951
	DeviceFunctionMotorClass50                                       DeviceFunctionConst = 12955
	DeviceFunctionEngineGatewayClass50                               DeviceFunctionConst = 12960
	DeviceFunctionTransmissionClass50                                DeviceFunctionConst = 12965
	DeviceFunctionThrottleShiftControlClass50                        DeviceFunctionConst = 12970
	DeviceFunctionActuatorClass50                                    DeviceFunctionConst = 12980
	DeviceFunctionGaugeInterfaceClass50                              DeviceFunctionConst = 12990
	DeviceFunctionGaugeLargeClass50                                  DeviceFunctionConst = 13000
	DeviceFunctionGaugeSmallClass50                                  DeviceFunctionConst = 13010
	DeviceFunctionBottomDepthClass60                                 DeviceFunctionConst = 15490
	DeviceFunctionBottomDepthSpeedClass60                            DeviceFunctionConst = 15495
	DeviceFunctionBottomDepthSpeedTemperatureClass60                 DeviceFunctionConst = 15496
	DeviceFunctionOwnshipAttitudeClass60                             DeviceFunctionConst = 15500
	DeviceFunctionOwnshipPositionGNSSClass60                         DeviceFunctionConst = 15505
	DeviceFunctionOwnshipPositionLoranCClass60                       DeviceFunctionConst = 15510
	DeviceFunctionSpeedClass60                                       DeviceFunctionConst = 15515
	DeviceFunctionTurnRateIndicatorClass60                           DeviceFunctionConst = 15520
	DeviceFunctionIntegratedNavigationClass60                        DeviceFunctionConst = 15530
	DeviceFunctionIntegratedNavigationSystemClass60                  DeviceFunctionConst = 15535
	DeviceFunctionNavigationManagementClass60                        DeviceFunctionConst = 15550
	DeviceFunctionAutomaticIdentificationSystemAISClass60            DeviceFunctionConst = 15555
	DeviceFunctionRadarClass60                                       DeviceFunctionConst = 15560
	DeviceFunctionInfraredImagingClass60                             DeviceFunctionConst = 15561
	DeviceFunctionECDISClass60                                       DeviceFunctionConst = 15565
	DeviceFunctionECSClass60                                         DeviceFunctionConst = 15570
	DeviceFunctionDirectionFinderClass60                             DeviceFunctionConst = 15580
	DeviceFunctionVoyageStatusClass60                                DeviceFunctionConst = 15590
	DeviceFunctionEPIRBClass70                                       DeviceFunctionConst = 18050
	DeviceFunctionAISClass70                                         DeviceFunctionConst = 18060
	DeviceFunctionDSCClass70                                         DeviceFunctionConst = 18070
	DeviceFunctionDataReceiverTransceiverClass70                     DeviceFunctionConst = 18080
	DeviceFunctionSatelliteClass70                                   DeviceFunctionConst = 18090
	DeviceFunctionRadioTelephoneMFHFClass70                          DeviceFunctionConst = 18100
	DeviceFunctionRadiotelephoneClass70                              DeviceFunctionConst = 18110
	DeviceFunctionTemperatureClass75                                 DeviceFunctionConst = 19330
	DeviceFunctionPressureClass75                                    DeviceFunctionConst = 19340
	DeviceFunctionFluidLevelClass75                                  DeviceFunctionConst = 19350
	DeviceFunctionFlowClass75                                        DeviceFunctionConst = 19360
	DeviceFunctionHumidityClass75                                    DeviceFunctionConst = 19370
	DeviceFunctionTimeDateSystemsClass80                             DeviceFunctionConst = 20610
	DeviceFunctionVDRClass80                                         DeviceFunctionConst = 20620
	DeviceFunctionIntegratedInstrumentationClass80                   DeviceFunctionConst = 20630
	DeviceFunctionGeneralPurposeDisplaysClass80                      DeviceFunctionConst = 20640
	DeviceFunctionGeneralSensorBoxClass80                            DeviceFunctionConst = 20650
	DeviceFunctionWeatherInstrumentsClass80                          DeviceFunctionConst = 20660
	DeviceFunctionTransducerGeneralClass80                           DeviceFunctionConst = 20670
	DeviceFunctionNMEA0183ConverterClass80                           DeviceFunctionConst = 20680
	DeviceFunctionAtmosphericClass85                                 DeviceFunctionConst = 21890
	DeviceFunctionAquaticClass85                                     DeviceFunctionConst = 21920
	DeviceFunctionHVACClass90                                        DeviceFunctionConst = 23170
	DeviceFunctionScaleCatchClass100                                 DeviceFunctionConst = 25730
	DeviceFunctionButtonInterfaceClass110                            DeviceFunctionConst = 28290
	DeviceFunctionSwitchInterfaceClass110                            DeviceFunctionConst = 28295
	DeviceFunctionAnalogInterfaceClass110                            DeviceFunctionConst = 28300
	DeviceFunctionDisplayClass120                                    DeviceFunctionConst = 30850
	DeviceFunctionAlarmEnunciatorClass120                            DeviceFunctionConst = 30860
	DeviceFunctionMultimediaPlayerClass125                           DeviceFunctionConst = 32130
	DeviceFunctionMultimediaControllerClass125                       DeviceFunctionConst = 32140
)

func (DeviceFunctionConst) GoString added in v1.3.0

func (e DeviceFunctionConst) GoString() string

func (DeviceFunctionConst) String added in v1.3.0

func (e DeviceFunctionConst) String() string

type DeviceTempStateConst

type DeviceTempStateConst uint8
const (
	DeviceTempStateCold DeviceTempStateConst = 0
	DeviceTempStateWarm DeviceTempStateConst = 1
	DeviceTempStateHot  DeviceTempStateConst = 2
)

func (DeviceTempStateConst) GoString

func (e DeviceTempStateConst) GoString() string

func (DeviceTempStateConst) String

func (e DeviceTempStateConst) String() string

type DgnssCorrections

type DgnssCorrections struct {
	Info                 MessageInfo `json:"info"`
	Sid                  *uint64     `json:"sid,omitempty" n2k:"1"`
	ReferenceStationId   *uint64     `json:"referenceStationId,omitempty" n2k:"2"`
	ReferenceStationType *uint64     `json:"referenceStationType,omitempty" n2k:"3"`
	TimeOfCorrections    *uint64     `json:"timeOfCorrections,omitempty" n2k:"4"`
	StationHealth        *uint64     `json:"stationHealth,omitempty" n2k:"5"`
	SatelliteId          *uint64     `json:"satelliteId,omitempty" n2k:"7"`
	Prc                  *int64      `json:"prc,omitempty" n2k:"8"`
	Rrc                  *int64      `json:"rrc,omitempty" n2k:"9"`
	Udre                 *uint64     `json:"udre,omitempty" n2k:"10"`
	Iod                  *uint64     `json:"iod,omitempty" n2k:"11"`
}

func (*DgnssCorrections) Clone added in v1.3.0

func (m *DgnssCorrections) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*DgnssCorrections) DecodePayload

func (m *DgnssCorrections) DecodePayload(payload []uint8) error

func (*DgnssCorrections) EncodePayload

func (m *DgnssCorrections) EncodePayload() ([]uint8, error)

func (*DgnssCorrections) MessageInfo

func (m *DgnssCorrections) MessageInfo() MessageInfo

func (*DgnssCorrections) PGNNumber

func (m *DgnssCorrections) PGNNumber() uint32

func (*DgnssCorrections) PrcValue

func (m *DgnssCorrections) PrcValue() (float64, bool)

PrcValue returns Prc as a physical value in m (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DgnssCorrections) RrcValue

func (m *DgnssCorrections) RrcValue() (float64, bool)

RrcValue returns Rrc as a physical value in m/s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DgnssCorrections) SetMessageInfo

func (m *DgnssCorrections) SetMessageInfo(info MessageInfo)

func (*DgnssCorrections) SetPrcValue

func (m *DgnssCorrections) SetPrcValue(v float64)

SetPrcValue sets Prc from a physical value in m, rounded to the nearest wire tick of 0.0001.

func (*DgnssCorrections) SetRrcValue

func (m *DgnssCorrections) SetRrcValue(v float64)

SetRrcValue sets Rrc from a physical value in m/s, rounded to the nearest wire tick of 0.0001.

func (*DgnssCorrections) SetTimeOfCorrectionsValue

func (m *DgnssCorrections) SetTimeOfCorrectionsValue(v float64)

SetTimeOfCorrectionsValue sets TimeOfCorrections from a physical value in s, rounded to the nearest wire tick of 0.1.

func (*DgnssCorrections) SetUdreValue

func (m *DgnssCorrections) SetUdreValue(v float64)

SetUdreValue sets Udre from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*DgnssCorrections) TimeOfCorrectionsValue

func (m *DgnssCorrections) TimeOfCorrectionsValue() (float64, bool)

TimeOfCorrectionsValue returns TimeOfCorrections as a physical value in s (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DgnssCorrections) UdreValue

func (m *DgnssCorrections) UdreValue() (float64, bool)

UdreValue returns Udre as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type DgnssModeConst

type DgnssModeConst uint8
const (
	DgnssModeNone            DgnssModeConst = 0
	DgnssModeSBASIfAvailable DgnssModeConst = 1
	DgnssModeSBAS            DgnssModeConst = 3
)

func (DgnssModeConst) GoString

func (e DgnssModeConst) GoString() string

func (DgnssModeConst) String

func (e DgnssModeConst) String() string

type DifferentialModeConst added in v1.3.0

type DifferentialModeConst uint8
const (
	DifferentialModeManual    DifferentialModeConst = 0
	DifferentialModeAutoPower DifferentialModeConst = 1
	DifferentialModeAutoRange DifferentialModeConst = 2
)

func (DifferentialModeConst) GoString added in v1.3.0

func (e DifferentialModeConst) GoString() string

func (DifferentialModeConst) String added in v1.3.0

func (e DifferentialModeConst) String() string

type DifferentialSourceConst added in v1.3.0

type DifferentialSourceConst uint8
const (
	DifferentialSourceAuto             DifferentialSourceConst = 0
	DifferentialSourceLoran            DifferentialSourceConst = 1
	DifferentialSourceMSKBeacon        DifferentialSourceConst = 2
	DifferentialSourceFMSubcarrier     DifferentialSourceConst = 3
	DifferentialSourceAIS              DifferentialSourceConst = 4
	DifferentialSourceGroundBasedRadio DifferentialSourceConst = 5
	DifferentialSourceSBAS             DifferentialSourceConst = 6
	DifferentialSourceSatellite        DifferentialSourceConst = 7
)

func (DifferentialSourceConst) GoString added in v1.3.0

func (e DifferentialSourceConst) GoString() string

func (DifferentialSourceConst) String added in v1.3.0

func (e DifferentialSourceConst) String() string

type DirectionConst

type DirectionConst uint8
const (
	DirectionForward DirectionConst = 0
	DirectionReverse DirectionConst = 1
)

func (DirectionConst) GoString

func (e DirectionConst) GoString() string

func (DirectionConst) String

func (e DirectionConst) String() string

type DirectionData

type DirectionData struct {
	Info              MessageInfo `json:"info"`
	DataMode          *uint64     `json:"dataMode,omitempty" n2k:"1"`
	CogReference      *uint64     `json:"cogReference,omitempty" n2k:"2"`
	Sid               *uint64     `json:"sid,omitempty" n2k:"4"`
	Cog               *uint64     `json:"cog,omitempty" n2k:"5"`
	Sog               *uint64     `json:"sog,omitempty" n2k:"6"`
	Heading           *uint64     `json:"heading,omitempty" n2k:"7"`
	SpeedThroughWater *uint64     `json:"speedThroughWater,omitempty" n2k:"8"`
	Set               *uint64     `json:"set,omitempty" n2k:"9"`
	Drift             *uint64     `json:"drift,omitempty" n2k:"10"`
}

func (*DirectionData) Clone added in v1.3.0

func (m *DirectionData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*DirectionData) CogValue

func (m *DirectionData) CogValue() (float64, bool)

CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DirectionData) DecodePayload

func (m *DirectionData) DecodePayload(payload []uint8) error

func (*DirectionData) DriftValue

func (m *DirectionData) DriftValue() (float64, bool)

DriftValue returns Drift as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DirectionData) EncodePayload

func (m *DirectionData) EncodePayload() ([]uint8, error)

func (*DirectionData) HeadingValue

func (m *DirectionData) HeadingValue() (float64, bool)

HeadingValue returns Heading as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DirectionData) MessageInfo

func (m *DirectionData) MessageInfo() MessageInfo

func (*DirectionData) PGNNumber

func (m *DirectionData) PGNNumber() uint32

func (*DirectionData) SetCogValue

func (m *DirectionData) SetCogValue(v float64)

SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*DirectionData) SetDriftValue

func (m *DirectionData) SetDriftValue(v float64)

SetDriftValue sets Drift from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*DirectionData) SetHeadingValue

func (m *DirectionData) SetHeadingValue(v float64)

SetHeadingValue sets Heading from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*DirectionData) SetMessageInfo

func (m *DirectionData) SetMessageInfo(info MessageInfo)

func (*DirectionData) SetSetValue

func (m *DirectionData) SetSetValue(v float64)

SetSetValue sets Set from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*DirectionData) SetSogValue

func (m *DirectionData) SetSogValue(v float64)

SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*DirectionData) SetSpeedThroughWaterValue

func (m *DirectionData) SetSpeedThroughWaterValue(v float64)

SetSpeedThroughWaterValue sets SpeedThroughWater from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*DirectionData) SetValue

func (m *DirectionData) SetValue() (float64, bool)

SetValue returns Set as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DirectionData) SogValue

func (m *DirectionData) SogValue() (float64, bool)

SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DirectionData) SpeedThroughWaterValue

func (m *DirectionData) SpeedThroughWaterValue() (float64, bool)

SpeedThroughWaterValue returns SpeedThroughWater as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type DirectionReferenceConst

type DirectionReferenceConst uint8
const (
	DirectionReferenceTrue     DirectionReferenceConst = 0
	DirectionReferenceMagnetic DirectionReferenceConst = 1
	DirectionReferenceError    DirectionReferenceConst = 2
)

func (DirectionReferenceConst) GoString

func (e DirectionReferenceConst) GoString() string

func (DirectionReferenceConst) String

func (e DirectionReferenceConst) String() string

type DirectionRudderConst

type DirectionRudderConst uint8
const (
	DirectionRudderNoOrder         DirectionRudderConst = 0
	DirectionRudderMoveToStarboard DirectionRudderConst = 1
	DirectionRudderMoveToPort      DirectionRudderConst = 2
)

func (DirectionRudderConst) GoString

func (e DirectionRudderConst) GoString() string

func (DirectionRudderConst) String

func (e DirectionRudderConst) String() string

type DisabledSatellitesConst added in v1.3.0

type DisabledSatellitesConst uint64
const (
	DisabledSatellitesDisableSV1  DisabledSatellitesConst = 1
	DisabledSatellitesDisableSV2  DisabledSatellitesConst = 2
	DisabledSatellitesDisableSV3  DisabledSatellitesConst = 4
	DisabledSatellitesDisableSV4  DisabledSatellitesConst = 8
	DisabledSatellitesDisableSV5  DisabledSatellitesConst = 16
	DisabledSatellitesDisableSV6  DisabledSatellitesConst = 32
	DisabledSatellitesDisableSV7  DisabledSatellitesConst = 64
	DisabledSatellitesDisableSV8  DisabledSatellitesConst = 128
	DisabledSatellitesDisableSV9  DisabledSatellitesConst = 256
	DisabledSatellitesDisableSV10 DisabledSatellitesConst = 512
	DisabledSatellitesDisableSV11 DisabledSatellitesConst = 1024
	DisabledSatellitesDisableSV12 DisabledSatellitesConst = 2048
	DisabledSatellitesDisableSV13 DisabledSatellitesConst = 4096
	DisabledSatellitesDisableSV14 DisabledSatellitesConst = 8192
	DisabledSatellitesDisableSV15 DisabledSatellitesConst = 16384
	DisabledSatellitesDisableSV16 DisabledSatellitesConst = 32768
	DisabledSatellitesDisableSV17 DisabledSatellitesConst = 65536
	DisabledSatellitesDisableSV18 DisabledSatellitesConst = 131072
	DisabledSatellitesDisableSV19 DisabledSatellitesConst = 262144
	DisabledSatellitesDisableSV20 DisabledSatellitesConst = 524288
	DisabledSatellitesDisableSV21 DisabledSatellitesConst = 1048576
	DisabledSatellitesDisableSV22 DisabledSatellitesConst = 2097152
	DisabledSatellitesDisableSV23 DisabledSatellitesConst = 4194304
	DisabledSatellitesDisableSV24 DisabledSatellitesConst = 8388608
	DisabledSatellitesDisableSV25 DisabledSatellitesConst = 16777216
	DisabledSatellitesDisableSV26 DisabledSatellitesConst = 33554432
	DisabledSatellitesDisableSV27 DisabledSatellitesConst = 67108864
	DisabledSatellitesDisableSV28 DisabledSatellitesConst = 134217728
	DisabledSatellitesDisableSV29 DisabledSatellitesConst = 268435456
	DisabledSatellitesDisableSV30 DisabledSatellitesConst = 536870912
	DisabledSatellitesDisableSV31 DisabledSatellitesConst = 1073741824
	DisabledSatellitesDisableSV32 DisabledSatellitesConst = 2147483648
	DisabledSatellitesDisableSV33 DisabledSatellitesConst = 4294967296
	DisabledSatellitesDisableSV34 DisabledSatellitesConst = 8589934592
	DisabledSatellitesDisableSV35 DisabledSatellitesConst = 17179869184
	DisabledSatellitesDisableSV36 DisabledSatellitesConst = 34359738368
	DisabledSatellitesDisableSV37 DisabledSatellitesConst = 68719476736
	DisabledSatellitesDisableSV38 DisabledSatellitesConst = 137438953472
	DisabledSatellitesDisableSV39 DisabledSatellitesConst = 274877906944
	DisabledSatellitesDisableSV40 DisabledSatellitesConst = 549755813888
)

func (DisabledSatellitesConst) GoString added in v1.3.0

func (e DisabledSatellitesConst) GoString() string

func (DisabledSatellitesConst) String added in v1.3.0

func (e DisabledSatellitesConst) String() string

type DistanceLog

type DistanceLog struct {
	Info    MessageInfo `json:"info"`
	Date    *uint64     `json:"date,omitempty" n2k:"1"`
	Time    *uint64     `json:"time,omitempty" n2k:"2"`
	Log     *uint64     `json:"log,omitempty" n2k:"3"`
	TripLog *uint64     `json:"tripLog,omitempty" n2k:"4"`
}

func (*DistanceLog) Clone added in v1.3.0

func (m *DistanceLog) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*DistanceLog) DateValue

func (m *DistanceLog) DateValue() (float64, bool)

DateValue returns Date as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DistanceLog) DecodePayload

func (m *DistanceLog) DecodePayload(payload []uint8) error

func (*DistanceLog) EncodePayload

func (m *DistanceLog) EncodePayload() ([]uint8, error)

func (*DistanceLog) LogValue

func (m *DistanceLog) LogValue() (float64, bool)

LogValue returns Log as a physical value in m (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DistanceLog) MessageInfo

func (m *DistanceLog) MessageInfo() MessageInfo

func (*DistanceLog) PGNNumber

func (m *DistanceLog) PGNNumber() uint32

func (*DistanceLog) SetDateValue

func (m *DistanceLog) SetDateValue(v float64)

SetDateValue sets Date from a physical value in d, rounded to the nearest wire tick of 1.

func (*DistanceLog) SetLogValue

func (m *DistanceLog) SetLogValue(v float64)

SetLogValue sets Log from a physical value in m, rounded to the nearest wire tick of 1.

func (*DistanceLog) SetMessageInfo

func (m *DistanceLog) SetMessageInfo(info MessageInfo)

func (*DistanceLog) SetTimeValue

func (m *DistanceLog) SetTimeValue(v float64)

SetTimeValue sets Time from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*DistanceLog) SetTripLogValue

func (m *DistanceLog) SetTripLogValue(v float64)

SetTripLogValue sets TripLog from a physical value in m, rounded to the nearest wire tick of 1.

func (*DistanceLog) TimeValue

func (m *DistanceLog) TimeValue() (float64, bool)

TimeValue returns Time as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DistanceLog) TripLogValue

func (m *DistanceLog) TripLogValue() (float64, bool)

TripLogValue returns TripLog as a physical value in m (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type DiverseYachtServicesLoadCell

type DiverseYachtServicesLoadCell struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"4"`
	LoadCell         *uint64     `json:"loadCell,omitempty" n2k:"6"`
}

func (*DiverseYachtServicesLoadCell) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*DiverseYachtServicesLoadCell) DecodePayload

func (m *DiverseYachtServicesLoadCell) DecodePayload(payload []uint8) error

func (*DiverseYachtServicesLoadCell) EncodePayload

func (m *DiverseYachtServicesLoadCell) EncodePayload() ([]uint8, error)

func (*DiverseYachtServicesLoadCell) MessageInfo

func (m *DiverseYachtServicesLoadCell) MessageInfo() MessageInfo

func (*DiverseYachtServicesLoadCell) PGNNumber

func (m *DiverseYachtServicesLoadCell) PGNNumber() uint32

func (*DiverseYachtServicesLoadCell) SetMessageInfo

func (m *DiverseYachtServicesLoadCell) SetMessageInfo(info MessageInfo)

type DockingStatusConst

type DockingStatusConst uint8
const (
	DockingStatusNotDocked   DockingStatusConst = 0
	DockingStatusFullyDocked DockingStatusConst = 1
)

func (DockingStatusConst) GoString

func (e DockingStatusConst) GoString() string

func (DockingStatusConst) String

func (e DockingStatusConst) String() string

type DscCallInformation

type DscCallInformation struct {
	Info                                        MessageInfo                    `json:"info"`
	DscFormatSymbol                             *uint64                        `json:"dscFormatSymbol,omitempty" n2k:"1"`
	DscCategorySymbol                           *uint64                        `json:"dscCategorySymbol,omitempty" n2k:"2"`
	DscMessageAddress                           *uint64                        `json:"dscMessageAddress,omitempty" n2k:"3"`
	Pgn1stTelecommand                           *uint64                        `json:"1stTelecommand,omitempty" n2k:"4"`
	SubsequentCommunicationModeOr2ndTelecommand *uint64                        `json:"subsequentCommunicationModeOr2ndTelecommand,omitempty" n2k:"5"`
	ProposedRxFrequencyChannel                  string                         `json:"proposedRxFrequencyChannel,omitempty" n2k:"6"`
	ProposedTxFrequencyChannel                  string                         `json:"proposedTxFrequencyChannel,omitempty" n2k:"7"`
	TelephoneNumber                             string                         `json:"telephoneNumber,omitempty" n2k:"8"`
	LatitudeOfVesselReported                    *int64                         `json:"latitudeOfVesselReported,omitempty" n2k:"9"`
	LongitudeOfVesselReported                   *int64                         `json:"longitudeOfVesselReported,omitempty" n2k:"10"`
	TimeOfPosition                              *uint64                        `json:"timeOfPosition,omitempty" n2k:"11"`
	MmsiOfShipInDistress                        *uint64                        `json:"mmsiOfShipInDistress,omitempty" n2k:"12"`
	DscEosSymbol                                *uint64                        `json:"dscEosSymbol,omitempty" n2k:"13"`
	ExpansionEnabled                            *uint64                        `json:"expansionEnabled,omitempty" n2k:"14"`
	CallingRxFrequencyChannel                   string                         `json:"callingRxFrequencyChannel,omitempty" n2k:"16"`
	CallingTxFrequencyChannel                   string                         `json:"callingTxFrequencyChannel,omitempty" n2k:"17"`
	TimeOfReceipt                               *uint64                        `json:"timeOfReceipt,omitempty" n2k:"18"`
	DateOfReceipt                               *uint64                        `json:"dateOfReceipt,omitempty" n2k:"19"`
	DscEquipmentAssignedMessageId               *uint64                        `json:"dscEquipmentAssignedMessageId,omitempty" n2k:"20"`
	Repeating1                                  []DscCallInformationRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*DscCallInformation) Clone added in v1.3.0

func (m *DscCallInformation) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*DscCallInformation) DateOfReceiptValue

func (m *DscCallInformation) DateOfReceiptValue() (float64, bool)

DateOfReceiptValue returns DateOfReceipt as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DscCallInformation) DecodePayload

func (m *DscCallInformation) DecodePayload(payload []uint8) error

func (*DscCallInformation) EncodePayload

func (m *DscCallInformation) EncodePayload() ([]uint8, error)

func (*DscCallInformation) LatitudeOfVesselReportedValue

func (m *DscCallInformation) LatitudeOfVesselReportedValue() (float64, bool)

LatitudeOfVesselReportedValue returns LatitudeOfVesselReported as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DscCallInformation) LongitudeOfVesselReportedValue

func (m *DscCallInformation) LongitudeOfVesselReportedValue() (float64, bool)

LongitudeOfVesselReportedValue returns LongitudeOfVesselReported as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DscCallInformation) MessageInfo

func (m *DscCallInformation) MessageInfo() MessageInfo

func (*DscCallInformation) PGNNumber

func (m *DscCallInformation) PGNNumber() uint32

func (*DscCallInformation) SetDateOfReceiptValue

func (m *DscCallInformation) SetDateOfReceiptValue(v float64)

SetDateOfReceiptValue sets DateOfReceipt from a physical value in d, rounded to the nearest wire tick of 1.

func (*DscCallInformation) SetLatitudeOfVesselReportedValue

func (m *DscCallInformation) SetLatitudeOfVesselReportedValue(v float64)

SetLatitudeOfVesselReportedValue sets LatitudeOfVesselReported from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*DscCallInformation) SetLongitudeOfVesselReportedValue

func (m *DscCallInformation) SetLongitudeOfVesselReportedValue(v float64)

SetLongitudeOfVesselReportedValue sets LongitudeOfVesselReported from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*DscCallInformation) SetMessageInfo

func (m *DscCallInformation) SetMessageInfo(info MessageInfo)

func (*DscCallInformation) SetTimeOfPositionValue

func (m *DscCallInformation) SetTimeOfPositionValue(v float64)

SetTimeOfPositionValue sets TimeOfPosition from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*DscCallInformation) SetTimeOfReceiptValue

func (m *DscCallInformation) SetTimeOfReceiptValue(v float64)

SetTimeOfReceiptValue sets TimeOfReceipt from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*DscCallInformation) TimeOfPositionValue

func (m *DscCallInformation) TimeOfPositionValue() (float64, bool)

TimeOfPositionValue returns TimeOfPosition as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DscCallInformation) TimeOfReceiptValue

func (m *DscCallInformation) TimeOfReceiptValue() (float64, bool)

TimeOfReceiptValue returns TimeOfReceipt as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type DscCallInformationRepeating1

type DscCallInformationRepeating1 struct {
	DscExpansionFieldSymbol *uint64 `json:"dscExpansionFieldSymbol,omitempty" n2k:"21"`
	DscExpansionFieldData   string  `json:"dscExpansionFieldData,omitempty" n2k:"22"`
}

type DscCategoryConst

type DscCategoryConst uint8
const (
	DscCategoryRoutine  DscCategoryConst = 100
	DscCategorySafety   DscCategoryConst = 108
	DscCategoryUrgency  DscCategoryConst = 110
	DscCategoryDistress DscCategoryConst = 112
)

func (DscCategoryConst) GoString

func (e DscCategoryConst) GoString() string

func (DscCategoryConst) String

func (e DscCategoryConst) String() string

type DscDistressCallInformation

type DscDistressCallInformation struct {
	Info                                        MessageInfo                            `json:"info"`
	DscFormat                                   *uint64                                `json:"dscFormat,omitempty" n2k:"1"`
	DscCategory                                 *uint64                                `json:"dscCategory,omitempty" n2k:"2"`
	DscMessageAddress                           *uint64                                `json:"dscMessageAddress,omitempty" n2k:"3"`
	NatureOfDistress                            *uint64                                `json:"natureOfDistress,omitempty" n2k:"4"`
	SubsequentCommunicationModeOr2ndTelecommand *uint64                                `json:"subsequentCommunicationModeOr2ndTelecommand,omitempty" n2k:"5"`
	ProposedRxFrequencyChannel                  string                                 `json:"proposedRxFrequencyChannel,omitempty" n2k:"6"`
	ProposedTxFrequencyChannel                  string                                 `json:"proposedTxFrequencyChannel,omitempty" n2k:"7"`
	TelephoneNumber                             string                                 `json:"telephoneNumber,omitempty" n2k:"8"`
	LatitudeOfVesselReported                    *int64                                 `json:"latitudeOfVesselReported,omitempty" n2k:"9"`
	LongitudeOfVesselReported                   *int64                                 `json:"longitudeOfVesselReported,omitempty" n2k:"10"`
	TimeOfPosition                              *uint64                                `json:"timeOfPosition,omitempty" n2k:"11"`
	MmsiOfShipInDistress                        *uint64                                `json:"mmsiOfShipInDistress,omitempty" n2k:"12"`
	DscEosSymbol                                *uint64                                `json:"dscEosSymbol,omitempty" n2k:"13"`
	ExpansionEnabled                            *uint64                                `json:"expansionEnabled,omitempty" n2k:"14"`
	CallingRxFrequencyChannel                   string                                 `json:"callingRxFrequencyChannel,omitempty" n2k:"16"`
	CallingTxFrequencyChannel                   string                                 `json:"callingTxFrequencyChannel,omitempty" n2k:"17"`
	TimeOfReceipt                               *uint64                                `json:"timeOfReceipt,omitempty" n2k:"18"`
	DateOfReceipt                               *uint64                                `json:"dateOfReceipt,omitempty" n2k:"19"`
	DscEquipmentAssignedMessageId               *uint64                                `json:"dscEquipmentAssignedMessageId,omitempty" n2k:"20"`
	Repeating1                                  []DscDistressCallInformationRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*DscDistressCallInformation) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*DscDistressCallInformation) DateOfReceiptValue

func (m *DscDistressCallInformation) DateOfReceiptValue() (float64, bool)

DateOfReceiptValue returns DateOfReceipt as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DscDistressCallInformation) DecodePayload

func (m *DscDistressCallInformation) DecodePayload(payload []uint8) error

func (*DscDistressCallInformation) EncodePayload

func (m *DscDistressCallInformation) EncodePayload() ([]uint8, error)

func (*DscDistressCallInformation) LatitudeOfVesselReportedValue

func (m *DscDistressCallInformation) LatitudeOfVesselReportedValue() (float64, bool)

LatitudeOfVesselReportedValue returns LatitudeOfVesselReported as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DscDistressCallInformation) LongitudeOfVesselReportedValue

func (m *DscDistressCallInformation) LongitudeOfVesselReportedValue() (float64, bool)

LongitudeOfVesselReportedValue returns LongitudeOfVesselReported as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DscDistressCallInformation) MessageInfo

func (m *DscDistressCallInformation) MessageInfo() MessageInfo

func (*DscDistressCallInformation) PGNNumber

func (m *DscDistressCallInformation) PGNNumber() uint32

func (*DscDistressCallInformation) SetDateOfReceiptValue

func (m *DscDistressCallInformation) SetDateOfReceiptValue(v float64)

SetDateOfReceiptValue sets DateOfReceipt from a physical value in d, rounded to the nearest wire tick of 1.

func (*DscDistressCallInformation) SetLatitudeOfVesselReportedValue

func (m *DscDistressCallInformation) SetLatitudeOfVesselReportedValue(v float64)

SetLatitudeOfVesselReportedValue sets LatitudeOfVesselReported from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*DscDistressCallInformation) SetLongitudeOfVesselReportedValue

func (m *DscDistressCallInformation) SetLongitudeOfVesselReportedValue(v float64)

SetLongitudeOfVesselReportedValue sets LongitudeOfVesselReported from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*DscDistressCallInformation) SetMessageInfo

func (m *DscDistressCallInformation) SetMessageInfo(info MessageInfo)

func (*DscDistressCallInformation) SetTimeOfPositionValue

func (m *DscDistressCallInformation) SetTimeOfPositionValue(v float64)

SetTimeOfPositionValue sets TimeOfPosition from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*DscDistressCallInformation) SetTimeOfReceiptValue

func (m *DscDistressCallInformation) SetTimeOfReceiptValue(v float64)

SetTimeOfReceiptValue sets TimeOfReceipt from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*DscDistressCallInformation) TimeOfPositionValue

func (m *DscDistressCallInformation) TimeOfPositionValue() (float64, bool)

TimeOfPositionValue returns TimeOfPosition as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*DscDistressCallInformation) TimeOfReceiptValue

func (m *DscDistressCallInformation) TimeOfReceiptValue() (float64, bool)

TimeOfReceiptValue returns TimeOfReceipt as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type DscDistressCallInformationRepeating1

type DscDistressCallInformationRepeating1 struct {
	DscExpansionFieldSymbol *uint64 `json:"dscExpansionFieldSymbol,omitempty" n2k:"21"`
	DscExpansionFieldData   string  `json:"dscExpansionFieldData,omitempty" n2k:"22"`
}

type DscExpansionDataConst

type DscExpansionDataConst uint8
const (
	DscExpansionDataEnhancedPosition                DscExpansionDataConst = 100
	DscExpansionDataSourceAndDatumOfPosition        DscExpansionDataConst = 101
	DscExpansionDataSOG                             DscExpansionDataConst = 102
	DscExpansionDataCOG                             DscExpansionDataConst = 103
	DscExpansionDataAdditionalStationIdentification DscExpansionDataConst = 104
	DscExpansionDataEnhancedGeographicArea          DscExpansionDataConst = 105
	DscExpansionDataNumberOfPersonsOnBoard          DscExpansionDataConst = 106
)

func (DscExpansionDataConst) GoString

func (e DscExpansionDataConst) GoString() string

func (DscExpansionDataConst) String

func (e DscExpansionDataConst) String() string

type DscFirstTelecommandConst

type DscFirstTelecommandConst uint8
const (
	DscFirstTelecommandF3EG3EAllModesTP                           DscFirstTelecommandConst = 100
	DscFirstTelecommandF3EG3EDuplexTP                             DscFirstTelecommandConst = 101
	DscFirstTelecommandPolling                                    DscFirstTelecommandConst = 103
	DscFirstTelecommandUnableToComply                             DscFirstTelecommandConst = 104
	DscFirstTelecommandEndOfCall                                  DscFirstTelecommandConst = 105
	DscFirstTelecommandData                                       DscFirstTelecommandConst = 106
	DscFirstTelecommandJ3ETP                                      DscFirstTelecommandConst = 109
	DscFirstTelecommandDistressAcknowledgement                    DscFirstTelecommandConst = 110
	DscFirstTelecommandDistressRelay                              DscFirstTelecommandConst = 112
	DscFirstTelecommandF1BJ2BTTYFEC                               DscFirstTelecommandConst = 113
	DscFirstTelecommandF1BJ2BTTYARQ                               DscFirstTelecommandConst = 115
	DscFirstTelecommandTest                                       DscFirstTelecommandConst = 118
	DscFirstTelecommandShipPositionOrLocationRegistrationUpdating DscFirstTelecommandConst = 121
	DscFirstTelecommandNoInformation                              DscFirstTelecommandConst = 126
)

func (DscFirstTelecommandConst) GoString

func (e DscFirstTelecommandConst) GoString() string

func (DscFirstTelecommandConst) String

func (e DscFirstTelecommandConst) String() string

type DscFormatConst

type DscFormatConst uint8
const (
	DscFormatGeographicalArea           DscFormatConst = 102
	DscFormatDistress                   DscFormatConst = 112
	DscFormatCommonInterest             DscFormatConst = 114
	DscFormatAllShips                   DscFormatConst = 116
	DscFormatIndividualStations         DscFormatConst = 120
	DscFormatNonCallingPurpose          DscFormatConst = 121
	DscFormatIndividualStationAutomatic DscFormatConst = 123
)

func (DscFormatConst) GoString

func (e DscFormatConst) GoString() string

func (DscFormatConst) String

func (e DscFormatConst) String() string

type DscNatureConst

type DscNatureConst uint8
const (
	DscNatureFire              DscNatureConst = 100
	DscNatureFlooding          DscNatureConst = 101
	DscNatureCollision         DscNatureConst = 102
	DscNatureGrounding         DscNatureConst = 103
	DscNatureListing           DscNatureConst = 104
	DscNatureSinking           DscNatureConst = 105
	DscNatureDisabledAndAdrift DscNatureConst = 106
	DscNatureUndesignated      DscNatureConst = 107
	DscNatureAbandoningShip    DscNatureConst = 108
	DscNaturePiracy            DscNatureConst = 109
	DscNatureManOverboard      DscNatureConst = 110
	DscNatureEPIRBEmission     DscNatureConst = 112
)

func (DscNatureConst) GoString

func (e DscNatureConst) GoString() string

func (DscNatureConst) String

func (e DscNatureConst) String() string

type DscSecondTelecommandConst

type DscSecondTelecommandConst uint8
const (
	DscSecondTelecommandNoReasonGiven                                       DscSecondTelecommandConst = 100
	DscSecondTelecommandCongestionAtMSC                                     DscSecondTelecommandConst = 101
	DscSecondTelecommandBusy                                                DscSecondTelecommandConst = 102
	DscSecondTelecommandQueueIndication                                     DscSecondTelecommandConst = 103
	DscSecondTelecommandStationBarred                                       DscSecondTelecommandConst = 104
	DscSecondTelecommandNoOperatorAvailable                                 DscSecondTelecommandConst = 105
	DscSecondTelecommandOperatorTemporarilyUnavailable                      DscSecondTelecommandConst = 106
	DscSecondTelecommandEquipmentDisabled                                   DscSecondTelecommandConst = 107
	DscSecondTelecommandUnableToUseProposedChannel                          DscSecondTelecommandConst = 108
	DscSecondTelecommandUnableToUseProposedMode                             DscSecondTelecommandConst = 109
	DscSecondTelecommandShipsAndAircraftOfStatesNotPartiesToAnArmedConflict DscSecondTelecommandConst = 110
	DscSecondTelecommandMedicalTransports                                   DscSecondTelecommandConst = 111
	DscSecondTelecommandPayPhonePublicCallOffice                            DscSecondTelecommandConst = 112
	DscSecondTelecommandFaxData                                             DscSecondTelecommandConst = 113
	DscSecondTelecommandNoInformation                                       DscSecondTelecommandConst = 126
)

func (DscSecondTelecommandConst) GoString

func (e DscSecondTelecommandConst) GoString() string

func (DscSecondTelecommandConst) String

func (e DscSecondTelecommandConst) String() string

type ElectricDriveInformation

type ElectricDriveInformation struct {
	Info                               MessageInfo `json:"info"`
	InverterMotorIdentifier            *uint64     `json:"inverterMotorIdentifier,omitempty" n2k:"1"`
	MotorType                          *uint64     `json:"motorType,omitempty" n2k:"2"`
	MotorVoltageRating                 *uint64     `json:"motorVoltageRating,omitempty" n2k:"4"`
	MaximumContinuousMotorPower        *uint64     `json:"maximumContinuousMotorPower,omitempty" n2k:"5"`
	MaximumBoostMotorPower             *uint64     `json:"maximumBoostMotorPower,omitempty" n2k:"6"`
	MaximumMotorTemperatureRating      *uint64     `json:"maximumMotorTemperatureRating,omitempty" n2k:"7"`
	RatedMotorSpeed                    *uint64     `json:"ratedMotorSpeed,omitempty" n2k:"8"`
	MaximumControllerTemperatureRating *uint64     `json:"maximumControllerTemperatureRating,omitempty" n2k:"9"`
	MotorShaftTorqueRating             *uint64     `json:"motorShaftTorqueRating,omitempty" n2k:"10"`
	MotorDcVoltageDeratingThreshold    *uint64     `json:"motorDcVoltageDeratingThreshold,omitempty" n2k:"11"`
	MotorDcVoltageCutOffThreshold      *uint64     `json:"motorDcVoltageCutOffThreshold,omitempty" n2k:"12"`
	DriveMotorHours                    *uint64     `json:"driveMotorHours,omitempty" n2k:"13"`
}

func (*ElectricDriveInformation) Clone added in v1.3.0

func (m *ElectricDriveInformation) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ElectricDriveInformation) DecodePayload

func (m *ElectricDriveInformation) DecodePayload(payload []uint8) error

func (*ElectricDriveInformation) DriveMotorHoursValue

func (m *ElectricDriveInformation) DriveMotorHoursValue() (float64, bool)

DriveMotorHoursValue returns DriveMotorHours as a physical value in s (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveInformation) EncodePayload

func (m *ElectricDriveInformation) EncodePayload() ([]uint8, error)

func (*ElectricDriveInformation) MaximumBoostMotorPowerValue

func (m *ElectricDriveInformation) MaximumBoostMotorPowerValue() (float64, bool)

MaximumBoostMotorPowerValue returns MaximumBoostMotorPower as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveInformation) MaximumContinuousMotorPowerValue

func (m *ElectricDriveInformation) MaximumContinuousMotorPowerValue() (float64, bool)

MaximumContinuousMotorPowerValue returns MaximumContinuousMotorPower as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveInformation) MaximumControllerTemperatureRatingValue

func (m *ElectricDriveInformation) MaximumControllerTemperatureRatingValue() (float64, bool)

MaximumControllerTemperatureRatingValue returns MaximumControllerTemperatureRating as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveInformation) MaximumMotorTemperatureRatingValue

func (m *ElectricDriveInformation) MaximumMotorTemperatureRatingValue() (float64, bool)

MaximumMotorTemperatureRatingValue returns MaximumMotorTemperatureRating as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveInformation) MessageInfo

func (m *ElectricDriveInformation) MessageInfo() MessageInfo

func (*ElectricDriveInformation) MotorDcVoltageCutOffThresholdValue

func (m *ElectricDriveInformation) MotorDcVoltageCutOffThresholdValue() (float64, bool)

MotorDcVoltageCutOffThresholdValue returns MotorDcVoltageCutOffThreshold as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveInformation) MotorDcVoltageDeratingThresholdValue

func (m *ElectricDriveInformation) MotorDcVoltageDeratingThresholdValue() (float64, bool)

MotorDcVoltageDeratingThresholdValue returns MotorDcVoltageDeratingThreshold as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveInformation) MotorVoltageRatingValue

func (m *ElectricDriveInformation) MotorVoltageRatingValue() (float64, bool)

MotorVoltageRatingValue returns MotorVoltageRating as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveInformation) PGNNumber

func (m *ElectricDriveInformation) PGNNumber() uint32

func (*ElectricDriveInformation) RatedMotorSpeedValue

func (m *ElectricDriveInformation) RatedMotorSpeedValue() (float64, bool)

RatedMotorSpeedValue returns RatedMotorSpeed as a physical value in rpm (value = raw * 0.25). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveInformation) SetDriveMotorHoursValue

func (m *ElectricDriveInformation) SetDriveMotorHoursValue(v float64)

SetDriveMotorHoursValue sets DriveMotorHours from a physical value in s, rounded to the nearest wire tick of 1.

func (*ElectricDriveInformation) SetMaximumBoostMotorPowerValue

func (m *ElectricDriveInformation) SetMaximumBoostMotorPowerValue(v float64)

SetMaximumBoostMotorPowerValue sets MaximumBoostMotorPower from a physical value in W, rounded to the nearest wire tick of 1.

func (*ElectricDriveInformation) SetMaximumContinuousMotorPowerValue

func (m *ElectricDriveInformation) SetMaximumContinuousMotorPowerValue(v float64)

SetMaximumContinuousMotorPowerValue sets MaximumContinuousMotorPower from a physical value in W, rounded to the nearest wire tick of 1.

func (*ElectricDriveInformation) SetMaximumControllerTemperatureRatingValue

func (m *ElectricDriveInformation) SetMaximumControllerTemperatureRatingValue(v float64)

SetMaximumControllerTemperatureRatingValue sets MaximumControllerTemperatureRating from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricDriveInformation) SetMaximumMotorTemperatureRatingValue

func (m *ElectricDriveInformation) SetMaximumMotorTemperatureRatingValue(v float64)

SetMaximumMotorTemperatureRatingValue sets MaximumMotorTemperatureRating from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricDriveInformation) SetMessageInfo

func (m *ElectricDriveInformation) SetMessageInfo(info MessageInfo)

func (*ElectricDriveInformation) SetMotorDcVoltageCutOffThresholdValue

func (m *ElectricDriveInformation) SetMotorDcVoltageCutOffThresholdValue(v float64)

SetMotorDcVoltageCutOffThresholdValue sets MotorDcVoltageCutOffThreshold from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*ElectricDriveInformation) SetMotorDcVoltageDeratingThresholdValue

func (m *ElectricDriveInformation) SetMotorDcVoltageDeratingThresholdValue(v float64)

SetMotorDcVoltageDeratingThresholdValue sets MotorDcVoltageDeratingThreshold from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*ElectricDriveInformation) SetMotorVoltageRatingValue

func (m *ElectricDriveInformation) SetMotorVoltageRatingValue(v float64)

SetMotorVoltageRatingValue sets MotorVoltageRating from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*ElectricDriveInformation) SetRatedMotorSpeedValue

func (m *ElectricDriveInformation) SetRatedMotorSpeedValue(v float64)

SetRatedMotorSpeedValue sets RatedMotorSpeed from a physical value in rpm, rounded to the nearest wire tick of 0.25.

type ElectricDriveStatusDynamic

type ElectricDriveStatusDynamic struct {
	Info                    MessageInfo `json:"info"`
	InverterMotorIdentifier *uint64     `json:"inverterMotorIdentifier,omitempty" n2k:"1"`
	OperatingMode           *uint64     `json:"operatingMode,omitempty" n2k:"2"`
	MotorTemperature        *uint64     `json:"motorTemperature,omitempty" n2k:"4"`
	InverterTemperature     *uint64     `json:"inverterTemperature,omitempty" n2k:"5"`
	CoolantTemperature      *uint64     `json:"coolantTemperature,omitempty" n2k:"6"`
	GearTemperature         *uint64     `json:"gearTemperature,omitempty" n2k:"7"`
	ShaftTorque             *uint64     `json:"shaftTorque,omitempty" n2k:"8"`
}

func (*ElectricDriveStatusDynamic) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*ElectricDriveStatusDynamic) CoolantTemperatureValue

func (m *ElectricDriveStatusDynamic) CoolantTemperatureValue() (float64, bool)

CoolantTemperatureValue returns CoolantTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveStatusDynamic) DecodePayload

func (m *ElectricDriveStatusDynamic) DecodePayload(payload []uint8) error

func (*ElectricDriveStatusDynamic) EncodePayload

func (m *ElectricDriveStatusDynamic) EncodePayload() ([]uint8, error)

func (*ElectricDriveStatusDynamic) GearTemperatureValue

func (m *ElectricDriveStatusDynamic) GearTemperatureValue() (float64, bool)

GearTemperatureValue returns GearTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveStatusDynamic) InverterTemperatureValue

func (m *ElectricDriveStatusDynamic) InverterTemperatureValue() (float64, bool)

InverterTemperatureValue returns InverterTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveStatusDynamic) MessageInfo

func (m *ElectricDriveStatusDynamic) MessageInfo() MessageInfo

func (*ElectricDriveStatusDynamic) MotorTemperatureValue

func (m *ElectricDriveStatusDynamic) MotorTemperatureValue() (float64, bool)

MotorTemperatureValue returns MotorTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveStatusDynamic) PGNNumber

func (m *ElectricDriveStatusDynamic) PGNNumber() uint32

func (*ElectricDriveStatusDynamic) SetCoolantTemperatureValue

func (m *ElectricDriveStatusDynamic) SetCoolantTemperatureValue(v float64)

SetCoolantTemperatureValue sets CoolantTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricDriveStatusDynamic) SetGearTemperatureValue

func (m *ElectricDriveStatusDynamic) SetGearTemperatureValue(v float64)

SetGearTemperatureValue sets GearTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricDriveStatusDynamic) SetInverterTemperatureValue

func (m *ElectricDriveStatusDynamic) SetInverterTemperatureValue(v float64)

SetInverterTemperatureValue sets InverterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricDriveStatusDynamic) SetMessageInfo

func (m *ElectricDriveStatusDynamic) SetMessageInfo(info MessageInfo)

func (*ElectricDriveStatusDynamic) SetMotorTemperatureValue

func (m *ElectricDriveStatusDynamic) SetMotorTemperatureValue(v float64)

SetMotorTemperatureValue sets MotorTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

type ElectricDriveStatusRapidUpdate

type ElectricDriveStatusRapidUpdate struct {
	Info                    MessageInfo `json:"info"`
	InverterMotorController *uint64     `json:"inverterMotorController,omitempty" n2k:"1"`
	ActiveMotorMode         *uint64     `json:"activeMotorMode,omitempty" n2k:"2"`
	BrakeMode               *uint64     `json:"brakeMode,omitempty" n2k:"3"`
	RotationalShaftSpeed    *uint64     `json:"rotationalShaftSpeed,omitempty" n2k:"5"`
	MotorDcVoltage          *uint64     `json:"motorDcVoltage,omitempty" n2k:"6"`
	MotorDcCurrent          *int64      `json:"motorDcCurrent,omitempty" n2k:"7"`
}

func (*ElectricDriveStatusRapidUpdate) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*ElectricDriveStatusRapidUpdate) DecodePayload

func (m *ElectricDriveStatusRapidUpdate) DecodePayload(payload []uint8) error

func (*ElectricDriveStatusRapidUpdate) EncodePayload

func (m *ElectricDriveStatusRapidUpdate) EncodePayload() ([]uint8, error)

func (*ElectricDriveStatusRapidUpdate) MessageInfo

func (*ElectricDriveStatusRapidUpdate) MotorDcCurrentValue

func (m *ElectricDriveStatusRapidUpdate) MotorDcCurrentValue() (float64, bool)

MotorDcCurrentValue returns MotorDcCurrent as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveStatusRapidUpdate) MotorDcVoltageValue

func (m *ElectricDriveStatusRapidUpdate) MotorDcVoltageValue() (float64, bool)

MotorDcVoltageValue returns MotorDcVoltage as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveStatusRapidUpdate) PGNNumber

func (m *ElectricDriveStatusRapidUpdate) PGNNumber() uint32

func (*ElectricDriveStatusRapidUpdate) RotationalShaftSpeedValue

func (m *ElectricDriveStatusRapidUpdate) RotationalShaftSpeedValue() (float64, bool)

RotationalShaftSpeedValue returns RotationalShaftSpeed as a physical value in rpm (value = raw * 0.25). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricDriveStatusRapidUpdate) SetMessageInfo

func (m *ElectricDriveStatusRapidUpdate) SetMessageInfo(info MessageInfo)

func (*ElectricDriveStatusRapidUpdate) SetMotorDcCurrentValue

func (m *ElectricDriveStatusRapidUpdate) SetMotorDcCurrentValue(v float64)

SetMotorDcCurrentValue sets MotorDcCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*ElectricDriveStatusRapidUpdate) SetMotorDcVoltageValue

func (m *ElectricDriveStatusRapidUpdate) SetMotorDcVoltageValue(v float64)

SetMotorDcVoltageValue sets MotorDcVoltage from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*ElectricDriveStatusRapidUpdate) SetRotationalShaftSpeedValue

func (m *ElectricDriveStatusRapidUpdate) SetRotationalShaftSpeedValue(v float64)

SetRotationalShaftSpeedValue sets RotationalShaftSpeed from a physical value in rpm, rounded to the nearest wire tick of 0.25.

type ElectricEnergyStorageInformation

type ElectricEnergyStorageInformation struct {
	Info                       MessageInfo `json:"info"`
	EnergyStorageIdentifier    *uint64     `json:"energyStorageIdentifier,omitempty" n2k:"1"`
	MotorType                  *uint64     `json:"motorType,omitempty" n2k:"2"`
	StorageChemistryConversion *uint64     `json:"storageChemistryConversion,omitempty" n2k:"4"`
	MaximumTemperatureDerating *uint64     `json:"maximumTemperatureDerating,omitempty" n2k:"5"`
	MaximumTemperatureShutOff  *uint64     `json:"maximumTemperatureShutOff,omitempty" n2k:"6"`
	MinimumTemperatureDerating *uint64     `json:"minimumTemperatureDerating,omitempty" n2k:"7"`
	MinimumTemperatureShutOff  *uint64     `json:"minimumTemperatureShutOff,omitempty" n2k:"8"`
	UsableBatteryEnergy        *uint64     `json:"usableBatteryEnergy,omitempty" n2k:"9"`
	StateOfHealth              *uint64     `json:"stateOfHealth,omitempty" n2k:"10"`
	BatteryCycleCounter        *uint64     `json:"batteryCycleCounter,omitempty" n2k:"11"`
	BatteryFullStatus          *uint64     `json:"batteryFullStatus,omitempty" n2k:"12"`
	BatteryEmptyStatus         *uint64     `json:"batteryEmptyStatus,omitempty" n2k:"13"`
	MaximumChargeSoc           *uint64     `json:"maximumChargeSoc,omitempty" n2k:"15"`
	MinimumChargeSoc           *uint64     `json:"minimumChargeSoc,omitempty" n2k:"16"`
}

func (*ElectricEnergyStorageInformation) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*ElectricEnergyStorageInformation) DecodePayload

func (m *ElectricEnergyStorageInformation) DecodePayload(payload []uint8) error

func (*ElectricEnergyStorageInformation) EncodePayload

func (m *ElectricEnergyStorageInformation) EncodePayload() ([]uint8, error)

func (*ElectricEnergyStorageInformation) MaximumTemperatureDeratingValue

func (m *ElectricEnergyStorageInformation) MaximumTemperatureDeratingValue() (float64, bool)

MaximumTemperatureDeratingValue returns MaximumTemperatureDerating as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageInformation) MaximumTemperatureShutOffValue

func (m *ElectricEnergyStorageInformation) MaximumTemperatureShutOffValue() (float64, bool)

MaximumTemperatureShutOffValue returns MaximumTemperatureShutOff as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageInformation) MessageInfo

func (*ElectricEnergyStorageInformation) MinimumTemperatureDeratingValue

func (m *ElectricEnergyStorageInformation) MinimumTemperatureDeratingValue() (float64, bool)

MinimumTemperatureDeratingValue returns MinimumTemperatureDerating as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageInformation) MinimumTemperatureShutOffValue

func (m *ElectricEnergyStorageInformation) MinimumTemperatureShutOffValue() (float64, bool)

MinimumTemperatureShutOffValue returns MinimumTemperatureShutOff as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageInformation) PGNNumber

func (*ElectricEnergyStorageInformation) SetMaximumTemperatureDeratingValue

func (m *ElectricEnergyStorageInformation) SetMaximumTemperatureDeratingValue(v float64)

SetMaximumTemperatureDeratingValue sets MaximumTemperatureDerating from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricEnergyStorageInformation) SetMaximumTemperatureShutOffValue

func (m *ElectricEnergyStorageInformation) SetMaximumTemperatureShutOffValue(v float64)

SetMaximumTemperatureShutOffValue sets MaximumTemperatureShutOff from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricEnergyStorageInformation) SetMessageInfo

func (m *ElectricEnergyStorageInformation) SetMessageInfo(info MessageInfo)

func (*ElectricEnergyStorageInformation) SetMinimumTemperatureDeratingValue

func (m *ElectricEnergyStorageInformation) SetMinimumTemperatureDeratingValue(v float64)

SetMinimumTemperatureDeratingValue sets MinimumTemperatureDerating from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricEnergyStorageInformation) SetMinimumTemperatureShutOffValue

func (m *ElectricEnergyStorageInformation) SetMinimumTemperatureShutOffValue(v float64)

SetMinimumTemperatureShutOffValue sets MinimumTemperatureShutOff from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricEnergyStorageInformation) SetUsableBatteryEnergyValue

func (m *ElectricEnergyStorageInformation) SetUsableBatteryEnergyValue(v float64)

SetUsableBatteryEnergyValue sets UsableBatteryEnergy from a physical value in kWh, rounded to the nearest wire tick of 1.

func (*ElectricEnergyStorageInformation) UsableBatteryEnergyValue

func (m *ElectricEnergyStorageInformation) UsableBatteryEnergyValue() (float64, bool)

UsableBatteryEnergyValue returns UsableBatteryEnergy as a physical value in kWh (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type ElectricEnergyStorageStatusDynamic

type ElectricEnergyStorageStatusDynamic struct {
	Info                    MessageInfo `json:"info"`
	EnergyStorageIdentifier *uint64     `json:"energyStorageIdentifier,omitempty" n2k:"1"`
	StateOfCharge           *uint64     `json:"stateOfCharge,omitempty" n2k:"2"`
	TimeRemaining           *uint64     `json:"timeRemaining,omitempty" n2k:"3"`
	HighestCellTemperature  *uint64     `json:"highestCellTemperature,omitempty" n2k:"4"`
	LowestCellTemperature   *uint64     `json:"lowestCellTemperature,omitempty" n2k:"5"`
	AverageCellTemperature  *uint64     `json:"averageCellTemperature,omitempty" n2k:"6"`
	MaxDischargeCurrent     *int64      `json:"maxDischargeCurrent,omitempty" n2k:"7"`
	MaxChargeCurrent        *int64      `json:"maxChargeCurrent,omitempty" n2k:"8"`
	CoolingSystemStatus     *uint64     `json:"coolingSystemStatus,omitempty" n2k:"9"`
	HeatingSystemStatus     *uint64     `json:"heatingSystemStatus,omitempty" n2k:"10"`
}

func (*ElectricEnergyStorageStatusDynamic) AverageCellTemperatureValue

func (m *ElectricEnergyStorageStatusDynamic) AverageCellTemperatureValue() (float64, bool)

AverageCellTemperatureValue returns AverageCellTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageStatusDynamic) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*ElectricEnergyStorageStatusDynamic) DecodePayload

func (m *ElectricEnergyStorageStatusDynamic) DecodePayload(payload []uint8) error

func (*ElectricEnergyStorageStatusDynamic) EncodePayload

func (m *ElectricEnergyStorageStatusDynamic) EncodePayload() ([]uint8, error)

func (*ElectricEnergyStorageStatusDynamic) HighestCellTemperatureValue

func (m *ElectricEnergyStorageStatusDynamic) HighestCellTemperatureValue() (float64, bool)

HighestCellTemperatureValue returns HighestCellTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageStatusDynamic) LowestCellTemperatureValue

func (m *ElectricEnergyStorageStatusDynamic) LowestCellTemperatureValue() (float64, bool)

LowestCellTemperatureValue returns LowestCellTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageStatusDynamic) MaxChargeCurrentValue

func (m *ElectricEnergyStorageStatusDynamic) MaxChargeCurrentValue() (float64, bool)

MaxChargeCurrentValue returns MaxChargeCurrent as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageStatusDynamic) MaxDischargeCurrentValue

func (m *ElectricEnergyStorageStatusDynamic) MaxDischargeCurrentValue() (float64, bool)

MaxDischargeCurrentValue returns MaxDischargeCurrent as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageStatusDynamic) MessageInfo

func (*ElectricEnergyStorageStatusDynamic) PGNNumber

func (*ElectricEnergyStorageStatusDynamic) SetAverageCellTemperatureValue

func (m *ElectricEnergyStorageStatusDynamic) SetAverageCellTemperatureValue(v float64)

SetAverageCellTemperatureValue sets AverageCellTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricEnergyStorageStatusDynamic) SetHighestCellTemperatureValue

func (m *ElectricEnergyStorageStatusDynamic) SetHighestCellTemperatureValue(v float64)

SetHighestCellTemperatureValue sets HighestCellTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricEnergyStorageStatusDynamic) SetLowestCellTemperatureValue

func (m *ElectricEnergyStorageStatusDynamic) SetLowestCellTemperatureValue(v float64)

SetLowestCellTemperatureValue sets LowestCellTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ElectricEnergyStorageStatusDynamic) SetMaxChargeCurrentValue

func (m *ElectricEnergyStorageStatusDynamic) SetMaxChargeCurrentValue(v float64)

SetMaxChargeCurrentValue sets MaxChargeCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*ElectricEnergyStorageStatusDynamic) SetMaxDischargeCurrentValue

func (m *ElectricEnergyStorageStatusDynamic) SetMaxDischargeCurrentValue(v float64)

SetMaxDischargeCurrentValue sets MaxDischargeCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*ElectricEnergyStorageStatusDynamic) SetMessageInfo

func (m *ElectricEnergyStorageStatusDynamic) SetMessageInfo(info MessageInfo)

func (*ElectricEnergyStorageStatusDynamic) SetStateOfChargeValue

func (m *ElectricEnergyStorageStatusDynamic) SetStateOfChargeValue(v float64)

SetStateOfChargeValue sets StateOfCharge from a physical value in %, rounded to the nearest wire tick of 1.

func (*ElectricEnergyStorageStatusDynamic) SetTimeRemainingValue

func (m *ElectricEnergyStorageStatusDynamic) SetTimeRemainingValue(v float64)

SetTimeRemainingValue sets TimeRemaining from a physical value in s, rounded to the nearest wire tick of 60.

func (*ElectricEnergyStorageStatusDynamic) StateOfChargeValue

func (m *ElectricEnergyStorageStatusDynamic) StateOfChargeValue() (float64, bool)

StateOfChargeValue returns StateOfCharge as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageStatusDynamic) TimeRemainingValue

func (m *ElectricEnergyStorageStatusDynamic) TimeRemainingValue() (float64, bool)

TimeRemainingValue returns TimeRemaining as a physical value in s (value = raw * 60). The bool is false for absent, sentinel, or out-of-range measurements.

type ElectricEnergyStorageStatusRapidUpdate

type ElectricEnergyStorageStatusRapidUpdate struct {
	Info                    MessageInfo `json:"info"`
	EnergyStorageIdentifier *uint64     `json:"energyStorageIdentifier,omitempty" n2k:"1"`
	BatteryStatus           *uint64     `json:"batteryStatus,omitempty" n2k:"2"`
	IsolationStatus         *uint64     `json:"isolationStatus,omitempty" n2k:"3"`
	BatteryError            *uint64     `json:"batteryError,omitempty" n2k:"4"`
	BatteryVoltage          *uint64     `json:"batteryVoltage,omitempty" n2k:"5"`
	BatteryCurrent          *int64      `json:"batteryCurrent,omitempty" n2k:"6"`
}

func (*ElectricEnergyStorageStatusRapidUpdate) BatteryCurrentValue

func (m *ElectricEnergyStorageStatusRapidUpdate) BatteryCurrentValue() (float64, bool)

BatteryCurrentValue returns BatteryCurrent as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageStatusRapidUpdate) BatteryVoltageValue

func (m *ElectricEnergyStorageStatusRapidUpdate) BatteryVoltageValue() (float64, bool)

BatteryVoltageValue returns BatteryVoltage as a physical value in V (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ElectricEnergyStorageStatusRapidUpdate) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*ElectricEnergyStorageStatusRapidUpdate) DecodePayload

func (m *ElectricEnergyStorageStatusRapidUpdate) DecodePayload(payload []uint8) error

func (*ElectricEnergyStorageStatusRapidUpdate) EncodePayload

func (m *ElectricEnergyStorageStatusRapidUpdate) EncodePayload() ([]uint8, error)

func (*ElectricEnergyStorageStatusRapidUpdate) MessageInfo

func (*ElectricEnergyStorageStatusRapidUpdate) PGNNumber

func (*ElectricEnergyStorageStatusRapidUpdate) SetBatteryCurrentValue

func (m *ElectricEnergyStorageStatusRapidUpdate) SetBatteryCurrentValue(v float64)

SetBatteryCurrentValue sets BatteryCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*ElectricEnergyStorageStatusRapidUpdate) SetBatteryVoltageValue

func (m *ElectricEnergyStorageStatusRapidUpdate) SetBatteryVoltageValue(v float64)

SetBatteryVoltageValue sets BatteryVoltage from a physical value in V, rounded to the nearest wire tick of 0.1.

func (*ElectricEnergyStorageStatusRapidUpdate) SetMessageInfo

func (m *ElectricEnergyStorageStatusRapidUpdate) SetMessageInfo(info MessageInfo)

type ElevatorCarStatus

type ElevatorCarStatus struct {
	Info                                   MessageInfo `json:"info"`
	Sid                                    *uint64     `json:"sid,omitempty" n2k:"1"`
	ElevatorCarId                          *uint64     `json:"elevatorCarId,omitempty" n2k:"2"`
	ElevatorCarUsage                       *uint64     `json:"elevatorCarUsage,omitempty" n2k:"3"`
	SmokeSensorStatus                      *uint64     `json:"smokeSensorStatus,omitempty" n2k:"4"`
	LimitSwitchSensorStatus                *uint64     `json:"limitSwitchSensorStatus,omitempty" n2k:"5"`
	ProximitySwitchSensorStatus            *uint64     `json:"proximitySwitchSensorStatus,omitempty" n2k:"6"`
	InertialMeasurementUnitImuSensorStatus *uint64     `json:"inertialMeasurementUnitImuSensorStatus,omitempty" n2k:"7"`
	ElevatorLoadLimitStatus                *uint64     `json:"elevatorLoadLimitStatus,omitempty" n2k:"8"`
	ElevatorLoadBalanceStatus              *uint64     `json:"elevatorLoadBalanceStatus,omitempty" n2k:"9"`
	ElevatorLoadSensor1Status              *uint64     `json:"elevatorLoadSensor1Status,omitempty" n2k:"10"`
	ElevatorLoadSensor2Status              *uint64     `json:"elevatorLoadSensor2Status,omitempty" n2k:"11"`
	ElevatorLoadSensor3Status              *uint64     `json:"elevatorLoadSensor3Status,omitempty" n2k:"12"`
	ElevatorLoadSensor4Status              *uint64     `json:"elevatorLoadSensor4Status,omitempty" n2k:"13"`
	ElevatorCarMotionStatus                *uint64     `json:"elevatorCarMotionStatus,omitempty" n2k:"15"`
	ElevatorCarDoorStatus                  *uint64     `json:"elevatorCarDoorStatus,omitempty" n2k:"16"`
	ElevatorCarEmergencyButtonStatus       *uint64     `json:"elevatorCarEmergencyButtonStatus,omitempty" n2k:"17"`
	ElevatorCarBuzzerStatus                *uint64     `json:"elevatorCarBuzzerStatus,omitempty" n2k:"18"`
	OpenDoorButtonStatus                   *uint64     `json:"openDoorButtonStatus,omitempty" n2k:"19"`
	CloseDoorButtonStatus                  *uint64     `json:"closeDoorButtonStatus,omitempty" n2k:"20"`
	CurrentDeck                            *uint64     `json:"currentDeck,omitempty" n2k:"22"`
	DestinationDeck                        *uint64     `json:"destinationDeck,omitempty" n2k:"23"`
	TotalNumberOfDecks                     *uint64     `json:"totalNumberOfDecks,omitempty" n2k:"24"`
	WeightOfLoadCell1                      *uint64     `json:"weightOfLoadCell1,omitempty" n2k:"25"`
	WeightOfLoadCell2                      *uint64     `json:"weightOfLoadCell2,omitempty" n2k:"26"`
	WeightOfLoadCell3                      *uint64     `json:"weightOfLoadCell3,omitempty" n2k:"27"`
	WeightOfLoadCell4                      *uint64     `json:"weightOfLoadCell4,omitempty" n2k:"28"`
	SpeedOfElevatorCar                     *int64      `json:"speedOfElevatorCar,omitempty" n2k:"29"`
	ElevatorBrakeStatus                    *uint64     `json:"elevatorBrakeStatus,omitempty" n2k:"30"`
	ElevatorMotorRotationControlStatus     *uint64     `json:"elevatorMotorRotationControlStatus,omitempty" n2k:"31"`
}

func (*ElevatorCarStatus) Clone added in v1.3.0

func (m *ElevatorCarStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ElevatorCarStatus) DecodePayload

func (m *ElevatorCarStatus) DecodePayload(payload []uint8) error

func (*ElevatorCarStatus) EncodePayload

func (m *ElevatorCarStatus) EncodePayload() ([]uint8, error)

func (*ElevatorCarStatus) MessageInfo

func (m *ElevatorCarStatus) MessageInfo() MessageInfo

func (*ElevatorCarStatus) PGNNumber

func (m *ElevatorCarStatus) PGNNumber() uint32

func (*ElevatorCarStatus) SetMessageInfo

func (m *ElevatorCarStatus) SetMessageInfo(info MessageInfo)

func (*ElevatorCarStatus) SetSpeedOfElevatorCarValue

func (m *ElevatorCarStatus) SetSpeedOfElevatorCarValue(v float64)

SetSpeedOfElevatorCarValue sets SpeedOfElevatorCar from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*ElevatorCarStatus) SpeedOfElevatorCarValue

func (m *ElevatorCarStatus) SpeedOfElevatorCarValue() (float64, bool)

SpeedOfElevatorCarValue returns SpeedOfElevatorCar as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type ElevatorDeckPushButton

type ElevatorDeckPushButton struct {
	Info                       MessageInfo `json:"info"`
	Sid                        *uint64     `json:"sid,omitempty" n2k:"1"`
	ElevatorCallButtonId       *uint64     `json:"elevatorCallButtonId,omitempty" n2k:"2"`
	DeckButtonId               *uint64     `json:"deckButtonId,omitempty" n2k:"3"`
	ElevatorCarUsage           *uint64     `json:"elevatorCarUsage,omitempty" n2k:"4"`
	ElevatorCarButtonSelection *uint64     `json:"elevatorCarButtonSelection,omitempty" n2k:"5"`
}

func (*ElevatorDeckPushButton) Clone added in v1.3.0

func (m *ElevatorDeckPushButton) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ElevatorDeckPushButton) DecodePayload

func (m *ElevatorDeckPushButton) DecodePayload(payload []uint8) error

func (*ElevatorDeckPushButton) EncodePayload

func (m *ElevatorDeckPushButton) EncodePayload() ([]uint8, error)

func (*ElevatorDeckPushButton) MessageInfo

func (m *ElevatorDeckPushButton) MessageInfo() MessageInfo

func (*ElevatorDeckPushButton) PGNNumber

func (m *ElevatorDeckPushButton) PGNNumber() uint32

func (*ElevatorDeckPushButton) SetMessageInfo

func (m *ElevatorDeckPushButton) SetMessageInfo(info MessageInfo)

type ElevatorMotorControl

type ElevatorMotorControl struct {
	Info                                          MessageInfo `json:"info"`
	Sid                                           *uint64     `json:"sid,omitempty" n2k:"1"`
	ElevatorCarId                                 *uint64     `json:"elevatorCarId,omitempty" n2k:"2"`
	ElevatorCarUsage                              *uint64     `json:"elevatorCarUsage,omitempty" n2k:"3"`
	MotorAccelerationDecelerationProfileSelection *uint64     `json:"motorAccelerationDecelerationProfileSelection,omitempty" n2k:"4"`
	MotorRotationalControlStatus                  *uint64     `json:"motorRotationalControlStatus,omitempty" n2k:"5"`
}

func (*ElevatorMotorControl) Clone added in v1.3.0

func (m *ElevatorMotorControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ElevatorMotorControl) DecodePayload

func (m *ElevatorMotorControl) DecodePayload(payload []uint8) error

func (*ElevatorMotorControl) EncodePayload

func (m *ElevatorMotorControl) EncodePayload() ([]uint8, error)

func (*ElevatorMotorControl) MessageInfo

func (m *ElevatorMotorControl) MessageInfo() MessageInfo

func (*ElevatorMotorControl) PGNNumber

func (m *ElevatorMotorControl) PGNNumber() uint32

func (*ElevatorMotorControl) SetMessageInfo

func (m *ElevatorMotorControl) SetMessageInfo(info MessageInfo)

type EngineInstanceConst

type EngineInstanceConst uint8
const (
	EngineInstanceSingleEngineOrDualEnginePort EngineInstanceConst = 0
	EngineInstanceDualEngineStarboard          EngineInstanceConst = 1
)

func (EngineInstanceConst) GoString

func (e EngineInstanceConst) GoString() string

func (EngineInstanceConst) String

func (e EngineInstanceConst) String() string

type EngineParametersDynamic

type EngineParametersDynamic struct {
	Info                MessageInfo `json:"info"`
	Instance            *uint64     `json:"instance,omitempty" n2k:"1"`
	OilPressure         *uint64     `json:"oilPressure,omitempty" n2k:"2"`
	OilTemperature      *uint64     `json:"oilTemperature,omitempty" n2k:"3"`
	Temperature         *uint64     `json:"temperature,omitempty" n2k:"4"`
	AlternatorPotential *int64      `json:"alternatorPotential,omitempty" n2k:"5"`
	FuelRate            *int64      `json:"fuelRate,omitempty" n2k:"6"`
	TotalEngineHours    *uint64     `json:"totalEngineHours,omitempty" n2k:"7"`
	CoolantPressure     *uint64     `json:"coolantPressure,omitempty" n2k:"8"`
	FuelPressure        *uint64     `json:"fuelPressure,omitempty" n2k:"9"`
	DiscreteStatus1     *uint64     `json:"discreteStatus1,omitempty" n2k:"11"`
	DiscreteStatus2     *uint64     `json:"discreteStatus2,omitempty" n2k:"12"`
	EngineLoad          *int64      `json:"engineLoad,omitempty" n2k:"13"`
	EngineTorque        *int64      `json:"engineTorque,omitempty" n2k:"14"`
}

func (*EngineParametersDynamic) AlternatorPotentialValue

func (m *EngineParametersDynamic) AlternatorPotentialValue() (float64, bool)

AlternatorPotentialValue returns AlternatorPotential as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersDynamic) Clone added in v1.3.0

func (m *EngineParametersDynamic) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*EngineParametersDynamic) CoolantPressureValue

func (m *EngineParametersDynamic) CoolantPressureValue() (float64, bool)

CoolantPressureValue returns CoolantPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersDynamic) DecodePayload

func (m *EngineParametersDynamic) DecodePayload(payload []uint8) error

func (*EngineParametersDynamic) EncodePayload

func (m *EngineParametersDynamic) EncodePayload() ([]uint8, error)

func (*EngineParametersDynamic) EngineLoadValue

func (m *EngineParametersDynamic) EngineLoadValue() (float64, bool)

EngineLoadValue returns EngineLoad as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersDynamic) EngineTorqueValue

func (m *EngineParametersDynamic) EngineTorqueValue() (float64, bool)

EngineTorqueValue returns EngineTorque as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersDynamic) FuelPressureValue

func (m *EngineParametersDynamic) FuelPressureValue() (float64, bool)

FuelPressureValue returns FuelPressure as a physical value in Pa (value = raw * 1000). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersDynamic) FuelRateValue

func (m *EngineParametersDynamic) FuelRateValue() (float64, bool)

FuelRateValue returns FuelRate as a physical value in L/h (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersDynamic) MessageInfo

func (m *EngineParametersDynamic) MessageInfo() MessageInfo

func (*EngineParametersDynamic) OilPressureValue

func (m *EngineParametersDynamic) OilPressureValue() (float64, bool)

OilPressureValue returns OilPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersDynamic) OilTemperatureValue

func (m *EngineParametersDynamic) OilTemperatureValue() (float64, bool)

OilTemperatureValue returns OilTemperature as a physical value in K (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersDynamic) PGNNumber

func (m *EngineParametersDynamic) PGNNumber() uint32

func (*EngineParametersDynamic) SetAlternatorPotentialValue

func (m *EngineParametersDynamic) SetAlternatorPotentialValue(v float64)

SetAlternatorPotentialValue sets AlternatorPotential from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*EngineParametersDynamic) SetCoolantPressureValue

func (m *EngineParametersDynamic) SetCoolantPressureValue(v float64)

SetCoolantPressureValue sets CoolantPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*EngineParametersDynamic) SetEngineLoadValue

func (m *EngineParametersDynamic) SetEngineLoadValue(v float64)

SetEngineLoadValue sets EngineLoad from a physical value in %, rounded to the nearest wire tick of 1.

func (*EngineParametersDynamic) SetEngineTorqueValue

func (m *EngineParametersDynamic) SetEngineTorqueValue(v float64)

SetEngineTorqueValue sets EngineTorque from a physical value in %, rounded to the nearest wire tick of 1.

func (*EngineParametersDynamic) SetFuelPressureValue

func (m *EngineParametersDynamic) SetFuelPressureValue(v float64)

SetFuelPressureValue sets FuelPressure from a physical value in Pa, rounded to the nearest wire tick of 1000.

func (*EngineParametersDynamic) SetFuelRateValue

func (m *EngineParametersDynamic) SetFuelRateValue(v float64)

SetFuelRateValue sets FuelRate from a physical value in L/h, rounded to the nearest wire tick of 0.1.

func (*EngineParametersDynamic) SetMessageInfo

func (m *EngineParametersDynamic) SetMessageInfo(info MessageInfo)

func (*EngineParametersDynamic) SetOilPressureValue

func (m *EngineParametersDynamic) SetOilPressureValue(v float64)

SetOilPressureValue sets OilPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*EngineParametersDynamic) SetOilTemperatureValue

func (m *EngineParametersDynamic) SetOilTemperatureValue(v float64)

SetOilTemperatureValue sets OilTemperature from a physical value in K, rounded to the nearest wire tick of 0.1.

func (*EngineParametersDynamic) SetTemperatureValue

func (m *EngineParametersDynamic) SetTemperatureValue(v float64)

SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*EngineParametersDynamic) SetTotalEngineHoursValue

func (m *EngineParametersDynamic) SetTotalEngineHoursValue(v float64)

SetTotalEngineHoursValue sets TotalEngineHours from a physical value in s, rounded to the nearest wire tick of 1.

func (*EngineParametersDynamic) TemperatureValue

func (m *EngineParametersDynamic) TemperatureValue() (float64, bool)

TemperatureValue returns Temperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersDynamic) TotalEngineHoursValue

func (m *EngineParametersDynamic) TotalEngineHoursValue() (float64, bool)

TotalEngineHoursValue returns TotalEngineHours as a physical value in s (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type EngineParametersRapidUpdate

type EngineParametersRapidUpdate struct {
	Info          MessageInfo `json:"info"`
	Instance      *uint64     `json:"instance,omitempty" n2k:"1"`
	Speed         *uint64     `json:"speed,omitempty" n2k:"2"`
	BoostPressure *uint64     `json:"boostPressure,omitempty" n2k:"3"`
	TiltTrim      *int64      `json:"tiltTrim,omitempty" n2k:"4"`
}

func (*EngineParametersRapidUpdate) BoostPressureValue

func (m *EngineParametersRapidUpdate) BoostPressureValue() (float64, bool)

BoostPressureValue returns BoostPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersRapidUpdate) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*EngineParametersRapidUpdate) DecodePayload

func (m *EngineParametersRapidUpdate) DecodePayload(payload []uint8) error

func (*EngineParametersRapidUpdate) EncodePayload

func (m *EngineParametersRapidUpdate) EncodePayload() ([]uint8, error)

func (*EngineParametersRapidUpdate) MessageInfo

func (m *EngineParametersRapidUpdate) MessageInfo() MessageInfo

func (*EngineParametersRapidUpdate) PGNNumber

func (m *EngineParametersRapidUpdate) PGNNumber() uint32

func (*EngineParametersRapidUpdate) SetBoostPressureValue

func (m *EngineParametersRapidUpdate) SetBoostPressureValue(v float64)

SetBoostPressureValue sets BoostPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*EngineParametersRapidUpdate) SetMessageInfo

func (m *EngineParametersRapidUpdate) SetMessageInfo(info MessageInfo)

func (*EngineParametersRapidUpdate) SetSpeedValue

func (m *EngineParametersRapidUpdate) SetSpeedValue(v float64)

SetSpeedValue sets Speed from a physical value in rpm, rounded to the nearest wire tick of 0.25.

func (*EngineParametersRapidUpdate) SetTiltTrimValue

func (m *EngineParametersRapidUpdate) SetTiltTrimValue(v float64)

SetTiltTrimValue sets TiltTrim from a physical value in %, rounded to the nearest wire tick of 1.

func (*EngineParametersRapidUpdate) SpeedValue

func (m *EngineParametersRapidUpdate) SpeedValue() (float64, bool)

SpeedValue returns Speed as a physical value in rpm (value = raw * 0.25). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersRapidUpdate) TiltTrimValue

func (m *EngineParametersRapidUpdate) TiltTrimValue() (float64, bool)

TiltTrimValue returns TiltTrim as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type EngineParametersStatic

type EngineParametersStatic struct {
	Info             MessageInfo `json:"info"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"1"`
	RatedEngineSpeed *uint64     `json:"ratedEngineSpeed,omitempty" n2k:"2"`
	Vin              string      `json:"vin,omitempty" n2k:"3"`
	SoftwareId       string      `json:"softwareId,omitempty" n2k:"4"`
}

func (*EngineParametersStatic) Clone added in v1.3.0

func (m *EngineParametersStatic) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*EngineParametersStatic) DecodePayload

func (m *EngineParametersStatic) DecodePayload(payload []uint8) error

func (*EngineParametersStatic) EncodePayload

func (m *EngineParametersStatic) EncodePayload() ([]uint8, error)

func (*EngineParametersStatic) MessageInfo

func (m *EngineParametersStatic) MessageInfo() MessageInfo

func (*EngineParametersStatic) PGNNumber

func (m *EngineParametersStatic) PGNNumber() uint32

func (*EngineParametersStatic) RatedEngineSpeedValue

func (m *EngineParametersStatic) RatedEngineSpeedValue() (float64, bool)

RatedEngineSpeedValue returns RatedEngineSpeed as a physical value in rpm (value = raw * 0.25). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EngineParametersStatic) SetMessageInfo

func (m *EngineParametersStatic) SetMessageInfo(info MessageInfo)

func (*EngineParametersStatic) SetRatedEngineSpeedValue

func (m *EngineParametersStatic) SetRatedEngineSpeedValue(v float64)

SetRatedEngineSpeedValue sets RatedEngineSpeed from a physical value in rpm, rounded to the nearest wire tick of 0.25.

type EngineStatus1Const

type EngineStatus1Const uint16
const (
	EngineStatus1CheckEngine            EngineStatus1Const = 1
	EngineStatus1OverTemperature        EngineStatus1Const = 2
	EngineStatus1LowOilPressure         EngineStatus1Const = 4
	EngineStatus1LowOilLevel            EngineStatus1Const = 8
	EngineStatus1LowFuelPressure        EngineStatus1Const = 16
	EngineStatus1LowSystemVoltage       EngineStatus1Const = 32
	EngineStatus1LowCoolantLevel        EngineStatus1Const = 64
	EngineStatus1WaterFlow              EngineStatus1Const = 128
	EngineStatus1WaterInFuel            EngineStatus1Const = 256
	EngineStatus1ChargeIndicator        EngineStatus1Const = 512
	EngineStatus1PreheatIndicator       EngineStatus1Const = 1024
	EngineStatus1HighBoostPressure      EngineStatus1Const = 2048
	EngineStatus1RevLimitExceeded       EngineStatus1Const = 4096
	EngineStatus1EGRSystem              EngineStatus1Const = 8192
	EngineStatus1ThrottlePositionSensor EngineStatus1Const = 16384
	EngineStatus1EmergencyStop          EngineStatus1Const = 32768
)

func (EngineStatus1Const) GoString

func (e EngineStatus1Const) GoString() string

func (EngineStatus1Const) String

func (e EngineStatus1Const) String() string

type EngineStatus2Const

type EngineStatus2Const uint16
const (
	EngineStatus2WarningLevel1          EngineStatus2Const = 1
	EngineStatus2WarningLevel2          EngineStatus2Const = 2
	EngineStatus2PowerReduction         EngineStatus2Const = 4
	EngineStatus2MaintenanceNeeded      EngineStatus2Const = 8
	EngineStatus2EngineCommError        EngineStatus2Const = 16
	EngineStatus2SubOrSecondaryThrottle EngineStatus2Const = 32
	EngineStatus2NeutralStartProtect    EngineStatus2Const = 64
	EngineStatus2EngineShuttingDown     EngineStatus2Const = 128
)

func (EngineStatus2Const) GoString

func (e EngineStatus2Const) GoString() string

func (EngineStatus2Const) String

func (e EngineStatus2Const) String() string

type EntertainmentChannelConst

type EntertainmentChannelConst uint8
const (
	EntertainmentChannelAllChannels     EntertainmentChannelConst = 0
	EntertainmentChannelStereoFullRange EntertainmentChannelConst = 1
	EntertainmentChannelStereoFront     EntertainmentChannelConst = 2
	EntertainmentChannelStereoBack      EntertainmentChannelConst = 3
	EntertainmentChannelStereoSurround  EntertainmentChannelConst = 4
	EntertainmentChannelCenter          EntertainmentChannelConst = 5
	EntertainmentChannelSubwoofer       EntertainmentChannelConst = 6
	EntertainmentChannelFrontLeft       EntertainmentChannelConst = 7
	EntertainmentChannelFrontRight      EntertainmentChannelConst = 8
	EntertainmentChannelBackLeft        EntertainmentChannelConst = 9
	EntertainmentChannelBackRight       EntertainmentChannelConst = 10
	EntertainmentChannelSurroundLeft    EntertainmentChannelConst = 11
	EntertainmentChannelSurroundRight   EntertainmentChannelConst = 12
)

func (EntertainmentChannelConst) GoString

func (e EntertainmentChannelConst) GoString() string

func (EntertainmentChannelConst) String

func (e EntertainmentChannelConst) String() string

type EntertainmentDefaultSettingsConst

type EntertainmentDefaultSettingsConst uint8
const (
	EntertainmentDefaultSettingsSaveCurrentSettingsAsUserDefault EntertainmentDefaultSettingsConst = 0
	EntertainmentDefaultSettingsLoadUserDefault                  EntertainmentDefaultSettingsConst = 1
	EntertainmentDefaultSettingsLoadManufacturerDefault          EntertainmentDefaultSettingsConst = 2
)

func (EntertainmentDefaultSettingsConst) GoString

func (EntertainmentDefaultSettingsConst) String

type EntertainmentDiagnosticStatus

type EntertainmentDiagnosticStatus struct {
	Info           MessageInfo `json:"info"`
	Source         *uint64     `json:"source,omitempty" n2k:"1"`
	Number         *uint64     `json:"number,omitempty" n2k:"2"`
	DiagnosticMode *uint64     `json:"diagnosticMode,omitempty" n2k:"3"`
	DiagnosticData string      `json:"diagnosticData,omitempty" n2k:"5"`
}

func (*EntertainmentDiagnosticStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*EntertainmentDiagnosticStatus) DecodePayload

func (m *EntertainmentDiagnosticStatus) DecodePayload(payload []uint8) error

func (*EntertainmentDiagnosticStatus) EncodePayload

func (m *EntertainmentDiagnosticStatus) EncodePayload() ([]uint8, error)

func (*EntertainmentDiagnosticStatus) MessageInfo

func (m *EntertainmentDiagnosticStatus) MessageInfo() MessageInfo

func (*EntertainmentDiagnosticStatus) PGNNumber

func (m *EntertainmentDiagnosticStatus) PGNNumber() uint32

func (*EntertainmentDiagnosticStatus) SetMessageInfo

func (m *EntertainmentDiagnosticStatus) SetMessageInfo(info MessageInfo)

type EntertainmentEqConst

type EntertainmentEqConst uint8
const (
	EntertainmentEqFlat    EntertainmentEqConst = 0
	EntertainmentEqRock    EntertainmentEqConst = 1
	EntertainmentEqHall    EntertainmentEqConst = 2
	EntertainmentEqJazz    EntertainmentEqConst = 3
	EntertainmentEqPop     EntertainmentEqConst = 4
	EntertainmentEqLive    EntertainmentEqConst = 5
	EntertainmentEqClassic EntertainmentEqConst = 6
	EntertainmentEqVocal   EntertainmentEqConst = 7
	EntertainmentEqArena   EntertainmentEqConst = 8
	EntertainmentEqCinema  EntertainmentEqConst = 9
	EntertainmentEqCustom  EntertainmentEqConst = 10
)

func (EntertainmentEqConst) GoString

func (e EntertainmentEqConst) GoString() string

func (EntertainmentEqConst) String

func (e EntertainmentEqConst) String() string

type EntertainmentFilterConst

type EntertainmentFilterConst uint8
const (
	EntertainmentFilterFullRange   EntertainmentFilterConst = 0
	EntertainmentFilterHighPass    EntertainmentFilterConst = 1
	EntertainmentFilterLowPass     EntertainmentFilterConst = 2
	EntertainmentFilterBandPass    EntertainmentFilterConst = 3
	EntertainmentFilterNotchFilter EntertainmentFilterConst = 4
)

func (EntertainmentFilterConst) GoString

func (e EntertainmentFilterConst) GoString() string

func (EntertainmentFilterConst) String

func (e EntertainmentFilterConst) String() string

type EntertainmentGroupBitfieldConst

type EntertainmentGroupBitfieldConst uint16
const (
	EntertainmentGroupBitfieldFile            EntertainmentGroupBitfieldConst = 1
	EntertainmentGroupBitfieldPlaylistName    EntertainmentGroupBitfieldConst = 2
	EntertainmentGroupBitfieldGenreName       EntertainmentGroupBitfieldConst = 4
	EntertainmentGroupBitfieldAlbumName       EntertainmentGroupBitfieldConst = 8
	EntertainmentGroupBitfieldArtistName      EntertainmentGroupBitfieldConst = 16
	EntertainmentGroupBitfieldTrackName       EntertainmentGroupBitfieldConst = 32
	EntertainmentGroupBitfieldStationName     EntertainmentGroupBitfieldConst = 64
	EntertainmentGroupBitfieldStationNumber   EntertainmentGroupBitfieldConst = 128
	EntertainmentGroupBitfieldFavouriteNumber EntertainmentGroupBitfieldConst = 256
	EntertainmentGroupBitfieldPlayQueue       EntertainmentGroupBitfieldConst = 512
	EntertainmentGroupBitfieldContentInfo     EntertainmentGroupBitfieldConst = 1024
)

func (EntertainmentGroupBitfieldConst) GoString

func (EntertainmentGroupBitfieldConst) String

type EntertainmentGroupConst

type EntertainmentGroupConst uint8
const (
	EntertainmentGroupFile            EntertainmentGroupConst = 0
	EntertainmentGroupPlaylistName    EntertainmentGroupConst = 1
	EntertainmentGroupGenreName       EntertainmentGroupConst = 2
	EntertainmentGroupAlbumName       EntertainmentGroupConst = 3
	EntertainmentGroupArtistName      EntertainmentGroupConst = 4
	EntertainmentGroupTrackName       EntertainmentGroupConst = 5
	EntertainmentGroupStationName     EntertainmentGroupConst = 6
	EntertainmentGroupStationNumber   EntertainmentGroupConst = 7
	EntertainmentGroupFavouriteNumber EntertainmentGroupConst = 8
	EntertainmentGroupPlayQueue       EntertainmentGroupConst = 9
	EntertainmentGroupContentInfo     EntertainmentGroupConst = 10
)

func (EntertainmentGroupConst) GoString

func (e EntertainmentGroupConst) GoString() string

func (EntertainmentGroupConst) String

func (e EntertainmentGroupConst) String() string

type EntertainmentIdTypeConst

type EntertainmentIdTypeConst uint8
const (
	EntertainmentIdTypeGroup          EntertainmentIdTypeConst = 0
	EntertainmentIdTypeFile           EntertainmentIdTypeConst = 1
	EntertainmentIdTypeEncryptedGroup EntertainmentIdTypeConst = 2
	EntertainmentIdTypeEncryptedFile  EntertainmentIdTypeConst = 3
)

func (EntertainmentIdTypeConst) GoString

func (e EntertainmentIdTypeConst) GoString() string

func (EntertainmentIdTypeConst) String

func (e EntertainmentIdTypeConst) String() string

type EntertainmentLikeStatusConst

type EntertainmentLikeStatusConst uint8
const (
	EntertainmentLikeStatusNone       EntertainmentLikeStatusConst = 0
	EntertainmentLikeStatusThumbsUp   EntertainmentLikeStatusConst = 1
	EntertainmentLikeStatusThumbsDown EntertainmentLikeStatusConst = 2
)

func (EntertainmentLikeStatusConst) GoString

func (e EntertainmentLikeStatusConst) GoString() string

func (EntertainmentLikeStatusConst) String

type EntertainmentParentalControlStatus

type EntertainmentParentalControlStatus struct {
	Info           MessageInfo `json:"info"`
	Source         *uint64     `json:"source,omitempty" n2k:"1"`
	Number         *uint64     `json:"number,omitempty" n2k:"2"`
	LockType       *uint64     `json:"lockType,omitempty" n2k:"3"`
	LockStatus     *uint64     `json:"lockStatus,omitempty" n2k:"4"`
	FileStationId  *uint64     `json:"fileStationId,omitempty" n2k:"6"`
	CurrentPincode string      `json:"currentPincode,omitempty" n2k:"7"`
	NewPincode     string      `json:"newPincode,omitempty" n2k:"8"`
}

func (*EntertainmentParentalControlStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*EntertainmentParentalControlStatus) DecodePayload

func (m *EntertainmentParentalControlStatus) DecodePayload(payload []uint8) error

func (*EntertainmentParentalControlStatus) EncodePayload

func (m *EntertainmentParentalControlStatus) EncodePayload() ([]uint8, error)

func (*EntertainmentParentalControlStatus) MessageInfo

func (*EntertainmentParentalControlStatus) PGNNumber

func (*EntertainmentParentalControlStatus) SetMessageInfo

func (m *EntertainmentParentalControlStatus) SetMessageInfo(info MessageInfo)

type EntertainmentPlayStatusBitfieldConst

type EntertainmentPlayStatusBitfieldConst uint32
const (
	EntertainmentPlayStatusBitfieldPlay           EntertainmentPlayStatusBitfieldConst = 1
	EntertainmentPlayStatusBitfieldPause          EntertainmentPlayStatusBitfieldConst = 2
	EntertainmentPlayStatusBitfieldStop           EntertainmentPlayStatusBitfieldConst = 4
	EntertainmentPlayStatusBitfieldFF1x           EntertainmentPlayStatusBitfieldConst = 8
	EntertainmentPlayStatusBitfieldFF2x           EntertainmentPlayStatusBitfieldConst = 16
	EntertainmentPlayStatusBitfieldFF3x           EntertainmentPlayStatusBitfieldConst = 32
	EntertainmentPlayStatusBitfieldFF4x           EntertainmentPlayStatusBitfieldConst = 64
	EntertainmentPlayStatusBitfieldRW1x           EntertainmentPlayStatusBitfieldConst = 128
	EntertainmentPlayStatusBitfieldRW2x           EntertainmentPlayStatusBitfieldConst = 256
	EntertainmentPlayStatusBitfieldRW3x           EntertainmentPlayStatusBitfieldConst = 512
	EntertainmentPlayStatusBitfieldRW4x           EntertainmentPlayStatusBitfieldConst = 1024
	EntertainmentPlayStatusBitfieldSkipAhead      EntertainmentPlayStatusBitfieldConst = 2048
	EntertainmentPlayStatusBitfieldSkipBack       EntertainmentPlayStatusBitfieldConst = 4096
	EntertainmentPlayStatusBitfieldJogAhead       EntertainmentPlayStatusBitfieldConst = 8192
	EntertainmentPlayStatusBitfieldJogBack        EntertainmentPlayStatusBitfieldConst = 16384
	EntertainmentPlayStatusBitfieldSeekUp         EntertainmentPlayStatusBitfieldConst = 32768
	EntertainmentPlayStatusBitfieldSeekDown       EntertainmentPlayStatusBitfieldConst = 65536
	EntertainmentPlayStatusBitfieldScanUp         EntertainmentPlayStatusBitfieldConst = 131072
	EntertainmentPlayStatusBitfieldScanDown       EntertainmentPlayStatusBitfieldConst = 262144
	EntertainmentPlayStatusBitfieldTuneUp         EntertainmentPlayStatusBitfieldConst = 524288
	EntertainmentPlayStatusBitfieldTuneDown       EntertainmentPlayStatusBitfieldConst = 1048576
	EntertainmentPlayStatusBitfieldSlowMotion75x  EntertainmentPlayStatusBitfieldConst = 2097152
	EntertainmentPlayStatusBitfieldSlowMotion5x   EntertainmentPlayStatusBitfieldConst = 4194304
	EntertainmentPlayStatusBitfieldSlowMotion25x  EntertainmentPlayStatusBitfieldConst = 8388608
	EntertainmentPlayStatusBitfieldSlowMotion125x EntertainmentPlayStatusBitfieldConst = 16777216
	EntertainmentPlayStatusBitfieldSourceRenaming EntertainmentPlayStatusBitfieldConst = 33554432
)

func (EntertainmentPlayStatusBitfieldConst) GoString

func (EntertainmentPlayStatusBitfieldConst) String

type EntertainmentPlayStatusConst

type EntertainmentPlayStatusConst uint8
const (
	EntertainmentPlayStatusPlay           EntertainmentPlayStatusConst = 0
	EntertainmentPlayStatusPause          EntertainmentPlayStatusConst = 1
	EntertainmentPlayStatusStop           EntertainmentPlayStatusConst = 2
	EntertainmentPlayStatusFF1x           EntertainmentPlayStatusConst = 3
	EntertainmentPlayStatusFF2x           EntertainmentPlayStatusConst = 4
	EntertainmentPlayStatusFF3x           EntertainmentPlayStatusConst = 5
	EntertainmentPlayStatusFF4x           EntertainmentPlayStatusConst = 6
	EntertainmentPlayStatusRW1x           EntertainmentPlayStatusConst = 7
	EntertainmentPlayStatusRW2x           EntertainmentPlayStatusConst = 8
	EntertainmentPlayStatusRW3x           EntertainmentPlayStatusConst = 9
	EntertainmentPlayStatusRW4x           EntertainmentPlayStatusConst = 10
	EntertainmentPlayStatusSkipAhead      EntertainmentPlayStatusConst = 11
	EntertainmentPlayStatusSkipBack       EntertainmentPlayStatusConst = 12
	EntertainmentPlayStatusJogAhead       EntertainmentPlayStatusConst = 13
	EntertainmentPlayStatusJogBack        EntertainmentPlayStatusConst = 14
	EntertainmentPlayStatusSeekUp         EntertainmentPlayStatusConst = 15
	EntertainmentPlayStatusSeekDown       EntertainmentPlayStatusConst = 16
	EntertainmentPlayStatusScanUp         EntertainmentPlayStatusConst = 17
	EntertainmentPlayStatusScanDown       EntertainmentPlayStatusConst = 18
	EntertainmentPlayStatusTuneUp         EntertainmentPlayStatusConst = 19
	EntertainmentPlayStatusTuneDown       EntertainmentPlayStatusConst = 20
	EntertainmentPlayStatusSlowMotion75x  EntertainmentPlayStatusConst = 21
	EntertainmentPlayStatusSlowMotion5x   EntertainmentPlayStatusConst = 22
	EntertainmentPlayStatusSlowMotion25x  EntertainmentPlayStatusConst = 23
	EntertainmentPlayStatusSlowMotion125x EntertainmentPlayStatusConst = 24
)

func (EntertainmentPlayStatusConst) GoString

func (e EntertainmentPlayStatusConst) GoString() string

func (EntertainmentPlayStatusConst) String

type EntertainmentRegionsConst

type EntertainmentRegionsConst uint8
const (
	EntertainmentRegionsUSA          EntertainmentRegionsConst = 0
	EntertainmentRegionsEurope       EntertainmentRegionsConst = 1
	EntertainmentRegionsAsia         EntertainmentRegionsConst = 2
	EntertainmentRegionsMiddleEast   EntertainmentRegionsConst = 3
	EntertainmentRegionsLatinAmerica EntertainmentRegionsConst = 4
	EntertainmentRegionsAustralia    EntertainmentRegionsConst = 5
	EntertainmentRegionsRussia       EntertainmentRegionsConst = 6
	EntertainmentRegionsJapan        EntertainmentRegionsConst = 7
)

func (EntertainmentRegionsConst) GoString

func (e EntertainmentRegionsConst) GoString() string

func (EntertainmentRegionsConst) String

func (e EntertainmentRegionsConst) String() string

type EntertainmentRepeatBitfieldConst

type EntertainmentRepeatBitfieldConst uint8
const (
	EntertainmentRepeatBitfieldSong      EntertainmentRepeatBitfieldConst = 1
	EntertainmentRepeatBitfieldPlayQueue EntertainmentRepeatBitfieldConst = 2
)

func (EntertainmentRepeatBitfieldConst) GoString

func (EntertainmentRepeatBitfieldConst) String

type EntertainmentRepeatStatusConst

type EntertainmentRepeatStatusConst uint8
const (
	EntertainmentRepeatStatusOff EntertainmentRepeatStatusConst = 0
	EntertainmentRepeatStatusOne EntertainmentRepeatStatusConst = 1
	EntertainmentRepeatStatusAll EntertainmentRepeatStatusConst = 2
)

func (EntertainmentRepeatStatusConst) GoString

func (EntertainmentRepeatStatusConst) String

type EntertainmentShuffleBitfieldConst

type EntertainmentShuffleBitfieldConst uint8
const (
	EntertainmentShuffleBitfieldPlayQueue EntertainmentShuffleBitfieldConst = 1
	EntertainmentShuffleBitfieldAll       EntertainmentShuffleBitfieldConst = 2
)

func (EntertainmentShuffleBitfieldConst) GoString

func (EntertainmentShuffleBitfieldConst) String

type EntertainmentShuffleStatusConst

type EntertainmentShuffleStatusConst uint8
const (
	EntertainmentShuffleStatusOff       EntertainmentShuffleStatusConst = 0
	EntertainmentShuffleStatusPlayQueue EntertainmentShuffleStatusConst = 1
	EntertainmentShuffleStatusAll       EntertainmentShuffleStatusConst = 2
)

func (EntertainmentShuffleStatusConst) GoString

func (EntertainmentShuffleStatusConst) String

type EntertainmentSourceConst

type EntertainmentSourceConst uint8
const (
	EntertainmentSourceVesselAlarm EntertainmentSourceConst = 0
	EntertainmentSourceAM          EntertainmentSourceConst = 1
	EntertainmentSourceFM          EntertainmentSourceConst = 2
	EntertainmentSourceWeather     EntertainmentSourceConst = 3
	EntertainmentSourceDAB         EntertainmentSourceConst = 4
	EntertainmentSourceAux         EntertainmentSourceConst = 5
	EntertainmentSourceUSB         EntertainmentSourceConst = 6
	EntertainmentSourceCD          EntertainmentSourceConst = 7
	EntertainmentSourceMP3         EntertainmentSourceConst = 8
	EntertainmentSourceAppleIOS    EntertainmentSourceConst = 9
	EntertainmentSourceAndroid     EntertainmentSourceConst = 10
	EntertainmentSourceBluetooth   EntertainmentSourceConst = 11
	EntertainmentSourceSiriusXM    EntertainmentSourceConst = 12
	EntertainmentSourcePandora     EntertainmentSourceConst = 13
	EntertainmentSourceSpotify     EntertainmentSourceConst = 14
	EntertainmentSourceSlacker     EntertainmentSourceConst = 15
	EntertainmentSourceSongza      EntertainmentSourceConst = 16
	EntertainmentSourceAppleRadio  EntertainmentSourceConst = 17
	EntertainmentSourceLastFM      EntertainmentSourceConst = 18
	EntertainmentSourceEthernet    EntertainmentSourceConst = 19
	EntertainmentSourceVideoMP4    EntertainmentSourceConst = 20
	EntertainmentSourceVideoDVD    EntertainmentSourceConst = 21
	EntertainmentSourceVideoBluRay EntertainmentSourceConst = 22
	EntertainmentSourceHDMI        EntertainmentSourceConst = 23
	EntertainmentSourceVideo       EntertainmentSourceConst = 24
)

func (EntertainmentSourceConst) GoString

func (e EntertainmentSourceConst) GoString() string

func (EntertainmentSourceConst) String

func (e EntertainmentSourceConst) String() string

type EntertainmentTypeConst

type EntertainmentTypeConst uint8
const (
	EntertainmentTypeFile            EntertainmentTypeConst = 0
	EntertainmentTypePlaylistName    EntertainmentTypeConst = 1
	EntertainmentTypeGenreName       EntertainmentTypeConst = 2
	EntertainmentTypeAlbumName       EntertainmentTypeConst = 3
	EntertainmentTypeArtistName      EntertainmentTypeConst = 4
	EntertainmentTypeTrackName       EntertainmentTypeConst = 5
	EntertainmentTypeStationName     EntertainmentTypeConst = 6
	EntertainmentTypeStationNumber   EntertainmentTypeConst = 7
	EntertainmentTypeFavouriteNumber EntertainmentTypeConst = 8
	EntertainmentTypePlayQueue       EntertainmentTypeConst = 9
	EntertainmentTypeContentInfo     EntertainmentTypeConst = 10
)

func (EntertainmentTypeConst) GoString

func (e EntertainmentTypeConst) GoString() string

func (EntertainmentTypeConst) String

func (e EntertainmentTypeConst) String() string

type EntertainmentVolumeControlConst

type EntertainmentVolumeControlConst uint8
const (
	EntertainmentVolumeControlUp   EntertainmentVolumeControlConst = 0
	EntertainmentVolumeControlDown EntertainmentVolumeControlConst = 1
)

func (EntertainmentVolumeControlConst) GoString

func (EntertainmentVolumeControlConst) String

type EntertainmentZoneConst

type EntertainmentZoneConst uint8
const (
	EntertainmentZoneAllZones EntertainmentZoneConst = 0
	EntertainmentZoneZone1    EntertainmentZoneConst = 1
	EntertainmentZoneZone2    EntertainmentZoneConst = 2
	EntertainmentZoneZone3    EntertainmentZoneConst = 3
	EntertainmentZoneZone4    EntertainmentZoneConst = 4
)

func (EntertainmentZoneConst) GoString

func (e EntertainmentZoneConst) GoString() string

func (EntertainmentZoneConst) String

func (e EntertainmentZoneConst) String() string

type EnvironmentalParameters

type EnvironmentalParameters struct {
	Info                MessageInfo `json:"info"`
	Sid                 *uint64     `json:"sid,omitempty" n2k:"1"`
	TemperatureSource   *uint64     `json:"temperatureSource,omitempty" n2k:"2"`
	HumiditySource      *uint64     `json:"humiditySource,omitempty" n2k:"3"`
	Temperature         *uint64     `json:"temperature,omitempty" n2k:"4"`
	Humidity            *int64      `json:"humidity,omitempty" n2k:"5"`
	AtmosphericPressure *uint64     `json:"atmosphericPressure,omitempty" n2k:"6"`
}

func (*EnvironmentalParameters) AtmosphericPressureValue

func (m *EnvironmentalParameters) AtmosphericPressureValue() (float64, bool)

AtmosphericPressureValue returns AtmosphericPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EnvironmentalParameters) Clone added in v1.3.0

func (m *EnvironmentalParameters) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*EnvironmentalParameters) DecodePayload

func (m *EnvironmentalParameters) DecodePayload(payload []uint8) error

func (*EnvironmentalParameters) EncodePayload

func (m *EnvironmentalParameters) EncodePayload() ([]uint8, error)

func (*EnvironmentalParameters) HumidityValue

func (m *EnvironmentalParameters) HumidityValue() (float64, bool)

HumidityValue returns Humidity as a physical value in % (value = raw * 0.004). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EnvironmentalParameters) MessageInfo

func (m *EnvironmentalParameters) MessageInfo() MessageInfo

func (*EnvironmentalParameters) PGNNumber

func (m *EnvironmentalParameters) PGNNumber() uint32

func (*EnvironmentalParameters) SetAtmosphericPressureValue

func (m *EnvironmentalParameters) SetAtmosphericPressureValue(v float64)

SetAtmosphericPressureValue sets AtmosphericPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*EnvironmentalParameters) SetHumidityValue

func (m *EnvironmentalParameters) SetHumidityValue(v float64)

SetHumidityValue sets Humidity from a physical value in %, rounded to the nearest wire tick of 0.004.

func (*EnvironmentalParameters) SetMessageInfo

func (m *EnvironmentalParameters) SetMessageInfo(info MessageInfo)

func (*EnvironmentalParameters) SetTemperatureValue

func (m *EnvironmentalParameters) SetTemperatureValue(v float64)

SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*EnvironmentalParameters) TemperatureValue

func (m *EnvironmentalParameters) TemperatureValue() (float64, bool)

TemperatureValue returns Temperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type EnvironmentalParametersObsolete

type EnvironmentalParametersObsolete struct {
	Info                         MessageInfo `json:"info"`
	Sid                          *uint64     `json:"sid,omitempty" n2k:"1"`
	WaterTemperature             *uint64     `json:"waterTemperature,omitempty" n2k:"2"`
	OutsideAmbientAirTemperature *uint64     `json:"outsideAmbientAirTemperature,omitempty" n2k:"3"`
	AtmosphericPressure          *uint64     `json:"atmosphericPressure,omitempty" n2k:"4"`
}

func (*EnvironmentalParametersObsolete) AtmosphericPressureValue

func (m *EnvironmentalParametersObsolete) AtmosphericPressureValue() (float64, bool)

AtmosphericPressureValue returns AtmosphericPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EnvironmentalParametersObsolete) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*EnvironmentalParametersObsolete) DecodePayload

func (m *EnvironmentalParametersObsolete) DecodePayload(payload []uint8) error

func (*EnvironmentalParametersObsolete) EncodePayload

func (m *EnvironmentalParametersObsolete) EncodePayload() ([]uint8, error)

func (*EnvironmentalParametersObsolete) MessageInfo

func (*EnvironmentalParametersObsolete) OutsideAmbientAirTemperatureValue

func (m *EnvironmentalParametersObsolete) OutsideAmbientAirTemperatureValue() (float64, bool)

OutsideAmbientAirTemperatureValue returns OutsideAmbientAirTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*EnvironmentalParametersObsolete) PGNNumber

func (m *EnvironmentalParametersObsolete) PGNNumber() uint32

func (*EnvironmentalParametersObsolete) SetAtmosphericPressureValue

func (m *EnvironmentalParametersObsolete) SetAtmosphericPressureValue(v float64)

SetAtmosphericPressureValue sets AtmosphericPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*EnvironmentalParametersObsolete) SetMessageInfo

func (m *EnvironmentalParametersObsolete) SetMessageInfo(info MessageInfo)

func (*EnvironmentalParametersObsolete) SetOutsideAmbientAirTemperatureValue

func (m *EnvironmentalParametersObsolete) SetOutsideAmbientAirTemperatureValue(v float64)

SetOutsideAmbientAirTemperatureValue sets OutsideAmbientAirTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*EnvironmentalParametersObsolete) SetWaterTemperatureValue

func (m *EnvironmentalParametersObsolete) SetWaterTemperatureValue(v float64)

SetWaterTemperatureValue sets WaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*EnvironmentalParametersObsolete) WaterTemperatureValue

func (m *EnvironmentalParametersObsolete) WaterTemperatureValue() (float64, bool)

WaterTemperatureValue returns WaterTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type EquipmentStatusConst

type EquipmentStatusConst uint8
const (
	EquipmentStatusOperational EquipmentStatusConst = 0
	EquipmentStatusFault       EquipmentStatusConst = 1
)

func (EquipmentStatusConst) GoString

func (e EquipmentStatusConst) GoString() string

func (EquipmentStatusConst) String

func (e EquipmentStatusConst) String() string

type FieldDescriptor

type FieldDescriptor struct {
	// SourceID is the upstream source field Id.
	SourceID string `json:"sourceId"`
	// Name is the source field name (e.g., "Heading", "SID", "Manufacturer Code").
	Name string `json:"name"`
	// Description is the source schema's per-field description, when present.
	Description string `json:"description,omitempty"`
	// BitLength is the width of this field in bits. For variable-length fields,
	// this may be a nominal/default length.
	BitLength uint16 `json:"bitLength"`
	// BitLengthField is the field order that defines a variable-length field's width.
	BitLengthField *int `json:"bitLengthField,omitempty"`
	// BitOffset is the absolute bit position of this field from the start of the PGN payload.
	BitOffset uint16 `json:"bitOffset"`
	// BitLengthVariable is true when the field's actual length is determined at runtime
	// (e.g., STRING_LAU fields whose length is encoded in a preceding byte).
	BitLengthVariable bool `json:"bitLengthVariable"`
	// SourceType is the source field type string (e.g., "NUMBER", "LOOKUP", "STRING_LAU",
	// "STRING_LZ", "STRING_FIX"). It drives type-specific decoding logic.
	SourceType string `json:"sourceType"`
	// BitStart is the bit position within the containing byte when the source schema provides it.
	BitStart uint16 `json:"bitStart"`
	// PhysicalQuantity is the source schema physical quantity identifier.
	PhysicalQuantity string `json:"physicalQuantity,omitempty"`
	// LookupEnumeration is the source lookup enumeration name, when present.
	LookupEnumeration string `json:"lookupEnumeration,omitempty"`
	// LookupBitEnumeration is the source bit lookup enumeration name, when present.
	LookupBitEnumeration string `json:"lookupBitEnumeration,omitempty"`
	// LookupIndirectEnumeration is the source indirect lookup enumeration name, when present.
	LookupIndirectEnumeration string `json:"lookupIndirectEnumeration,omitempty"`
	// LookupFieldTypeEnumeration is the source field-type lookup name, when present.
	LookupFieldTypeEnumeration string `json:"lookupFieldTypeEnumeration,omitempty"`
	// LookupIndirectEnumerationFieldOrder identifies the field that selects an indirect lookup.
	LookupIndirectEnumerationFieldOrder *int `json:"lookupIndirectEnumerationFieldOrder,omitempty"`
	// Condition is the source field-level inclusion predicate, when present.
	Condition string `json:"condition,omitempty"`
	// Offset is an additive physical-value offset from the source schema.
	Offset *float64 `json:"offset,omitempty"`
	// RangeMin and RangeMax are the physical-value bounds from the source schema.
	RangeMin *float64 `json:"rangeMin,omitempty"`
	RangeMax *float64 `json:"rangeMax,omitempty"`
	// Source sentinel values for nullable and special numeric states.
	OutOfRangeValue *int64 `json:"outOfRangeValue,omitempty"`
	ReservedValue   *int64 `json:"reservedValue,omitempty"`
	UnknownValue    *int64 `json:"unknownValue,omitempty"`
	// PartOfPrimaryKey marks fields the source schema uses to identify repeated rows.
	PartOfPrimaryKey *bool `json:"partOfPrimaryKey,omitempty"`
	// GolangType is the Go type name used in the generated struct field (e.g., "*uint8", "float32").
	GolangType string `json:"golangType"`
	// Resolution is the scaling factor applied to integer fields to produce physical units
	// (e.g., 0.0001 for a heading field stored in units of 1/10000 radian).
	Resolution float64 `json:"resolution"`
	// Signed indicates whether this numeric field uses two's-complement signed encoding.
	Signed bool `json:"signed"`
	// Unit is the physical unit string from the source schema (e.g., "rad", "m/s", "K").
	Unit string `json:"unit"`
	// BitLookupName is the name of the bit-enumeration lookup table, if this field
	// is a bitfield-type enum. Empty for non-lookup fields.
	BitLookupName string `json:"bitLookupName"`
	// Match is non-nil for fields that must match a specific value to select a PGN variant.
	// For example, proprietary PGN variants use a Match on the manufacturer code field
	// to distinguish which decoder to use.
	Match *int `json:"match"`
}

FieldDescriptor holds metadata about a single field within a PGN definition. It is used at runtime by decode and encode helpers to handle fields whose type or length cannot be fully resolved at code-generation time.

func GetFieldDescriptor

func GetFieldDescriptor(pgn uint32, manID ManufacturerCodeConst, fieldIndex uint8) (*FieldDescriptor, error)

GetFieldDescriptor looks up the FieldDescriptor for a specific field within a PGN. Parameters:

  • pgn: the PGN number to look up
  • manID: the manufacturer code, used to disambiguate proprietary PGN variants (pass 0 for standard/non-proprietary PGNs)
  • fieldIndex: the 1-based field index matching the source field order

For non-proprietary PGNs, the first (and usually only) variant is used. For proprietary PGNs, the variant matching manID is selected. If manID is 0 and multiple variants exist, an error is returned because the correct variant cannot be determined without a manufacturer code.

Returns an error if the PGN is unknown, the field index doesn't exist, or the variant cannot be disambiguated.

type FloodStateConst added in v1.3.0

type FloodStateConst uint8
const (
	FloodStateFlood FloodStateConst = 0
	FloodStateSlack FloodStateConst = 1
	FloodStateEbb   FloodStateConst = 2
)

func (FloodStateConst) GoString added in v1.3.0

func (e FloodStateConst) GoString() string

func (FloodStateConst) String added in v1.3.0

func (e FloodStateConst) String() string

type FluidLevel

type FluidLevel struct {
	Info     MessageInfo `json:"info"`
	Instance *uint64     `json:"instance,omitempty" n2k:"1"`
	Type     *uint64     `json:"type,omitempty" n2k:"2"`
	Level    *int64      `json:"level,omitempty" n2k:"3"`
	Capacity *uint64     `json:"capacity,omitempty" n2k:"4"`
}

func (*FluidLevel) CapacityValue

func (m *FluidLevel) CapacityValue() (float64, bool)

CapacityValue returns Capacity as a physical value in L (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FluidLevel) Clone added in v1.3.0

func (m *FluidLevel) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FluidLevel) DecodePayload

func (m *FluidLevel) DecodePayload(payload []uint8) error

func (*FluidLevel) EncodePayload

func (m *FluidLevel) EncodePayload() ([]uint8, error)

func (*FluidLevel) LevelValue

func (m *FluidLevel) LevelValue() (float64, bool)

LevelValue returns Level as a physical value in % (value = raw * 0.004). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FluidLevel) MessageInfo

func (m *FluidLevel) MessageInfo() MessageInfo

func (*FluidLevel) PGNNumber

func (m *FluidLevel) PGNNumber() uint32

func (*FluidLevel) SetCapacityValue

func (m *FluidLevel) SetCapacityValue(v float64)

SetCapacityValue sets Capacity from a physical value in L, rounded to the nearest wire tick of 0.1.

func (*FluidLevel) SetLevelValue

func (m *FluidLevel) SetLevelValue(v float64)

SetLevelValue sets Level from a physical value in %, rounded to the nearest wire tick of 0.004.

func (*FluidLevel) SetMessageInfo

func (m *FluidLevel) SetMessageInfo(info MessageInfo)

type FurunoBaselineStatusConst added in v1.3.0

type FurunoBaselineStatusConst uint8
const (
	FurunoBaselineStatusBaselineAntenna12 FurunoBaselineStatusConst = 1
	FurunoBaselineStatusBaselineAntenna23 FurunoBaselineStatusConst = 2
	FurunoBaselineStatusBaselineAntenna34 FurunoBaselineStatusConst = 4
	FurunoBaselineStatusBaselineAntenna41 FurunoBaselineStatusConst = 8
	FurunoBaselineStatusBaselineAntenna13 FurunoBaselineStatusConst = 16
	FurunoBaselineStatusBaselineAntenna24 FurunoBaselineStatusConst = 32
)

func (FurunoBaselineStatusConst) GoString added in v1.3.0

func (e FurunoBaselineStatusConst) GoString() string

func (FurunoBaselineStatusConst) String added in v1.3.0

func (e FurunoBaselineStatusConst) String() string

type FurunoDeadReckoningConfiguration

type FurunoDeadReckoningConfiguration struct {
	Info              MessageInfo `json:"info"`
	ManufacturerCode  *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode      *uint64     `json:"industryCode,omitempty" n2k:"3"`
	F4                *uint64     `json:"f4,omitempty" n2k:"4"`
	F5                *uint64     `json:"f5,omitempty" n2k:"5"`
	F6                *uint64     `json:"f6,omitempty" n2k:"6"`
	F7                *uint64     `json:"f7,omitempty" n2k:"7"`
	F8                *uint64     `json:"f8,omitempty" n2k:"8"`
	DeadReckoningTime *uint64     `json:"deadReckoningTime,omitempty" n2k:"9"`
	F10               *uint64     `json:"f10,omitempty" n2k:"10"`
	F11               *uint64     `json:"f11,omitempty" n2k:"11"`
}

func (*FurunoDeadReckoningConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoDeadReckoningConfiguration) DecodePayload

func (m *FurunoDeadReckoningConfiguration) DecodePayload(payload []uint8) error

func (*FurunoDeadReckoningConfiguration) EncodePayload

func (m *FurunoDeadReckoningConfiguration) EncodePayload() ([]uint8, error)

func (*FurunoDeadReckoningConfiguration) MessageInfo

func (*FurunoDeadReckoningConfiguration) PGNNumber

func (*FurunoDeadReckoningConfiguration) SetMessageInfo

func (m *FurunoDeadReckoningConfiguration) SetMessageInfo(info MessageInfo)

type FurunoHeave

type FurunoHeave struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Heave            *int64      `json:"heave,omitempty" n2k:"4"`
}

func (*FurunoHeave) Clone added in v1.3.0

func (m *FurunoHeave) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoHeave) DecodePayload

func (m *FurunoHeave) DecodePayload(payload []uint8) error

func (*FurunoHeave) EncodePayload

func (m *FurunoHeave) EncodePayload() ([]uint8, error)

func (*FurunoHeave) HeaveValue

func (m *FurunoHeave) HeaveValue() (float64, bool)

HeaveValue returns Heave as a physical value in m (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoHeave) MessageInfo

func (m *FurunoHeave) MessageInfo() MessageInfo

func (*FurunoHeave) PGNNumber

func (m *FurunoHeave) PGNNumber() uint32

func (*FurunoHeave) SetHeaveValue

func (m *FurunoHeave) SetHeaveValue(v float64)

SetHeaveValue sets Heave from a physical value in m, rounded to the nearest wire tick of 0.001.

func (*FurunoHeave) SetMessageInfo

func (m *FurunoHeave) SetMessageInfo(info MessageInfo)

type FurunoHeelAngleRollInformation

type FurunoHeelAngleRollInformation struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Heel             *int64      `json:"heel,omitempty" n2k:"4"`
	Field4           *int64      `json:"field4,omitempty" n2k:"5"`
	Field6           *int64      `json:"field6,omitempty" n2k:"6"`
	Field8           *int64      `json:"field8,omitempty" n2k:"7"`
}

func (*FurunoHeelAngleRollInformation) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoHeelAngleRollInformation) DecodePayload

func (m *FurunoHeelAngleRollInformation) DecodePayload(payload []uint8) error

func (*FurunoHeelAngleRollInformation) EncodePayload

func (m *FurunoHeelAngleRollInformation) EncodePayload() ([]uint8, error)

func (*FurunoHeelAngleRollInformation) Field4Value

func (m *FurunoHeelAngleRollInformation) Field4Value() (float64, bool)

Field4Value returns Field4 as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoHeelAngleRollInformation) Field6Value

func (m *FurunoHeelAngleRollInformation) Field6Value() (float64, bool)

Field6Value returns Field6 as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoHeelAngleRollInformation) Field8Value

func (m *FurunoHeelAngleRollInformation) Field8Value() (float64, bool)

Field8Value returns Field8 as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoHeelAngleRollInformation) HeelValue

func (m *FurunoHeelAngleRollInformation) HeelValue() (float64, bool)

HeelValue returns Heel as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoHeelAngleRollInformation) MessageInfo

func (*FurunoHeelAngleRollInformation) PGNNumber

func (m *FurunoHeelAngleRollInformation) PGNNumber() uint32

func (*FurunoHeelAngleRollInformation) SetField4Value

func (m *FurunoHeelAngleRollInformation) SetField4Value(v float64)

SetField4Value sets Field4 from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*FurunoHeelAngleRollInformation) SetField6Value

func (m *FurunoHeelAngleRollInformation) SetField6Value(v float64)

SetField6Value sets Field6 from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*FurunoHeelAngleRollInformation) SetField8Value

func (m *FurunoHeelAngleRollInformation) SetField8Value(v float64)

SetField8Value sets Field8 from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*FurunoHeelAngleRollInformation) SetHeelValue

func (m *FurunoHeelAngleRollInformation) SetHeelValue(v float64)

SetHeelValue sets Heel from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*FurunoHeelAngleRollInformation) SetMessageInfo

func (m *FurunoHeelAngleRollInformation) SetMessageInfo(info MessageInfo)

type FurunoMotionSensorStatusExtended

type FurunoMotionSensorStatusExtended struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Status           *uint64     `json:"status,omitempty" n2k:"4"`
	Data             []uint8     `json:"data,omitempty" n2k:"5"`
}

func (*FurunoMotionSensorStatusExtended) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoMotionSensorStatusExtended) DecodePayload

func (m *FurunoMotionSensorStatusExtended) DecodePayload(payload []uint8) error

func (*FurunoMotionSensorStatusExtended) EncodePayload

func (m *FurunoMotionSensorStatusExtended) EncodePayload() ([]uint8, error)

func (*FurunoMotionSensorStatusExtended) MessageInfo

func (*FurunoMotionSensorStatusExtended) PGNNumber

func (*FurunoMotionSensorStatusExtended) SetMessageInfo

func (m *FurunoMotionSensorStatusExtended) SetMessageInfo(info MessageInfo)

type FurunoMultiSatsInViewExtended

type FurunoMultiSatsInViewExtended struct {
	Info             MessageInfo                               `json:"info"`
	ManufacturerCode *uint64                                   `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64                                   `json:"industryCode,omitempty" n2k:"3"`
	ReportType       *uint64                                   `json:"reportType,omitempty" n2k:"4"`
	Antenna          *uint64                                   `json:"antenna,omitempty" n2k:"5"`
	PageType         *uint64                                   `json:"pageType,omitempty" n2k:"6"`
	Page             *uint64                                   `json:"page,omitempty" n2k:"7"`
	SatsInUse        *uint64                                   `json:"satsInUse,omitempty" n2k:"9"`
	SatsInView       *uint64                                   `json:"satsInView,omitempty" n2k:"10"`
	Repeating1       []FurunoMultiSatsInViewExtendedRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*FurunoMultiSatsInViewExtended) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoMultiSatsInViewExtended) DecodePayload

func (m *FurunoMultiSatsInViewExtended) DecodePayload(payload []uint8) error

func (*FurunoMultiSatsInViewExtended) EncodePayload

func (m *FurunoMultiSatsInViewExtended) EncodePayload() ([]uint8, error)

func (*FurunoMultiSatsInViewExtended) MessageInfo

func (m *FurunoMultiSatsInViewExtended) MessageInfo() MessageInfo

func (*FurunoMultiSatsInViewExtended) PGNNumber

func (m *FurunoMultiSatsInViewExtended) PGNNumber() uint32

func (*FurunoMultiSatsInViewExtended) SetMessageInfo

func (m *FurunoMultiSatsInViewExtended) SetMessageInfo(info MessageInfo)

type FurunoMultiSatsInViewExtendedRepeating1

type FurunoMultiSatsInViewExtendedRepeating1 struct {
	Prn            *uint64 `json:"prn,omitempty" n2k:"11"`
	Elevation      *int64  `json:"elevation,omitempty" n2k:"12"`
	Azimuth        *int64  `json:"azimuth,omitempty" n2k:"13"`
	Snr            *int64  `json:"snr,omitempty" n2k:"14"`
	RangeResidual  *int64  `json:"rangeResidual,omitempty" n2k:"15"`
	BaselineStatus *uint64 `json:"baselineStatus,omitempty" n2k:"16"`
}

func (*FurunoMultiSatsInViewExtendedRepeating1) AzimuthValue

AzimuthValue returns Azimuth as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoMultiSatsInViewExtendedRepeating1) ElevationValue

func (m *FurunoMultiSatsInViewExtendedRepeating1) ElevationValue() (float64, bool)

ElevationValue returns Elevation as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoMultiSatsInViewExtendedRepeating1) RangeResidualValue

func (m *FurunoMultiSatsInViewExtendedRepeating1) RangeResidualValue() (float64, bool)

RangeResidualValue returns RangeResidual as a physical value in m (value = raw * 1e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoMultiSatsInViewExtendedRepeating1) SetAzimuthValue

func (m *FurunoMultiSatsInViewExtendedRepeating1) SetAzimuthValue(v float64)

SetAzimuthValue sets Azimuth from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*FurunoMultiSatsInViewExtendedRepeating1) SetElevationValue

func (m *FurunoMultiSatsInViewExtendedRepeating1) SetElevationValue(v float64)

SetElevationValue sets Elevation from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*FurunoMultiSatsInViewExtendedRepeating1) SetRangeResidualValue

func (m *FurunoMultiSatsInViewExtendedRepeating1) SetRangeResidualValue(v float64)

SetRangeResidualValue sets RangeResidual from a physical value in m, rounded to the nearest wire tick of 1e-05.

func (*FurunoMultiSatsInViewExtendedRepeating1) SetSnrValue

SetSnrValue sets Snr from a physical value in dB, rounded to the nearest wire tick of 0.01.

func (*FurunoMultiSatsInViewExtendedRepeating1) SnrValue

SnrValue returns Snr as a physical value in dB (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type FurunoNavpilotStatus

type FurunoNavpilotStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	RudderAngle      *uint64     `json:"rudderAngle,omitempty" n2k:"5"`
	A                *int64      `json:"a,omitempty" n2k:"6"`
	B                *uint64     `json:"b,omitempty" n2k:"7"`
	CommandedCourse  *uint64     `json:"commandedCourse,omitempty" n2k:"8"`
	C                *uint64     `json:"c,omitempty" n2k:"9"`
	D                *uint64     `json:"d,omitempty" n2k:"10"`
}

func (*FurunoNavpilotStatus) Clone added in v1.3.0

func (m *FurunoNavpilotStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoNavpilotStatus) CommandedCourseValue

func (m *FurunoNavpilotStatus) CommandedCourseValue() (float64, bool)

CommandedCourseValue returns CommandedCourse as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoNavpilotStatus) DecodePayload

func (m *FurunoNavpilotStatus) DecodePayload(payload []uint8) error

func (*FurunoNavpilotStatus) EncodePayload

func (m *FurunoNavpilotStatus) EncodePayload() ([]uint8, error)

func (*FurunoNavpilotStatus) MessageInfo

func (m *FurunoNavpilotStatus) MessageInfo() MessageInfo

func (*FurunoNavpilotStatus) PGNNumber

func (m *FurunoNavpilotStatus) PGNNumber() uint32

func (*FurunoNavpilotStatus) RudderAngleValue

func (m *FurunoNavpilotStatus) RudderAngleValue() (float64, bool)

RudderAngleValue returns RudderAngle as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoNavpilotStatus) SetCommandedCourseValue

func (m *FurunoNavpilotStatus) SetCommandedCourseValue(v float64)

SetCommandedCourseValue sets CommandedCourse from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*FurunoNavpilotStatus) SetMessageInfo

func (m *FurunoNavpilotStatus) SetMessageInfo(info MessageInfo)

func (*FurunoNavpilotStatus) SetRudderAngleValue

func (m *FurunoNavpilotStatus) SetRudderAngleValue(v float64)

SetRudderAngleValue sets RudderAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.

type FurunoSensorSetup

type FurunoSensorSetup struct {
	Info                   MessageInfo `json:"info"`
	ManufacturerCode       *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode           *uint64     `json:"industryCode,omitempty" n2k:"3"`
	RotationSmoothing      *uint64     `json:"rotationSmoothing,omitempty" n2k:"4"`
	HeadingOffset          *int64      `json:"headingOffset,omitempty" n2k:"5"`
	PitchOffset            *int64      `json:"pitchOffset,omitempty" n2k:"6"`
	RollOffset             *int64      `json:"rollOffset,omitempty" n2k:"7"`
	F8                     *uint64     `json:"f8,omitempty" n2k:"8"`
	F9                     *uint64     `json:"f9,omitempty" n2k:"9"`
	SogAndCogSmoothing     *int64      `json:"sogAndCogSmoothing,omitempty" n2k:"10"`
	Pgn3AxisSpeedSmoothing *int64      `json:"3AxisSpeedSmoothing,omitempty" n2k:"11"`
	Fc                     *uint64     `json:"fc,omitempty" n2k:"12"`
	Pgn3AxisOffset         *int64      `json:"3AxisOffset,omitempty" n2k:"13"`
	AirPressureOffset      *int64      `json:"airPressureOffset,omitempty" n2k:"14"`
	AirTemperatureOffset   *int64      `json:"airTemperatureOffset,omitempty" n2k:"15"`
}

func (*FurunoSensorSetup) AirPressureOffsetValue

func (m *FurunoSensorSetup) AirPressureOffsetValue() (float64, bool)

AirPressureOffsetValue returns AirPressureOffset as a physical value in Pa (value = raw * 10). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSensorSetup) AirTemperatureOffsetValue

func (m *FurunoSensorSetup) AirTemperatureOffsetValue() (float64, bool)

AirTemperatureOffsetValue returns AirTemperatureOffset as a physical value in K (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSensorSetup) Clone added in v1.3.0

func (m *FurunoSensorSetup) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoSensorSetup) DecodePayload

func (m *FurunoSensorSetup) DecodePayload(payload []uint8) error

func (*FurunoSensorSetup) EncodePayload

func (m *FurunoSensorSetup) EncodePayload() ([]uint8, error)

func (*FurunoSensorSetup) HeadingOffsetValue

func (m *FurunoSensorSetup) HeadingOffsetValue() (float64, bool)

HeadingOffsetValue returns HeadingOffset as a physical value in deg (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSensorSetup) MessageInfo

func (m *FurunoSensorSetup) MessageInfo() MessageInfo

func (*FurunoSensorSetup) PGNNumber

func (m *FurunoSensorSetup) PGNNumber() uint32

func (*FurunoSensorSetup) Pgn3AxisOffsetValue

func (m *FurunoSensorSetup) Pgn3AxisOffsetValue() (float64, bool)

Pgn3AxisOffsetValue returns Pgn3AxisOffset as a physical value in % (value = raw * 0.00032). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSensorSetup) Pgn3AxisSpeedSmoothingValue

func (m *FurunoSensorSetup) Pgn3AxisSpeedSmoothingValue() (float64, bool)

Pgn3AxisSpeedSmoothingValue returns Pgn3AxisSpeedSmoothing as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSensorSetup) PitchOffsetValue

func (m *FurunoSensorSetup) PitchOffsetValue() (float64, bool)

PitchOffsetValue returns PitchOffset as a physical value in deg (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSensorSetup) RollOffsetValue

func (m *FurunoSensorSetup) RollOffsetValue() (float64, bool)

RollOffsetValue returns RollOffset as a physical value in deg (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSensorSetup) RotationSmoothingValue

func (m *FurunoSensorSetup) RotationSmoothingValue() (float64, bool)

RotationSmoothingValue returns RotationSmoothing as a physical value in s (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSensorSetup) SetAirPressureOffsetValue

func (m *FurunoSensorSetup) SetAirPressureOffsetValue(v float64)

SetAirPressureOffsetValue sets AirPressureOffset from a physical value in Pa, rounded to the nearest wire tick of 10.

func (*FurunoSensorSetup) SetAirTemperatureOffsetValue

func (m *FurunoSensorSetup) SetAirTemperatureOffsetValue(v float64)

SetAirTemperatureOffsetValue sets AirTemperatureOffset from a physical value in K, rounded to the nearest wire tick of 0.1.

func (*FurunoSensorSetup) SetHeadingOffsetValue

func (m *FurunoSensorSetup) SetHeadingOffsetValue(v float64)

SetHeadingOffsetValue sets HeadingOffset from a physical value in deg, rounded to the nearest wire tick of 0.1.

func (*FurunoSensorSetup) SetMessageInfo

func (m *FurunoSensorSetup) SetMessageInfo(info MessageInfo)

func (*FurunoSensorSetup) SetPgn3AxisOffsetValue

func (m *FurunoSensorSetup) SetPgn3AxisOffsetValue(v float64)

SetPgn3AxisOffsetValue sets Pgn3AxisOffset from a physical value in %, rounded to the nearest wire tick of 0.00032.

func (*FurunoSensorSetup) SetPgn3AxisSpeedSmoothingValue

func (m *FurunoSensorSetup) SetPgn3AxisSpeedSmoothingValue(v float64)

SetPgn3AxisSpeedSmoothingValue sets Pgn3AxisSpeedSmoothing from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*FurunoSensorSetup) SetPitchOffsetValue

func (m *FurunoSensorSetup) SetPitchOffsetValue(v float64)

SetPitchOffsetValue sets PitchOffset from a physical value in deg, rounded to the nearest wire tick of 0.1.

func (*FurunoSensorSetup) SetRollOffsetValue

func (m *FurunoSensorSetup) SetRollOffsetValue(v float64)

SetRollOffsetValue sets RollOffset from a physical value in deg, rounded to the nearest wire tick of 0.1.

func (*FurunoSensorSetup) SetRotationSmoothingValue

func (m *FurunoSensorSetup) SetRotationSmoothingValue(v float64)

SetRotationSmoothingValue sets RotationSmoothing from a physical value in s, rounded to the nearest wire tick of 0.1.

func (*FurunoSensorSetup) SetSogAndCogSmoothingValue

func (m *FurunoSensorSetup) SetSogAndCogSmoothingValue(v float64)

SetSogAndCogSmoothingValue sets SogAndCogSmoothing from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*FurunoSensorSetup) SogAndCogSmoothingValue

func (m *FurunoSensorSetup) SogAndCogSmoothingValue() (float64, bool)

SogAndCogSmoothingValue returns SogAndCogSmoothing as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

type FurunoShipParametersAndAntennaPosition

type FurunoShipParametersAndAntennaPosition struct {
	Info                    MessageInfo `json:"info"`
	ManufacturerCode        *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode            *uint64     `json:"industryCode,omitempty" n2k:"3"`
	EquipmentIdentification *uint64     `json:"equipmentIdentification,omitempty" n2k:"4"`
	AntennaPositionX        *int64      `json:"antennaPositionX,omitempty" n2k:"5"`
	AntennaPositionY        *uint64     `json:"antennaPositionY,omitempty" n2k:"6"`
	AntennaPositionZ        *uint64     `json:"antennaPositionZ,omitempty" n2k:"7"`
	ShipSWidth              *uint64     `json:"shipSWidth,omitempty" n2k:"8"`
	ShipSLength             *uint64     `json:"shipSLength,omitempty" n2k:"9"`
	ShipSHeight             *uint64     `json:"shipSHeight,omitempty" n2k:"10"`
}

func (*FurunoShipParametersAndAntennaPosition) AntennaPositionXValue

func (m *FurunoShipParametersAndAntennaPosition) AntennaPositionXValue() (float64, bool)

AntennaPositionXValue returns AntennaPositionX as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoShipParametersAndAntennaPosition) AntennaPositionYValue

func (m *FurunoShipParametersAndAntennaPosition) AntennaPositionYValue() (float64, bool)

AntennaPositionYValue returns AntennaPositionY as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoShipParametersAndAntennaPosition) AntennaPositionZValue

func (m *FurunoShipParametersAndAntennaPosition) AntennaPositionZValue() (float64, bool)

AntennaPositionZValue returns AntennaPositionZ as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoShipParametersAndAntennaPosition) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoShipParametersAndAntennaPosition) DecodePayload

func (m *FurunoShipParametersAndAntennaPosition) DecodePayload(payload []uint8) error

func (*FurunoShipParametersAndAntennaPosition) EncodePayload

func (m *FurunoShipParametersAndAntennaPosition) EncodePayload() ([]uint8, error)

func (*FurunoShipParametersAndAntennaPosition) MessageInfo

func (*FurunoShipParametersAndAntennaPosition) PGNNumber

func (*FurunoShipParametersAndAntennaPosition) SetAntennaPositionXValue

func (m *FurunoShipParametersAndAntennaPosition) SetAntennaPositionXValue(v float64)

SetAntennaPositionXValue sets AntennaPositionX from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*FurunoShipParametersAndAntennaPosition) SetAntennaPositionYValue

func (m *FurunoShipParametersAndAntennaPosition) SetAntennaPositionYValue(v float64)

SetAntennaPositionYValue sets AntennaPositionY from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*FurunoShipParametersAndAntennaPosition) SetAntennaPositionZValue

func (m *FurunoShipParametersAndAntennaPosition) SetAntennaPositionZValue(v float64)

SetAntennaPositionZValue sets AntennaPositionZ from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*FurunoShipParametersAndAntennaPosition) SetMessageInfo

func (m *FurunoShipParametersAndAntennaPosition) SetMessageInfo(info MessageInfo)

func (*FurunoShipParametersAndAntennaPosition) SetShipSHeightValue

func (m *FurunoShipParametersAndAntennaPosition) SetShipSHeightValue(v float64)

SetShipSHeightValue sets ShipSHeight from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*FurunoShipParametersAndAntennaPosition) SetShipSLengthValue

func (m *FurunoShipParametersAndAntennaPosition) SetShipSLengthValue(v float64)

SetShipSLengthValue sets ShipSLength from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*FurunoShipParametersAndAntennaPosition) SetShipSWidthValue

func (m *FurunoShipParametersAndAntennaPosition) SetShipSWidthValue(v float64)

SetShipSWidthValue sets ShipSWidth from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*FurunoShipParametersAndAntennaPosition) ShipSHeightValue

func (m *FurunoShipParametersAndAntennaPosition) ShipSHeightValue() (float64, bool)

ShipSHeightValue returns ShipSHeight as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoShipParametersAndAntennaPosition) ShipSLengthValue

func (m *FurunoShipParametersAndAntennaPosition) ShipSLengthValue() (float64, bool)

ShipSLengthValue returns ShipSLength as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoShipParametersAndAntennaPosition) ShipSWidthValue

func (m *FurunoShipParametersAndAntennaPosition) ShipSWidthValue() (float64, bool)

ShipSWidthValue returns ShipSWidth as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

type FurunoSixDegreesOfFreedomMovement

type FurunoSixDegreesOfFreedomMovement struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	A                *int64      `json:"a,omitempty" n2k:"4"`
	B                *int64      `json:"b,omitempty" n2k:"5"`
	C                *int64      `json:"c,omitempty" n2k:"6"`
	D                *int64      `json:"d,omitempty" n2k:"7"`
	E                *int64      `json:"e,omitempty" n2k:"8"`
	F                *int64      `json:"f,omitempty" n2k:"9"`
	G                *int64      `json:"g,omitempty" n2k:"10"`
	H                *int64      `json:"h,omitempty" n2k:"11"`
	I                *int64      `json:"i,omitempty" n2k:"12"`
}

func (*FurunoSixDegreesOfFreedomMovement) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoSixDegreesOfFreedomMovement) DecodePayload

func (m *FurunoSixDegreesOfFreedomMovement) DecodePayload(payload []uint8) error

func (*FurunoSixDegreesOfFreedomMovement) EncodePayload

func (m *FurunoSixDegreesOfFreedomMovement) EncodePayload() ([]uint8, error)

func (*FurunoSixDegreesOfFreedomMovement) MessageInfo

func (*FurunoSixDegreesOfFreedomMovement) PGNNumber

func (*FurunoSixDegreesOfFreedomMovement) SetMessageInfo

func (m *FurunoSixDegreesOfFreedomMovement) SetMessageInfo(info MessageInfo)

type FurunoSpeedCalculationPosition

type FurunoSpeedCalculationPosition struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	PointIndex       *uint64     `json:"pointIndex,omitempty" n2k:"4"`
	PositionY        *uint64     `json:"positionY,omitempty" n2k:"6"`
	PositionZ        *uint64     `json:"positionZ,omitempty" n2k:"7"`
}

func (*FurunoSpeedCalculationPosition) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoSpeedCalculationPosition) DecodePayload

func (m *FurunoSpeedCalculationPosition) DecodePayload(payload []uint8) error

func (*FurunoSpeedCalculationPosition) EncodePayload

func (m *FurunoSpeedCalculationPosition) EncodePayload() ([]uint8, error)

func (*FurunoSpeedCalculationPosition) MessageInfo

func (*FurunoSpeedCalculationPosition) PGNNumber

func (m *FurunoSpeedCalculationPosition) PGNNumber() uint32

func (*FurunoSpeedCalculationPosition) PositionYValue

func (m *FurunoSpeedCalculationPosition) PositionYValue() (float64, bool)

PositionYValue returns PositionY as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSpeedCalculationPosition) PositionZValue

func (m *FurunoSpeedCalculationPosition) PositionZValue() (float64, bool)

PositionZValue returns PositionZ as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FurunoSpeedCalculationPosition) SetMessageInfo

func (m *FurunoSpeedCalculationPosition) SetMessageInfo(info MessageInfo)

func (*FurunoSpeedCalculationPosition) SetPositionYValue

func (m *FurunoSpeedCalculationPosition) SetPositionYValue(v float64)

SetPositionYValue sets PositionY from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*FurunoSpeedCalculationPosition) SetPositionZValue

func (m *FurunoSpeedCalculationPosition) SetPositionZValue(v float64)

SetPositionZValue sets PositionZ from a physical value in m, rounded to the nearest wire tick of 0.1.

type FurunoStatusAndVersionReport

type FurunoStatusAndVersionReport struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	A                *uint64     `json:"a,omitempty" n2k:"5"`
	Status           string      `json:"status,omitempty" n2k:"6"`
}

func (*FurunoStatusAndVersionReport) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoStatusAndVersionReport) DecodePayload

func (m *FurunoStatusAndVersionReport) DecodePayload(payload []uint8) error

func (*FurunoStatusAndVersionReport) EncodePayload

func (m *FurunoStatusAndVersionReport) EncodePayload() ([]uint8, error)

func (*FurunoStatusAndVersionReport) MessageInfo

func (m *FurunoStatusAndVersionReport) MessageInfo() MessageInfo

func (*FurunoStatusAndVersionReport) PGNNumber

func (m *FurunoStatusAndVersionReport) PGNNumber() uint32

func (*FurunoStatusAndVersionReport) SetMessageInfo

func (m *FurunoStatusAndVersionReport) SetMessageInfo(info MessageInfo)

type FurunoSvControl

type FurunoSvControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	F4               []uint8     `json:"f4,omitempty" n2k:"4"`
	F5               []uint8     `json:"f5,omitempty" n2k:"5"`
	SbasMode         *uint64     `json:"sbasMode,omitempty" n2k:"6"`
	SbasSatellite    *uint64     `json:"sbasSatellite,omitempty" n2k:"7"`
	F8               []uint8     `json:"f8,omitempty" n2k:"8"`
	GpsDisable       *uint64     `json:"gpsDisable,omitempty" n2k:"9"`
	GlonassDisable   *uint64     `json:"glonassDisable,omitempty" n2k:"10"`
	GalileoDisable   *uint64     `json:"galileoDisable,omitempty" n2k:"11"`
	QzssDisable      *uint64     `json:"qzssDisable,omitempty" n2k:"12"`
}

func (*FurunoSvControl) Clone added in v1.3.0

func (m *FurunoSvControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoSvControl) DecodePayload

func (m *FurunoSvControl) DecodePayload(payload []uint8) error

func (*FurunoSvControl) EncodePayload

func (m *FurunoSvControl) EncodePayload() ([]uint8, error)

func (*FurunoSvControl) MessageInfo

func (m *FurunoSvControl) MessageInfo() MessageInfo

func (*FurunoSvControl) PGNNumber

func (m *FurunoSvControl) PGNNumber() uint32

func (*FurunoSvControl) SetMessageInfo

func (m *FurunoSvControl) SetMessageInfo(info MessageInfo)

type FurunoUnknown130820

type FurunoUnknown130820 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	A                *uint64     `json:"a,omitempty" n2k:"4"`
	B                *uint64     `json:"b,omitempty" n2k:"5"`
	C                *uint64     `json:"c,omitempty" n2k:"6"`
	D                *uint64     `json:"d,omitempty" n2k:"7"`
	E                *uint64     `json:"e,omitempty" n2k:"8"`
}

func (*FurunoUnknown130820) Clone added in v1.3.0

func (m *FurunoUnknown130820) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoUnknown130820) DecodePayload

func (m *FurunoUnknown130820) DecodePayload(payload []uint8) error

func (*FurunoUnknown130820) EncodePayload

func (m *FurunoUnknown130820) EncodePayload() ([]uint8, error)

func (*FurunoUnknown130820) MessageInfo

func (m *FurunoUnknown130820) MessageInfo() MessageInfo

func (*FurunoUnknown130820) PGNNumber

func (m *FurunoUnknown130820) PGNNumber() uint32

func (*FurunoUnknown130820) SetMessageInfo

func (m *FurunoUnknown130820) SetMessageInfo(info MessageInfo)

type FurunoUnknown130821

type FurunoUnknown130821 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"4"`
	A                *uint64     `json:"a,omitempty" n2k:"5"`
	B                *uint64     `json:"b,omitempty" n2k:"6"`
	C                *uint64     `json:"c,omitempty" n2k:"7"`
	D                *uint64     `json:"d,omitempty" n2k:"8"`
	E                *uint64     `json:"e,omitempty" n2k:"9"`
	F                *uint64     `json:"f,omitempty" n2k:"10"`
	G                *uint64     `json:"g,omitempty" n2k:"11"`
	H                *uint64     `json:"h,omitempty" n2k:"12"`
	I                *uint64     `json:"i,omitempty" n2k:"13"`
}

func (*FurunoUnknown130821) Clone added in v1.3.0

func (m *FurunoUnknown130821) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FurunoUnknown130821) DecodePayload

func (m *FurunoUnknown130821) DecodePayload(payload []uint8) error

func (*FurunoUnknown130821) EncodePayload

func (m *FurunoUnknown130821) EncodePayload() ([]uint8, error)

func (*FurunoUnknown130821) MessageInfo

func (m *FurunoUnknown130821) MessageInfo() MessageInfo

func (*FurunoUnknown130821) PGNNumber

func (m *FurunoUnknown130821) PGNNumber() uint32

func (*FurunoUnknown130821) SetMessageInfo

func (m *FurunoUnknown130821) SetMessageInfo(info MessageInfo)

type FusionAlbumName

type FusionAlbumName struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Index            *uint64     `json:"index,omitempty" n2k:"6"`
	Album            string      `json:"album,omitempty" n2k:"7"`
}

func (*FusionAlbumName) Clone added in v1.3.0

func (m *FusionAlbumName) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionAlbumName) DecodePayload

func (m *FusionAlbumName) DecodePayload(payload []uint8) error

func (*FusionAlbumName) EncodePayload

func (m *FusionAlbumName) EncodePayload() ([]uint8, error)

func (*FusionAlbumName) MessageInfo

func (m *FusionAlbumName) MessageInfo() MessageInfo

func (*FusionAlbumName) PGNNumber

func (m *FusionAlbumName) PGNNumber() uint32

func (*FusionAlbumName) SetMessageInfo

func (m *FusionAlbumName) SetMessageInfo(info MessageInfo)

type FusionArtistName

type FusionArtistName struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Index            *uint64     `json:"index,omitempty" n2k:"6"`
	Artist           string      `json:"artist,omitempty" n2k:"7"`
}

func (*FusionArtistName) Clone added in v1.3.0

func (m *FusionArtistName) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionArtistName) DecodePayload

func (m *FusionArtistName) DecodePayload(payload []uint8) error

func (*FusionArtistName) EncodePayload

func (m *FusionArtistName) EncodePayload() ([]uint8, error)

func (*FusionArtistName) MessageInfo

func (m *FusionArtistName) MessageInfo() MessageInfo

func (*FusionArtistName) PGNNumber

func (m *FusionArtistName) PGNNumber() uint32

func (*FusionArtistName) SetMessageInfo

func (m *FusionArtistName) SetMessageInfo(info MessageInfo)

type FusionAuxGain

type FusionAuxGain struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Gain             *uint64     `json:"gain,omitempty" n2k:"6"`
}

func (*FusionAuxGain) Clone added in v1.3.0

func (m *FusionAuxGain) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionAuxGain) DecodePayload

func (m *FusionAuxGain) DecodePayload(payload []uint8) error

func (*FusionAuxGain) EncodePayload

func (m *FusionAuxGain) EncodePayload() ([]uint8, error)

func (*FusionAuxGain) MessageInfo

func (m *FusionAuxGain) MessageInfo() MessageInfo

func (*FusionAuxGain) PGNNumber

func (m *FusionAuxGain) PGNNumber() uint32

func (*FusionAuxGain) SetMessageInfo

func (m *FusionAuxGain) SetMessageInfo(info MessageInfo)

type FusionBalance

type FusionBalance struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Zone             *uint64     `json:"zone,omitempty" n2k:"5"`
	Value            *uint64     `json:"value,omitempty" n2k:"6"`
}

func (*FusionBalance) Clone added in v1.3.0

func (m *FusionBalance) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionBalance) DecodePayload

func (m *FusionBalance) DecodePayload(payload []uint8) error

func (*FusionBalance) EncodePayload

func (m *FusionBalance) EncodePayload() ([]uint8, error)

func (*FusionBalance) MessageInfo

func (m *FusionBalance) MessageInfo() MessageInfo

func (*FusionBalance) PGNNumber

func (m *FusionBalance) PGNNumber() uint32

func (*FusionBalance) SetMessageInfo

func (m *FusionBalance) SetMessageInfo(info MessageInfo)

type FusionCapabilities

type FusionCapabilities struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Zone1            *uint64     `json:"zone1,omitempty" n2k:"5"`
	Zone2            *uint64     `json:"zone2,omitempty" n2k:"6"`
	Zone3            *uint64     `json:"zone3,omitempty" n2k:"7"`
	Zone4            *uint64     `json:"zone4,omitempty" n2k:"8"`
	Global           *uint64     `json:"global,omitempty" n2k:"9"`
}

func (*FusionCapabilities) Clone added in v1.3.0

func (m *FusionCapabilities) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionCapabilities) DecodePayload

func (m *FusionCapabilities) DecodePayload(payload []uint8) error

func (*FusionCapabilities) EncodePayload

func (m *FusionCapabilities) EncodePayload() ([]uint8, error)

func (*FusionCapabilities) MessageInfo

func (m *FusionCapabilities) MessageInfo() MessageInfo

func (*FusionCapabilities) PGNNumber

func (m *FusionCapabilities) PGNNumber() uint32

func (*FusionCapabilities) SetMessageInfo

func (m *FusionCapabilities) SetMessageInfo(info MessageInfo)

type FusionCommandConst

type FusionCommandConst uint8
const (
	FusionCommandPlay  FusionCommandConst = 1
	FusionCommandPause FusionCommandConst = 2
	FusionCommandNext  FusionCommandConst = 4
	FusionCommandPrev  FusionCommandConst = 6
)

func (FusionCommandConst) GoString

func (e FusionCommandConst) GoString() string

func (FusionCommandConst) String

func (e FusionCommandConst) String() string

type FusionDeviceName

type FusionDeviceName struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Name             string      `json:"name,omitempty" n2k:"5"`
}

func (*FusionDeviceName) Clone added in v1.3.0

func (m *FusionDeviceName) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionDeviceName) DecodePayload

func (m *FusionDeviceName) DecodePayload(payload []uint8) error

func (*FusionDeviceName) EncodePayload

func (m *FusionDeviceName) EncodePayload() ([]uint8, error)

func (*FusionDeviceName) MessageInfo

func (m *FusionDeviceName) MessageInfo() MessageInfo

func (*FusionDeviceName) PGNNumber

func (m *FusionDeviceName) PGNNumber() uint32

func (*FusionDeviceName) SetMessageInfo

func (m *FusionDeviceName) SetMessageInfo(info MessageInfo)

type FusionEq

type FusionEq struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Zone             *uint64     `json:"zone,omitempty" n2k:"5"`
	Bass             *int64      `json:"bass,omitempty" n2k:"6"`
	Mid              *int64      `json:"mid,omitempty" n2k:"7"`
	Treble           *int64      `json:"treble,omitempty" n2k:"8"`
}

func (*FusionEq) Clone added in v1.3.0

func (m *FusionEq) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionEq) DecodePayload

func (m *FusionEq) DecodePayload(payload []uint8) error

func (*FusionEq) EncodePayload

func (m *FusionEq) EncodePayload() ([]uint8, error)

func (*FusionEq) MessageInfo

func (m *FusionEq) MessageInfo() MessageInfo

func (*FusionEq) PGNNumber

func (m *FusionEq) PGNNumber() uint32

func (*FusionEq) SetMessageInfo

func (m *FusionEq) SetMessageInfo(info MessageInfo)

type FusionIgnitionSwitchState

type FusionIgnitionSwitchState struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	State            *uint64     `json:"state,omitempty" n2k:"5"`
}

func (*FusionIgnitionSwitchState) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionIgnitionSwitchState) DecodePayload

func (m *FusionIgnitionSwitchState) DecodePayload(payload []uint8) error

func (*FusionIgnitionSwitchState) EncodePayload

func (m *FusionIgnitionSwitchState) EncodePayload() ([]uint8, error)

func (*FusionIgnitionSwitchState) MessageInfo

func (m *FusionIgnitionSwitchState) MessageInfo() MessageInfo

func (*FusionIgnitionSwitchState) PGNNumber

func (m *FusionIgnitionSwitchState) PGNNumber() uint32

func (*FusionIgnitionSwitchState) SetMessageInfo

func (m *FusionIgnitionSwitchState) SetMessageInfo(info MessageInfo)

type FusionLineLevelControl

type FusionLineLevelControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Zone             *uint64     `json:"zone,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
}

func (*FusionLineLevelControl) Clone added in v1.3.0

func (m *FusionLineLevelControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionLineLevelControl) DecodePayload

func (m *FusionLineLevelControl) DecodePayload(payload []uint8) error

func (*FusionLineLevelControl) EncodePayload

func (m *FusionLineLevelControl) EncodePayload() ([]uint8, error)

func (*FusionLineLevelControl) MessageInfo

func (m *FusionLineLevelControl) MessageInfo() MessageInfo

func (*FusionLineLevelControl) PGNNumber

func (m *FusionLineLevelControl) PGNNumber() uint32

func (*FusionLineLevelControl) SetMessageInfo

func (m *FusionLineLevelControl) SetMessageInfo(info MessageInfo)

type FusionLowPassFilter

type FusionLowPassFilter struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Zone             *uint64     `json:"zone,omitempty" n2k:"5"`
	Filter           *uint64     `json:"filter,omitempty" n2k:"6"`
}

func (*FusionLowPassFilter) Clone added in v1.3.0

func (m *FusionLowPassFilter) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionLowPassFilter) DecodePayload

func (m *FusionLowPassFilter) DecodePayload(payload []uint8) error

func (*FusionLowPassFilter) EncodePayload

func (m *FusionLowPassFilter) EncodePayload() ([]uint8, error)

func (*FusionLowPassFilter) MessageInfo

func (m *FusionLowPassFilter) MessageInfo() MessageInfo

func (*FusionLowPassFilter) PGNNumber

func (m *FusionLowPassFilter) PGNNumber() uint32

func (*FusionLowPassFilter) SetMessageInfo

func (m *FusionLowPassFilter) SetMessageInfo(info MessageInfo)

type FusionMarineScanMode

type FusionMarineScanMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Scan             *uint64     `json:"scan,omitempty" n2k:"6"`
}

func (*FusionMarineScanMode) Clone added in v1.3.0

func (m *FusionMarineScanMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMarineScanMode) DecodePayload

func (m *FusionMarineScanMode) DecodePayload(payload []uint8) error

func (*FusionMarineScanMode) EncodePayload

func (m *FusionMarineScanMode) EncodePayload() ([]uint8, error)

func (*FusionMarineScanMode) MessageInfo

func (m *FusionMarineScanMode) MessageInfo() MessageInfo

func (*FusionMarineScanMode) PGNNumber

func (m *FusionMarineScanMode) PGNNumber() uint32

func (*FusionMarineScanMode) SetMessageInfo

func (m *FusionMarineScanMode) SetMessageInfo(info MessageInfo)

type FusionMarineSquelch

type FusionMarineSquelch struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Squelch          *uint64     `json:"squelch,omitempty" n2k:"6"`
}

func (*FusionMarineSquelch) Clone added in v1.3.0

func (m *FusionMarineSquelch) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMarineSquelch) DecodePayload

func (m *FusionMarineSquelch) DecodePayload(payload []uint8) error

func (*FusionMarineSquelch) EncodePayload

func (m *FusionMarineSquelch) EncodePayload() ([]uint8, error)

func (*FusionMarineSquelch) MessageInfo

func (m *FusionMarineSquelch) MessageInfo() MessageInfo

func (*FusionMarineSquelch) PGNNumber

func (m *FusionMarineSquelch) PGNNumber() uint32

func (*FusionMarineSquelch) SetMessageInfo

func (m *FusionMarineSquelch) SetMessageInfo(info MessageInfo)

type FusionMarineTuner

type FusionMarineTuner struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Channel          *uint64     `json:"channel,omitempty" n2k:"6"`
	SignalStrength   *uint64     `json:"signalStrength,omitempty" n2k:"7"`
	Name             string      `json:"name,omitempty" n2k:"8"`
}

func (*FusionMarineTuner) Clone added in v1.3.0

func (m *FusionMarineTuner) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMarineTuner) DecodePayload

func (m *FusionMarineTuner) DecodePayload(payload []uint8) error

func (*FusionMarineTuner) EncodePayload

func (m *FusionMarineTuner) EncodePayload() ([]uint8, error)

func (*FusionMarineTuner) MessageInfo

func (m *FusionMarineTuner) MessageInfo() MessageInfo

func (*FusionMarineTuner) PGNNumber

func (m *FusionMarineTuner) PGNNumber() uint32

func (*FusionMarineTuner) SetMessageInfo

func (m *FusionMarineTuner) SetMessageInfo(info MessageInfo)

type FusionMedia

type FusionMedia struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Flags            *uint64     `json:"flags,omitempty" n2k:"6"`
	Track            *uint64     `json:"track,omitempty" n2k:"7"`
	TrackCount       *uint64     `json:"trackCount,omitempty" n2k:"8"`
	Length           *uint64     `json:"length,omitempty" n2k:"9"`
	PositionInTrack  *uint64     `json:"positionInTrack,omitempty" n2k:"10"`
}

func (*FusionMedia) Clone added in v1.3.0

func (m *FusionMedia) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMedia) DecodePayload

func (m *FusionMedia) DecodePayload(payload []uint8) error

func (*FusionMedia) EncodePayload

func (m *FusionMedia) EncodePayload() ([]uint8, error)

func (*FusionMedia) LengthValue

func (m *FusionMedia) LengthValue() (float64, bool)

LengthValue returns Length as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FusionMedia) MessageInfo

func (m *FusionMedia) MessageInfo() MessageInfo

func (*FusionMedia) PGNNumber

func (m *FusionMedia) PGNNumber() uint32

func (*FusionMedia) PositionInTrackValue

func (m *FusionMedia) PositionInTrackValue() (float64, bool)

PositionInTrackValue returns PositionInTrack as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FusionMedia) SetLengthValue

func (m *FusionMedia) SetLengthValue(v float64)

SetLengthValue sets Length from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*FusionMedia) SetMessageInfo

func (m *FusionMedia) SetMessageInfo(info MessageInfo)

func (*FusionMedia) SetPositionInTrackValue

func (m *FusionMedia) SetPositionInTrackValue(v float64)

SetPositionInTrackValue sets PositionInTrack from a physical value in s, rounded to the nearest wire tick of 0.001.

type FusionMediaControl

type FusionMediaControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Command          *uint64     `json:"command,omitempty" n2k:"6"`
}

func (*FusionMediaControl) Clone added in v1.3.0

func (m *FusionMediaControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMediaControl) DecodePayload

func (m *FusionMediaControl) DecodePayload(payload []uint8) error

func (*FusionMediaControl) EncodePayload

func (m *FusionMediaControl) EncodePayload() ([]uint8, error)

func (*FusionMediaControl) MessageInfo

func (m *FusionMediaControl) MessageInfo() MessageInfo

func (*FusionMediaControl) PGNNumber

func (m *FusionMediaControl) PGNNumber() uint32

func (*FusionMediaControl) SetMessageInfo

func (m *FusionMediaControl) SetMessageInfo(info MessageInfo)

type FusionMenuItem

type FusionMenuItem struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	ItemIndex        *uint64     `json:"itemIndex,omitempty" n2k:"6"`
	Flags            *uint64     `json:"flags,omitempty" n2k:"7"`
	LockId           *uint64     `json:"lockId,omitempty" n2k:"8"`
	Text             string      `json:"text,omitempty" n2k:"9"`
}

func (*FusionMenuItem) Clone added in v1.3.0

func (m *FusionMenuItem) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMenuItem) DecodePayload

func (m *FusionMenuItem) DecodePayload(payload []uint8) error

func (*FusionMenuItem) EncodePayload

func (m *FusionMenuItem) EncodePayload() ([]uint8, error)

func (*FusionMenuItem) MessageInfo

func (m *FusionMenuItem) MessageInfo() MessageInfo

func (*FusionMenuItem) PGNNumber

func (m *FusionMenuItem) PGNNumber() uint32

func (*FusionMenuItem) SetMessageInfo

func (m *FusionMenuItem) SetMessageInfo(info MessageInfo)

type FusionMenuLockId

type FusionMenuLockId struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	LockId           *uint64     `json:"lockId,omitempty" n2k:"5"`
	Flags            *uint64     `json:"flags,omitempty" n2k:"6"`
}

func (*FusionMenuLockId) Clone added in v1.3.0

func (m *FusionMenuLockId) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMenuLockId) DecodePayload

func (m *FusionMenuLockId) DecodePayload(payload []uint8) error

func (*FusionMenuLockId) EncodePayload

func (m *FusionMenuLockId) EncodePayload() ([]uint8, error)

func (*FusionMenuLockId) MessageInfo

func (m *FusionMenuLockId) MessageInfo() MessageInfo

func (*FusionMenuLockId) PGNNumber

func (m *FusionMenuLockId) PGNNumber() uint32

func (*FusionMenuLockId) SetMessageInfo

func (m *FusionMenuLockId) SetMessageInfo(info MessageInfo)

type FusionMessageIdConst

type FusionMessageIdConst uint16
const (
	FusionMessageIdRequestStatus                  FusionMessageIdConst = 1
	FusionMessageIdSetSource                      FusionMessageIdConst = 2
	FusionMessageIdMediaCommand                   FusionMessageIdConst = 3
	FusionMessageIdTunerCommand                   FusionMessageIdConst = 5
	FusionMessageIdMarineTunerCommand             FusionMessageIdConst = 6
	FusionMessageIdSetMarineTunerSquelch          FusionMessageIdConst = 7
	FusionMessageIdSetMarineTunerScanMode         FusionMessageIdConst = 8
	FusionMessageIdMenuAction                     FusionMessageIdConst = 9
	FusionMessageIdRequestMenuCount               FusionMessageIdConst = 10
	FusionMessageIdRequestMenuItem                FusionMessageIdConst = 11
	FusionMessageIdRequestMenuLockID              FusionMessageIdConst = 12
	FusionMessageIdSetAuxGain                     FusionMessageIdConst = 13
	FusionMessageIdSetSettings                    FusionMessageIdConst = 15
	FusionMessageIdDABUpdtateCommand              FusionMessageIdConst = 16
	FusionMessageIdSetMute                        FusionMessageIdConst = 17
	FusionMessageIdSetBalance                     FusionMessageIdConst = 18
	FusionMessageIdSetLowPassFiler                FusionMessageIdConst = 19
	FusionMessageIdSetSublevel                    FusionMessageIdConst = 20
	FusionMessageIdSetEqualizer                   FusionMessageIdConst = 22
	FusionMessageIdSetVolumeLimit                 FusionMessageIdConst = 23
	FusionMessageIdSetZoneVolume                  FusionMessageIdConst = 24
	FusionMessageIdSetAllVolumes                  FusionMessageIdConst = 25
	FusionMessageIdSetLineLevelControl            FusionMessageIdConst = 27
	FusionMessageIdPower                          FusionMessageIdConst = 28
	FusionMessageIdSetDeviceName                  FusionMessageIdConst = 29
	FusionMessageIdSendSiriusCommand              FusionMessageIdConst = 30
	FusionMessageIdSetSiriusParental              FusionMessageIdConst = 31
	FusionMessageIdSendFactoryResetCommand        FusionMessageIdConst = 33
	FusionMessageIdSetZoneName                    FusionMessageIdConst = 34
	FusionMessageIdSendDvdCommand                 FusionMessageIdConst = 35
	FusionMessageIdDvdPressIrKey                  FusionMessageIdConst = 36
	FusionMessageIdSendSelectSiriusTeam           FusionMessageIdConst = 39
	FusionMessageIdSendSelectSiriusArtist         FusionMessageIdConst = 40
	FusionMessageIdSendSiriusSportAlertUserAction FusionMessageIdConst = 41
	FusionMessageIdSendSiriusArtistSongUserAction FusionMessageIdConst = 45
	FusionMessageIdSendMultiroomCommand           FusionMessageIdConst = 50
	FusionMessageIdGetMultiroomDeviceRecord       FusionMessageIdConst = 51
	FusionMessageIdScanMultirooomDevices          FusionMessageIdConst = 52
	FusionMessageIdSendFileTransfer               FusionMessageIdConst = 53
	FusionMessageIdSetLoud                        FusionMessageIdConst = 54
	FusionMessageIdFapiSetSourceMultiroomEnabled  FusionMessageIdConst = 56
	FusionMessageIdRequestHeadUnitDspSettings     FusionMessageIdConst = 57
	FusionMessageIdSendTransferStatus             FusionMessageIdConst = 64
	FusionMessageIdFapiGetServerInfo              FusionMessageIdConst = 65
	FusionMessageIdFapiSetSourceEnabled           FusionMessageIdConst = 69
	FusionMessageIdFapiSetSourceName              FusionMessageIdConst = 70
	FusionMessageIdSendExternalAmpGain            FusionMessageIdConst = 73
	FusionMessageIdSendInternalAmpGain            FusionMessageIdConst = 74
	FusionMessageIdSendMono                       FusionMessageIdConst = 75
)

func (FusionMessageIdConst) GoString

func (e FusionMessageIdConst) GoString() string

func (FusionMessageIdConst) String

func (e FusionMessageIdConst) String() string

type FusionMono

type FusionMono struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Zone             *uint64     `json:"zone,omitempty" n2k:"5"`
	Enabled          *uint64     `json:"enabled,omitempty" n2k:"6"`
}

func (*FusionMono) Clone added in v1.3.0

func (m *FusionMono) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMono) DecodePayload

func (m *FusionMono) DecodePayload(payload []uint8) error

func (*FusionMono) EncodePayload

func (m *FusionMono) EncodePayload() ([]uint8, error)

func (*FusionMono) MessageInfo

func (m *FusionMono) MessageInfo() MessageInfo

func (*FusionMono) PGNNumber

func (m *FusionMono) PGNNumber() uint32

func (*FusionMono) SetMessageInfo

func (m *FusionMono) SetMessageInfo(info MessageInfo)

type FusionMultiroom

type FusionMultiroom struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Enabled          *uint64     `json:"enabled,omitempty" n2k:"5"`
	IpAddress1       *uint64     `json:"ipAddress1,omitempty" n2k:"6"`
	IpAddress2       *uint64     `json:"ipAddress2,omitempty" n2k:"7"`
	IpAddress3       *uint64     `json:"ipAddress3,omitempty" n2k:"8"`
	IpAddress4       *uint64     `json:"ipAddress4,omitempty" n2k:"9"`
}

func (*FusionMultiroom) Clone added in v1.3.0

func (m *FusionMultiroom) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMultiroom) DecodePayload

func (m *FusionMultiroom) DecodePayload(payload []uint8) error

func (*FusionMultiroom) EncodePayload

func (m *FusionMultiroom) EncodePayload() ([]uint8, error)

func (*FusionMultiroom) MessageInfo

func (m *FusionMultiroom) MessageInfo() MessageInfo

func (*FusionMultiroom) PGNNumber

func (m *FusionMultiroom) PGNNumber() uint32

func (*FusionMultiroom) SetMessageInfo

func (m *FusionMultiroom) SetMessageInfo(info MessageInfo)

type FusionMultiroomStatus

type FusionMultiroomStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Available        *uint64     `json:"available,omitempty" n2k:"5"`
}

func (*FusionMultiroomStatus) Clone added in v1.3.0

func (m *FusionMultiroomStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMultiroomStatus) DecodePayload

func (m *FusionMultiroomStatus) DecodePayload(payload []uint8) error

func (*FusionMultiroomStatus) EncodePayload

func (m *FusionMultiroomStatus) EncodePayload() ([]uint8, error)

func (*FusionMultiroomStatus) MessageInfo

func (m *FusionMultiroomStatus) MessageInfo() MessageInfo

func (*FusionMultiroomStatus) PGNNumber

func (m *FusionMultiroomStatus) PGNNumber() uint32

func (*FusionMultiroomStatus) SetMessageInfo

func (m *FusionMultiroomStatus) SetMessageInfo(info MessageInfo)

type FusionMute

type FusionMute struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Mute             *uint64     `json:"mute,omitempty" n2k:"5"`
}

func (*FusionMute) Clone added in v1.3.0

func (m *FusionMute) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionMute) DecodePayload

func (m *FusionMute) DecodePayload(payload []uint8) error

func (*FusionMute) EncodePayload

func (m *FusionMute) EncodePayload() ([]uint8, error)

func (*FusionMute) MessageInfo

func (m *FusionMute) MessageInfo() MessageInfo

func (*FusionMute) PGNNumber

func (m *FusionMute) PGNNumber() uint32

func (*FusionMute) SetMessageInfo

func (m *FusionMute) SetMessageInfo(info MessageInfo)

type FusionMuteCommandConst

type FusionMuteCommandConst uint8
const (
	FusionMuteCommandMuteOn  FusionMuteCommandConst = 1
	FusionMuteCommandMuteOff FusionMuteCommandConst = 2
)

func (FusionMuteCommandConst) GoString

func (e FusionMuteCommandConst) GoString() string

func (FusionMuteCommandConst) String

func (e FusionMuteCommandConst) String() string

type FusionPlayStatusConst added in v1.3.0

type FusionPlayStatusConst uint16
const (
	FusionPlayStatusInvalid     FusionPlayStatusConst = 0
	FusionPlayStatusPlaying     FusionPlayStatusConst = 1
	FusionPlayStatusPaused      FusionPlayStatusConst = 2
	FusionPlayStatusStopped     FusionPlayStatusConst = 3
	FusionPlayStatusSkipForward FusionPlayStatusConst = 4
	FusionPlayStatusSkipRewind  FusionPlayStatusConst = 5
)

func (FusionPlayStatusConst) GoString added in v1.3.0

func (e FusionPlayStatusConst) GoString() string

func (FusionPlayStatusConst) String added in v1.3.0

func (e FusionPlayStatusConst) String() string

type FusionPowerState

type FusionPowerState struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	State            *uint64     `json:"state,omitempty" n2k:"5"`
}

func (*FusionPowerState) Clone added in v1.3.0

func (m *FusionPowerState) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionPowerState) DecodePayload

func (m *FusionPowerState) DecodePayload(payload []uint8) error

func (*FusionPowerState) EncodePayload

func (m *FusionPowerState) EncodePayload() ([]uint8, error)

func (*FusionPowerState) MessageInfo

func (m *FusionPowerState) MessageInfo() MessageInfo

func (*FusionPowerState) PGNNumber

func (m *FusionPowerState) PGNNumber() uint32

func (*FusionPowerState) SetMessageInfo

func (m *FusionPowerState) SetMessageInfo(info MessageInfo)

type FusionPowerStateConst

type FusionPowerStateConst uint8
const (
	FusionPowerStateOn  FusionPowerStateConst = 1
	FusionPowerStateOff FusionPowerStateConst = 2
)

func (FusionPowerStateConst) GoString

func (e FusionPowerStateConst) GoString() string

func (FusionPowerStateConst) String

func (e FusionPowerStateConst) String() string

type FusionProcessingBypass

type FusionProcessingBypass struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Bypass           *uint64     `json:"bypass,omitempty" n2k:"5"`
}

func (*FusionProcessingBypass) Clone added in v1.3.0

func (m *FusionProcessingBypass) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionProcessingBypass) DecodePayload

func (m *FusionProcessingBypass) DecodePayload(payload []uint8) error

func (*FusionProcessingBypass) EncodePayload

func (m *FusionProcessingBypass) EncodePayload() ([]uint8, error)

func (*FusionProcessingBypass) MessageInfo

func (m *FusionProcessingBypass) MessageInfo() MessageInfo

func (*FusionProcessingBypass) PGNNumber

func (m *FusionProcessingBypass) PGNNumber() uint32

func (*FusionProcessingBypass) SetMessageInfo

func (m *FusionProcessingBypass) SetMessageInfo(info MessageInfo)

type FusionRadioSourceConst

type FusionRadioSourceConst uint8
const (
	FusionRadioSourceAM FusionRadioSourceConst = 0
	FusionRadioSourceFM FusionRadioSourceConst = 1
)

func (FusionRadioSourceConst) GoString

func (e FusionRadioSourceConst) GoString() string

func (FusionRadioSourceConst) String

func (e FusionRadioSourceConst) String() string

type FusionRdsData

type FusionRdsData struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	RdsType          *uint64     `json:"rdsType,omitempty" n2k:"6"`
	ProgrammeType    *uint64     `json:"programmeType,omitempty" n2k:"7"`
	Rds              string      `json:"rds,omitempty" n2k:"8"`
}

func (*FusionRdsData) Clone added in v1.3.0

func (m *FusionRdsData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionRdsData) DecodePayload

func (m *FusionRdsData) DecodePayload(payload []uint8) error

func (*FusionRdsData) EncodePayload

func (m *FusionRdsData) EncodePayload() ([]uint8, error)

func (*FusionRdsData) MessageInfo

func (m *FusionRdsData) MessageInfo() MessageInfo

func (*FusionRdsData) PGNNumber

func (m *FusionRdsData) PGNNumber() uint32

func (*FusionRdsData) SetMessageInfo

func (m *FusionRdsData) SetMessageInfo(info MessageInfo)

type FusionRepeatStatusConst added in v1.3.0

type FusionRepeatStatusConst uint32
const (
	FusionRepeatStatusOff      FusionRepeatStatusConst = 0
	FusionRepeatStatusOneTrack FusionRepeatStatusConst = 1
	FusionRepeatStatusAllAlbum FusionRepeatStatusConst = 2
)

func (FusionRepeatStatusConst) GoString added in v1.3.0

func (e FusionRepeatStatusConst) GoString() string

func (FusionRepeatStatusConst) String added in v1.3.0

func (e FusionRepeatStatusConst) String() string

type FusionRequestStatus

type FusionRequestStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
}

func (*FusionRequestStatus) Clone added in v1.3.0

func (m *FusionRequestStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionRequestStatus) DecodePayload

func (m *FusionRequestStatus) DecodePayload(payload []uint8) error

func (*FusionRequestStatus) EncodePayload

func (m *FusionRequestStatus) EncodePayload() ([]uint8, error)

func (*FusionRequestStatus) MessageInfo

func (m *FusionRequestStatus) MessageInfo() MessageInfo

func (*FusionRequestStatus) PGNNumber

func (m *FusionRequestStatus) PGNNumber() uint32

func (*FusionRequestStatus) SetMessageInfo

func (m *FusionRequestStatus) SetMessageInfo(info MessageInfo)

type FusionSetAllVolumes

type FusionSetAllVolumes struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Zone1            *uint64     `json:"zone1,omitempty" n2k:"5"`
	Zone2            *uint64     `json:"zone2,omitempty" n2k:"6"`
	Zone3            *uint64     `json:"zone3,omitempty" n2k:"7"`
	Zone4            *uint64     `json:"zone4,omitempty" n2k:"8"`
}

func (*FusionSetAllVolumes) Clone added in v1.3.0

func (m *FusionSetAllVolumes) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSetAllVolumes) DecodePayload

func (m *FusionSetAllVolumes) DecodePayload(payload []uint8) error

func (*FusionSetAllVolumes) EncodePayload

func (m *FusionSetAllVolumes) EncodePayload() ([]uint8, error)

func (*FusionSetAllVolumes) MessageInfo

func (m *FusionSetAllVolumes) MessageInfo() MessageInfo

func (*FusionSetAllVolumes) PGNNumber

func (m *FusionSetAllVolumes) PGNNumber() uint32

func (*FusionSetAllVolumes) SetMessageInfo

func (m *FusionSetAllVolumes) SetMessageInfo(info MessageInfo)

type FusionSetMute

type FusionSetMute struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
}

func (*FusionSetMute) Clone added in v1.3.0

func (m *FusionSetMute) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSetMute) DecodePayload

func (m *FusionSetMute) DecodePayload(payload []uint8) error

func (*FusionSetMute) EncodePayload

func (m *FusionSetMute) EncodePayload() ([]uint8, error)

func (*FusionSetMute) MessageInfo

func (m *FusionSetMute) MessageInfo() MessageInfo

func (*FusionSetMute) PGNNumber

func (m *FusionSetMute) PGNNumber() uint32

func (*FusionSetMute) SetMessageInfo

func (m *FusionSetMute) SetMessageInfo(info MessageInfo)

type FusionSetPower

type FusionSetPower struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Power            *uint64     `json:"power,omitempty" n2k:"5"`
}

func (*FusionSetPower) Clone added in v1.3.0

func (m *FusionSetPower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSetPower) DecodePayload

func (m *FusionSetPower) DecodePayload(payload []uint8) error

func (*FusionSetPower) EncodePayload

func (m *FusionSetPower) EncodePayload() ([]uint8, error)

func (*FusionSetPower) MessageInfo

func (m *FusionSetPower) MessageInfo() MessageInfo

func (*FusionSetPower) PGNNumber

func (m *FusionSetPower) PGNNumber() uint32

func (*FusionSetPower) SetMessageInfo

func (m *FusionSetPower) SetMessageInfo(info MessageInfo)

type FusionSetSource

type FusionSetSource struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
}

func (*FusionSetSource) Clone added in v1.3.0

func (m *FusionSetSource) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSetSource) DecodePayload

func (m *FusionSetSource) DecodePayload(payload []uint8) error

func (*FusionSetSource) EncodePayload

func (m *FusionSetSource) EncodePayload() ([]uint8, error)

func (*FusionSetSource) MessageInfo

func (m *FusionSetSource) MessageInfo() MessageInfo

func (*FusionSetSource) PGNNumber

func (m *FusionSetSource) PGNNumber() uint32

func (*FusionSetSource) SetMessageInfo

func (m *FusionSetSource) SetMessageInfo(info MessageInfo)

type FusionSetZoneVolume

type FusionSetZoneVolume struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Zone             *uint64     `json:"zone,omitempty" n2k:"5"`
	Volume           *uint64     `json:"volume,omitempty" n2k:"6"`
}

func (*FusionSetZoneVolume) Clone added in v1.3.0

func (m *FusionSetZoneVolume) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSetZoneVolume) DecodePayload

func (m *FusionSetZoneVolume) DecodePayload(payload []uint8) error

func (*FusionSetZoneVolume) EncodePayload

func (m *FusionSetZoneVolume) EncodePayload() ([]uint8, error)

func (*FusionSetZoneVolume) MessageInfo

func (m *FusionSetZoneVolume) MessageInfo() MessageInfo

func (*FusionSetZoneVolume) PGNNumber

func (m *FusionSetZoneVolume) PGNNumber() uint32

func (*FusionSetZoneVolume) SetMessageInfo

func (m *FusionSetZoneVolume) SetMessageInfo(info MessageInfo)

type FusionSetting

type FusionSetting struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Id               *uint64     `json:"id,omitempty" n2k:"5"`
	Value            *uint64     `json:"value,omitempty" n2k:"6"`
}

func (*FusionSetting) Clone added in v1.3.0

func (m *FusionSetting) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSetting) DecodePayload

func (m *FusionSetting) DecodePayload(payload []uint8) error

func (*FusionSetting) EncodePayload

func (m *FusionSetting) EncodePayload() ([]uint8, error)

func (*FusionSetting) MessageInfo

func (m *FusionSetting) MessageInfo() MessageInfo

func (*FusionSetting) PGNNumber

func (m *FusionSetting) PGNNumber() uint32

func (*FusionSetting) SetMessageInfo

func (m *FusionSetting) SetMessageInfo(info MessageInfo)

type FusionSettingConst added in v1.3.0

type FusionSettingConst uint32
const (
	FusionSettingAlphaSearchThreshold FusionSettingConst = 0
	FusionSettingIPodSubtitles        FusionSettingConst = 1
	FusionSettingZone2Linked          FusionSettingConst = 2
	FusionSettingZone2Enabled         FusionSettingConst = 3
	FusionSettingZone3Enabled         FusionSettingConst = 4
	FusionSettingZone4Enabled         FusionSettingConst = 5
	FusionSettingTelemute             FusionSettingConst = 6
	FusionSettingTunerRegion          FusionSettingConst = 7
	FusionSettingMarineZone           FusionSettingConst = 8
	FusionSettingUSBRepeat            FusionSettingConst = 9
	FusionSettingUSBShuffle           FusionSettingConst = 10
	FusionSettingIPodAlbumArtwork     FusionSettingConst = 11
	FusionSettingIPodRepeat           FusionSettingConst = 12
	FusionSettingIPodShuffle          FusionSettingConst = 13
	FusionSettingAMPreset0            FusionSettingConst = 14
	FusionSettingAMPreset1            FusionSettingConst = 15
	FusionSettingAMPreset2            FusionSettingConst = 16
	FusionSettingAMPreset3            FusionSettingConst = 17
	FusionSettingAMPreset4            FusionSettingConst = 18
	FusionSettingAMPreset5            FusionSettingConst = 19
	FusionSettingAMPreset6            FusionSettingConst = 20
	FusionSettingAMPreset7            FusionSettingConst = 21
	FusionSettingAMPreset8            FusionSettingConst = 22
	FusionSettingAMPreset9            FusionSettingConst = 23
	FusionSettingAMPreset10           FusionSettingConst = 24
	FusionSettingAMPreset11           FusionSettingConst = 25
	FusionSettingAMPreset12           FusionSettingConst = 26
	FusionSettingAMPreset13           FusionSettingConst = 27
	FusionSettingAMPreset14           FusionSettingConst = 28
	FusionSettingFMPreset0            FusionSettingConst = 29
	FusionSettingFMPreset1            FusionSettingConst = 30
	FusionSettingFMPreset2            FusionSettingConst = 31
	FusionSettingFMPreset3            FusionSettingConst = 32
	FusionSettingFMPreset4            FusionSettingConst = 33
	FusionSettingFMPreset5            FusionSettingConst = 34
	FusionSettingFMPreset6            FusionSettingConst = 35
	FusionSettingFMPreset7            FusionSettingConst = 36
	FusionSettingFMPreset8            FusionSettingConst = 37
	FusionSettingFMPreset9            FusionSettingConst = 38
	FusionSettingFMPreset10           FusionSettingConst = 39
	FusionSettingFMPreset11           FusionSettingConst = 40
	FusionSettingFMPreset12           FusionSettingConst = 41
	FusionSettingFMPreset13           FusionSettingConst = 42
	FusionSettingFMPreset14           FusionSettingConst = 43
	FusionSettingVHFPreset0           FusionSettingConst = 44
	FusionSettingVHFPreset1           FusionSettingConst = 45
	FusionSettingVHFPreset2           FusionSettingConst = 46
	FusionSettingVHFPreset3           FusionSettingConst = 47
	FusionSettingVHFPreset4           FusionSettingConst = 48
	FusionSettingVHFPreset5           FusionSettingConst = 49
	FusionSettingVHFPreset6           FusionSettingConst = 50
	FusionSettingVHFPreset7           FusionSettingConst = 51
	FusionSettingVHFPreset8           FusionSettingConst = 52
	FusionSettingVHFPreset9           FusionSettingConst = 53
	FusionSettingVHFPreset10          FusionSettingConst = 54
	FusionSettingVHFPreset11          FusionSettingConst = 55
	FusionSettingVHFPreset12          FusionSettingConst = 56
	FusionSettingVHFPreset13          FusionSettingConst = 57
	FusionSettingVHFPreset14          FusionSettingConst = 58
	FusionSettingClockTime            FusionSettingConst = 59
	FusionSettingClockAlarm           FusionSettingConst = 60
	FusionSettingIPodVideoSignal      FusionSettingConst = 61
	FusionSettingIPodMonitorAspect    FusionSettingConst = 62
	FusionSettingAuxNameIndex         FusionSettingConst = 63
	FusionSettingAMEnabled            FusionSettingConst = 64
	FusionSettingVHFEnabled           FusionSettingConst = 65
	FusionSettingLanguage             FusionSettingConst = 66
	FusionSettingInternalAmpsOn       FusionSettingConst = 67
	FusionSettingMTPRepeat            FusionSettingConst = 68
	FusionSettingMTPShuffle           FusionSettingConst = 69
	FusionSettingIdAccessorySource    FusionSettingConst = 70
	FusionSettingNMEAPower            FusionSettingConst = 71
	FusionSettingLowPowerMode         FusionSettingConst = 72
	FusionSettingDVDRegion            FusionSettingConst = 73
	FusionSettingVolumeZoneSync       FusionSettingConst = 74
	FusionSettingMaxVolumeStart       FusionSettingConst = 75
	FusionSettingBTAutoConnect        FusionSettingConst = 76
	FusionSettingNullSetting          FusionSettingConst = 77
)

func (FusionSettingConst) GoString added in v1.3.0

func (e FusionSettingConst) GoString() string

func (FusionSettingConst) String added in v1.3.0

func (e FusionSettingConst) String() string

type FusionSettings

type FusionSettings struct {
	Info             MessageInfo                `json:"info"`
	ManufacturerCode *uint64                    `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64                    `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64                    `json:"messageId,omitempty" n2k:"4"`
	Count            *uint64                    `json:"count,omitempty" n2k:"5"`
	Repeating1       []FusionSettingsRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*FusionSettings) Clone added in v1.3.0

func (m *FusionSettings) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSettings) DecodePayload

func (m *FusionSettings) DecodePayload(payload []uint8) error

func (*FusionSettings) EncodePayload

func (m *FusionSettings) EncodePayload() ([]uint8, error)

func (*FusionSettings) MessageInfo

func (m *FusionSettings) MessageInfo() MessageInfo

func (*FusionSettings) PGNNumber

func (m *FusionSettings) PGNNumber() uint32

func (*FusionSettings) SetMessageInfo

func (m *FusionSettings) SetMessageInfo(info MessageInfo)

type FusionSettingsRepeating1

type FusionSettingsRepeating1 struct {
	Id    *uint64 `json:"id,omitempty" n2k:"6"`
	Value *uint64 `json:"value,omitempty" n2k:"7"`
}

type FusionSiriusComStateConst added in v1.3.0

type FusionSiriusComStateConst uint8
const (
	FusionSiriusComStateUnknown      FusionSiriusComStateConst = 255
	FusionSiriusComStateOff          FusionSiriusComStateConst = 1
	FusionSiriusComStateInitialising FusionSiriusComStateConst = 2
	FusionSiriusComStateOn           FusionSiriusComStateConst = 3
)

func (FusionSiriusComStateConst) GoString added in v1.3.0

func (e FusionSiriusComStateConst) GoString() string

func (FusionSiriusComStateConst) String added in v1.3.0

func (e FusionSiriusComStateConst) String() string

type FusionSiriusCommandConst

type FusionSiriusCommandConst uint8
const (
	FusionSiriusCommandNext FusionSiriusCommandConst = 1
	FusionSiriusCommandPrev FusionSiriusCommandConst = 2
)

func (FusionSiriusCommandConst) GoString

func (e FusionSiriusCommandConst) GoString() string

func (FusionSiriusCommandConst) String

func (e FusionSiriusCommandConst) String() string

type FusionSiriusControl

type FusionSiriusControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Command          *uint64     `json:"command,omitempty" n2k:"6"`
	Data             *uint64     `json:"data,omitempty" n2k:"7"`
}

func (*FusionSiriusControl) Clone added in v1.3.0

func (m *FusionSiriusControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSiriusControl) DecodePayload

func (m *FusionSiriusControl) DecodePayload(payload []uint8) error

func (*FusionSiriusControl) EncodePayload

func (m *FusionSiriusControl) EncodePayload() ([]uint8, error)

func (*FusionSiriusControl) MessageInfo

func (m *FusionSiriusControl) MessageInfo() MessageInfo

func (*FusionSiriusControl) PGNNumber

func (m *FusionSiriusControl) PGNNumber() uint32

func (*FusionSiriusControl) SetMessageInfo

func (m *FusionSiriusControl) SetMessageInfo(info MessageInfo)

type FusionSiriusTuningModeConst added in v1.3.0

type FusionSiriusTuningModeConst uint8
const (
	FusionSiriusTuningModeNormal   FusionSiriusTuningModeConst = 1
	FusionSiriusTuningModeCategory FusionSiriusTuningModeConst = 2
	FusionSiriusTuningModePreset   FusionSiriusTuningModeConst = 3
)

func (FusionSiriusTuningModeConst) GoString added in v1.3.0

func (e FusionSiriusTuningModeConst) GoString() string

func (FusionSiriusTuningModeConst) String added in v1.3.0

type FusionSiriusxm

type FusionSiriusxm struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	ComState         *uint64     `json:"comState,omitempty" n2k:"6"`
	Alert            *uint64     `json:"alert,omitempty" n2k:"7"`
	AdvisoryChannel  *uint64     `json:"advisoryChannel,omitempty" n2k:"8"`
	TuningMode       *uint64     `json:"tuningMode,omitempty" n2k:"9"`
}

func (*FusionSiriusxm) Clone added in v1.3.0

func (m *FusionSiriusxm) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSiriusxm) DecodePayload

func (m *FusionSiriusxm) DecodePayload(payload []uint8) error

func (*FusionSiriusxm) EncodePayload

func (m *FusionSiriusxm) EncodePayload() ([]uint8, error)

func (*FusionSiriusxm) MessageInfo

func (m *FusionSiriusxm) MessageInfo() MessageInfo

func (*FusionSiriusxm) PGNNumber

func (m *FusionSiriusxm) PGNNumber() uint32

func (*FusionSiriusxm) SetMessageInfo

func (m *FusionSiriusxm) SetMessageInfo(info MessageInfo)

type FusionSiriusxmArtist

type FusionSiriusxmArtist struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Channel          *uint64     `json:"channel,omitempty" n2k:"6"`
	Artist           string      `json:"artist,omitempty" n2k:"7"`
}

func (*FusionSiriusxmArtist) Clone added in v1.3.0

func (m *FusionSiriusxmArtist) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSiriusxmArtist) DecodePayload

func (m *FusionSiriusxmArtist) DecodePayload(payload []uint8) error

func (*FusionSiriusxmArtist) EncodePayload

func (m *FusionSiriusxmArtist) EncodePayload() ([]uint8, error)

func (*FusionSiriusxmArtist) MessageInfo

func (m *FusionSiriusxmArtist) MessageInfo() MessageInfo

func (*FusionSiriusxmArtist) PGNNumber

func (m *FusionSiriusxmArtist) PGNNumber() uint32

func (*FusionSiriusxmArtist) SetMessageInfo

func (m *FusionSiriusxmArtist) SetMessageInfo(info MessageInfo)

type FusionSiriusxmCategory

type FusionSiriusxmCategory struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Channel          *uint64     `json:"channel,omitempty" n2k:"6"`
	Name             string      `json:"name,omitempty" n2k:"7"`
}

func (*FusionSiriusxmCategory) Clone added in v1.3.0

func (m *FusionSiriusxmCategory) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSiriusxmCategory) DecodePayload

func (m *FusionSiriusxmCategory) DecodePayload(payload []uint8) error

func (*FusionSiriusxmCategory) EncodePayload

func (m *FusionSiriusxmCategory) EncodePayload() ([]uint8, error)

func (*FusionSiriusxmCategory) MessageInfo

func (m *FusionSiriusxmCategory) MessageInfo() MessageInfo

func (*FusionSiriusxmCategory) PGNNumber

func (m *FusionSiriusxmCategory) PGNNumber() uint32

func (*FusionSiriusxmCategory) SetMessageInfo

func (m *FusionSiriusxmCategory) SetMessageInfo(info MessageInfo)

type FusionSiriusxmChannel

type FusionSiriusxmChannel struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	ChannelNumber    *uint64     `json:"channelNumber,omitempty" n2k:"6"`
	Channel          string      `json:"channel,omitempty" n2k:"7"`
}

func (*FusionSiriusxmChannel) Clone added in v1.3.0

func (m *FusionSiriusxmChannel) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSiriusxmChannel) DecodePayload

func (m *FusionSiriusxmChannel) DecodePayload(payload []uint8) error

func (*FusionSiriusxmChannel) EncodePayload

func (m *FusionSiriusxmChannel) EncodePayload() ([]uint8, error)

func (*FusionSiriusxmChannel) MessageInfo

func (m *FusionSiriusxmChannel) MessageInfo() MessageInfo

func (*FusionSiriusxmChannel) PGNNumber

func (m *FusionSiriusxmChannel) PGNNumber() uint32

func (*FusionSiriusxmChannel) SetMessageInfo

func (m *FusionSiriusxmChannel) SetMessageInfo(info MessageInfo)

type FusionSiriusxmContentInfo

type FusionSiriusxmContentInfo struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Channel          *uint64     `json:"channel,omitempty" n2k:"6"`
	Genre            string      `json:"genre,omitempty" n2k:"7"`
}

func (*FusionSiriusxmContentInfo) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSiriusxmContentInfo) DecodePayload

func (m *FusionSiriusxmContentInfo) DecodePayload(payload []uint8) error

func (*FusionSiriusxmContentInfo) EncodePayload

func (m *FusionSiriusxmContentInfo) EncodePayload() ([]uint8, error)

func (*FusionSiriusxmContentInfo) MessageInfo

func (m *FusionSiriusxmContentInfo) MessageInfo() MessageInfo

func (*FusionSiriusxmContentInfo) PGNNumber

func (m *FusionSiriusxmContentInfo) PGNNumber() uint32

func (*FusionSiriusxmContentInfo) SetMessageInfo

func (m *FusionSiriusxmContentInfo) SetMessageInfo(info MessageInfo)

type FusionSiriusxmPresets

type FusionSiriusxmPresets struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Count            *uint64     `json:"count,omitempty" n2k:"6"`
	Values           []uint8     `json:"values,omitempty" n2k:"7"`
}

func (*FusionSiriusxmPresets) Clone added in v1.3.0

func (m *FusionSiriusxmPresets) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSiriusxmPresets) DecodePayload

func (m *FusionSiriusxmPresets) DecodePayload(payload []uint8) error

func (*FusionSiriusxmPresets) EncodePayload

func (m *FusionSiriusxmPresets) EncodePayload() ([]uint8, error)

func (*FusionSiriusxmPresets) MessageInfo

func (m *FusionSiriusxmPresets) MessageInfo() MessageInfo

func (*FusionSiriusxmPresets) PGNNumber

func (m *FusionSiriusxmPresets) PGNNumber() uint32

func (*FusionSiriusxmPresets) SetMessageInfo

func (m *FusionSiriusxmPresets) SetMessageInfo(info MessageInfo)

type FusionSiriusxmSignal

type FusionSiriusxmSignal struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Signal           *uint64     `json:"signal,omitempty" n2k:"6"`
}

func (*FusionSiriusxmSignal) Clone added in v1.3.0

func (m *FusionSiriusxmSignal) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSiriusxmSignal) DecodePayload

func (m *FusionSiriusxmSignal) DecodePayload(payload []uint8) error

func (*FusionSiriusxmSignal) EncodePayload

func (m *FusionSiriusxmSignal) EncodePayload() ([]uint8, error)

func (*FusionSiriusxmSignal) MessageInfo

func (m *FusionSiriusxmSignal) MessageInfo() MessageInfo

func (*FusionSiriusxmSignal) PGNNumber

func (m *FusionSiriusxmSignal) PGNNumber() uint32

func (*FusionSiriusxmSignal) SetMessageInfo

func (m *FusionSiriusxmSignal) SetMessageInfo(info MessageInfo)

type FusionSiriusxmTitle

type FusionSiriusxmTitle struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Channel          *uint64     `json:"channel,omitempty" n2k:"6"`
	Title            string      `json:"title,omitempty" n2k:"7"`
}

func (*FusionSiriusxmTitle) Clone added in v1.3.0

func (m *FusionSiriusxmTitle) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSiriusxmTitle) DecodePayload

func (m *FusionSiriusxmTitle) DecodePayload(payload []uint8) error

func (*FusionSiriusxmTitle) EncodePayload

func (m *FusionSiriusxmTitle) EncodePayload() ([]uint8, error)

func (*FusionSiriusxmTitle) MessageInfo

func (m *FusionSiriusxmTitle) MessageInfo() MessageInfo

func (*FusionSiriusxmTitle) PGNNumber

func (m *FusionSiriusxmTitle) PGNNumber() uint32

func (*FusionSiriusxmTitle) SetMessageInfo

func (m *FusionSiriusxmTitle) SetMessageInfo(info MessageInfo)

type FusionSource

type FusionSource struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	CurrentSourceId  *uint64     `json:"currentSourceId,omitempty" n2k:"6"`
	SourceType       *uint64     `json:"sourceType,omitempty" n2k:"7"`
	Flags            *uint64     `json:"flags,omitempty" n2k:"8"`
	Source           string      `json:"source,omitempty" n2k:"9"`
}

func (*FusionSource) Clone added in v1.3.0

func (m *FusionSource) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSource) DecodePayload

func (m *FusionSource) DecodePayload(payload []uint8) error

func (*FusionSource) EncodePayload

func (m *FusionSource) EncodePayload() ([]uint8, error)

func (*FusionSource) MessageInfo

func (m *FusionSource) MessageInfo() MessageInfo

func (*FusionSource) PGNNumber

func (m *FusionSource) PGNNumber() uint32

func (*FusionSource) SetMessageInfo

func (m *FusionSource) SetMessageInfo(info MessageInfo)

type FusionSourceCount

type FusionSourceCount struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceCount      *uint64     `json:"sourceCount,omitempty" n2k:"5"`
}

func (*FusionSourceCount) Clone added in v1.3.0

func (m *FusionSourceCount) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSourceCount) DecodePayload

func (m *FusionSourceCount) DecodePayload(payload []uint8) error

func (*FusionSourceCount) EncodePayload

func (m *FusionSourceCount) EncodePayload() ([]uint8, error)

func (*FusionSourceCount) MessageInfo

func (m *FusionSourceCount) MessageInfo() MessageInfo

func (*FusionSourceCount) PGNNumber

func (m *FusionSourceCount) PGNNumber() uint32

func (*FusionSourceCount) SetMessageInfo

func (m *FusionSourceCount) SetMessageInfo(info MessageInfo)

type FusionSourceTypeConst added in v1.3.0

type FusionSourceTypeConst uint8
const (
	FusionSourceTypeAM        FusionSourceTypeConst = 0
	FusionSourceTypeFM        FusionSourceTypeConst = 1
	FusionSourceTypeAux       FusionSourceTypeConst = 2
	FusionSourceTypeSirius    FusionSourceTypeConst = 3
	FusionSourceTypeIpod      FusionSourceTypeConst = 4
	FusionSourceTypeUSB       FusionSourceTypeConst = 5
	FusionSourceTypeDVD       FusionSourceTypeConst = 6
	FusionSourceTypeVHF       FusionSourceTypeConst = 7
	FusionSourceTypeInvalid   FusionSourceTypeConst = 8
	FusionSourceTypeMTP       FusionSourceTypeConst = 9
	FusionSourceTypeBluetooth FusionSourceTypeConst = 10
	FusionSourceTypeARC       FusionSourceTypeConst = 11
	FusionSourceTypeAndroid   FusionSourceTypeConst = 12
	FusionSourceTypePandora   FusionSourceTypeConst = 13
	FusionSourceTypeDAB       FusionSourceTypeConst = 14
	FusionSourceTypeAirPlay   FusionSourceTypeConst = 15
	FusionSourceTypeUPNP      FusionSourceTypeConst = 16
	FusionSourceTypeUnknown   FusionSourceTypeConst = 17
)

func (FusionSourceTypeConst) GoString added in v1.3.0

func (e FusionSourceTypeConst) GoString() string

func (FusionSourceTypeConst) String added in v1.3.0

func (e FusionSourceTypeConst) String() string

type FusionSpeedVolumeCurrentSpeed

type FusionSpeedVolumeCurrentSpeed struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Speed            *uint64     `json:"speed,omitempty" n2k:"6"`
	Enabled          *uint64     `json:"enabled,omitempty" n2k:"7"`
}

func (*FusionSpeedVolumeCurrentSpeed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSpeedVolumeCurrentSpeed) DecodePayload

func (m *FusionSpeedVolumeCurrentSpeed) DecodePayload(payload []uint8) error

func (*FusionSpeedVolumeCurrentSpeed) EncodePayload

func (m *FusionSpeedVolumeCurrentSpeed) EncodePayload() ([]uint8, error)

func (*FusionSpeedVolumeCurrentSpeed) MessageInfo

func (m *FusionSpeedVolumeCurrentSpeed) MessageInfo() MessageInfo

func (*FusionSpeedVolumeCurrentSpeed) PGNNumber

func (m *FusionSpeedVolumeCurrentSpeed) PGNNumber() uint32

func (*FusionSpeedVolumeCurrentSpeed) SetMessageInfo

func (m *FusionSpeedVolumeCurrentSpeed) SetMessageInfo(info MessageInfo)

type FusionStatusMessageIdConst added in v1.3.0

type FusionStatusMessageIdConst uint16
const (
	FusionStatusMessageIdUnknown                  FusionStatusMessageIdConst = 0
	FusionStatusMessageIdAPIVersion               FusionStatusMessageIdConst = 32769
	FusionStatusMessageIdSource                   FusionStatusMessageIdConst = 32770
	FusionStatusMessageIdSourceCount              FusionStatusMessageIdConst = 32771
	FusionStatusMessageIdTrackInfo                FusionStatusMessageIdConst = 32772
	FusionStatusMessageIdTrackTitle               FusionStatusMessageIdConst = 32773
	FusionStatusMessageIdTrackArtist              FusionStatusMessageIdConst = 32774
	FusionStatusMessageIdTrackAlbum               FusionStatusMessageIdConst = 32775
	FusionStatusMessageIdCoverArt                 FusionStatusMessageIdConst = 32776
	FusionStatusMessageIdTrackProgress            FusionStatusMessageIdConst = 32777
	FusionStatusMessageIdTunerAlign               FusionStatusMessageIdConst = 32778
	FusionStatusMessageIdTuner                    FusionStatusMessageIdConst = 32779
	FusionStatusMessageIdMarineTuner              FusionStatusMessageIdConst = 32780
	FusionStatusMessageIdMarineSquelch            FusionStatusMessageIdConst = 32781
	FusionStatusMessageIdMarineScanMode           FusionStatusMessageIdConst = 32782
	FusionStatusMessageIdMenuAction               FusionStatusMessageIdConst = 32783
	FusionStatusMessageIdMenuCount                FusionStatusMessageIdConst = 32784
	FusionStatusMessageIdMenuItem                 FusionStatusMessageIdConst = 32785
	FusionStatusMessageIdMenuLockID               FusionStatusMessageIdConst = 32786
	FusionStatusMessageIdAuxGain                  FusionStatusMessageIdConst = 32787
	FusionStatusMessageIdSetting                  FusionStatusMessageIdConst = 32788
	FusionStatusMessageIdSettings                 FusionStatusMessageIdConst = 32789
	FusionStatusMessageIdUpdateFirmwareResult     FusionStatusMessageIdConst = 32790
	FusionStatusMessageIdMute                     FusionStatusMessageIdConst = 32791
	FusionStatusMessageIdBalance                  FusionStatusMessageIdConst = 32792
	FusionStatusMessageIdLowPassFilter            FusionStatusMessageIdConst = 32793
	FusionStatusMessageIdSublevels                FusionStatusMessageIdConst = 32794
	FusionStatusMessageIdTone                     FusionStatusMessageIdConst = 32795
	FusionStatusMessageIdVolumeLimits             FusionStatusMessageIdConst = 32796
	FusionStatusMessageIdVolume                   FusionStatusMessageIdConst = 32797
	FusionStatusMessageIdCapabilities             FusionStatusMessageIdConst = 32798
	FusionStatusMessageIdLineLevelControl         FusionStatusMessageIdConst = 32799
	FusionStatusMessageIdPower                    FusionStatusMessageIdConst = 32800
	FusionStatusMessageIdUnitName                 FusionStatusMessageIdConst = 32801
	FusionStatusMessageIdSirius                   FusionStatusMessageIdConst = 32802
	FusionStatusMessageIdSiriusXMPresetEvent      FusionStatusMessageIdConst = 32803
	FusionStatusMessageIdSiriusXMChannel          FusionStatusMessageIdConst = 32804
	FusionStatusMessageIdSiriusXMTitle            FusionStatusMessageIdConst = 32805
	FusionStatusMessageIdSiriusXMArtist           FusionStatusMessageIdConst = 32806
	FusionStatusMessageIdSiriusXMGenre            FusionStatusMessageIdConst = 32807
	FusionStatusMessageIdSiriusXMCategory         FusionStatusMessageIdConst = 32808
	FusionStatusMessageIdSiriusXmSignal           FusionStatusMessageIdConst = 32809
	FusionStatusMessageIdSiriusXMParentalRequest  FusionStatusMessageIdConst = 32810
	FusionStatusMessageIdSiriusXMDiagnostics      FusionStatusMessageIdConst = 32811
	FusionStatusMessageIdSiriusXMPresets          FusionStatusMessageIdConst = 32812
	FusionStatusMessageIdZoneName                 FusionStatusMessageIdConst = 32813
	FusionStatusMessageIdIPSetting                FusionStatusMessageIdConst = 32819
	FusionStatusMessageIdMultiroom                FusionStatusMessageIdConst = 32824
	FusionStatusMessageIdMultiroomStatus          FusionStatusMessageIdConst = 32825
	FusionStatusMessageIdSystemCapabilities       FusionStatusMessageIdConst = 32829
	FusionStatusMessageIdPartNumber               FusionStatusMessageIdConst = 32830
	FusionStatusMessageIdProcessingBypass         FusionStatusMessageIdConst = 32832
	FusionStatusMessageIdServerInfo               FusionStatusMessageIdConst = 32846
	FusionStatusMessageIdRDSData                  FusionStatusMessageIdConst = 32850
	FusionStatusMessageIdIgnitionSwitchState      FusionStatusMessageIdConst = 32859
	FusionStatusMessageIdMono                     FusionStatusMessageIdConst = 32862
	FusionStatusMessageIdSpeedVolumeCurrentSpeed  FusionStatusMessageIdConst = 32863
	FusionStatusMessageIdZoneCapabilitiesExtended FusionStatusMessageIdConst = 32865
)

func (FusionStatusMessageIdConst) GoString added in v1.3.0

func (e FusionStatusMessageIdConst) GoString() string

func (FusionStatusMessageIdConst) String added in v1.3.0

type FusionSublevels

type FusionSublevels struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Zone1            *uint64     `json:"zone1,omitempty" n2k:"5"`
	Zone2            *uint64     `json:"zone2,omitempty" n2k:"6"`
	Zone3            *uint64     `json:"zone3,omitempty" n2k:"7"`
	Zone4            *uint64     `json:"zone4,omitempty" n2k:"8"`
}

func (*FusionSublevels) Clone added in v1.3.0

func (m *FusionSublevels) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionSublevels) DecodePayload

func (m *FusionSublevels) DecodePayload(payload []uint8) error

func (*FusionSublevels) EncodePayload

func (m *FusionSublevels) EncodePayload() ([]uint8, error)

func (*FusionSublevels) MessageInfo

func (m *FusionSublevels) MessageInfo() MessageInfo

func (*FusionSublevels) PGNNumber

func (m *FusionSublevels) PGNNumber() uint32

func (*FusionSublevels) SetMessageInfo

func (m *FusionSublevels) SetMessageInfo(info MessageInfo)

type FusionTrackName

type FusionTrackName struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Index            *uint64     `json:"index,omitempty" n2k:"6"`
	Track            string      `json:"track,omitempty" n2k:"7"`
}

func (*FusionTrackName) Clone added in v1.3.0

func (m *FusionTrackName) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionTrackName) DecodePayload

func (m *FusionTrackName) DecodePayload(payload []uint8) error

func (*FusionTrackName) EncodePayload

func (m *FusionTrackName) EncodePayload() ([]uint8, error)

func (*FusionTrackName) MessageInfo

func (m *FusionTrackName) MessageInfo() MessageInfo

func (*FusionTrackName) PGNNumber

func (m *FusionTrackName) PGNNumber() uint32

func (*FusionTrackName) SetMessageInfo

func (m *FusionTrackName) SetMessageInfo(info MessageInfo)

type FusionTrackPosition

type FusionTrackPosition struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Progress         *uint64     `json:"progress,omitempty" n2k:"6"`
}

func (*FusionTrackPosition) Clone added in v1.3.0

func (m *FusionTrackPosition) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionTrackPosition) DecodePayload

func (m *FusionTrackPosition) DecodePayload(payload []uint8) error

func (*FusionTrackPosition) EncodePayload

func (m *FusionTrackPosition) EncodePayload() ([]uint8, error)

func (*FusionTrackPosition) MessageInfo

func (m *FusionTrackPosition) MessageInfo() MessageInfo

func (*FusionTrackPosition) PGNNumber

func (m *FusionTrackPosition) PGNNumber() uint32

func (*FusionTrackPosition) ProgressValue

func (m *FusionTrackPosition) ProgressValue() (float64, bool)

ProgressValue returns Progress as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FusionTrackPosition) SetMessageInfo

func (m *FusionTrackPosition) SetMessageInfo(info MessageInfo)

func (*FusionTrackPosition) SetProgressValue

func (m *FusionTrackPosition) SetProgressValue(v float64)

SetProgressValue sets Progress from a physical value in s, rounded to the nearest wire tick of 0.001.

type FusionTuner

type FusionTuner struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"5"`
	Scanning         *uint64     `json:"scanning,omitempty" n2k:"6"`
	Frequency        *uint64     `json:"frequency,omitempty" n2k:"7"`
	SignalStrength   *uint64     `json:"signalStrength,omitempty" n2k:"8"`
	Track            string      `json:"track,omitempty" n2k:"9"`
}

func (*FusionTuner) Clone added in v1.3.0

func (m *FusionTuner) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionTuner) DecodePayload

func (m *FusionTuner) DecodePayload(payload []uint8) error

func (*FusionTuner) EncodePayload

func (m *FusionTuner) EncodePayload() ([]uint8, error)

func (*FusionTuner) FrequencyValue

func (m *FusionTuner) FrequencyValue() (float64, bool)

FrequencyValue returns Frequency as a physical value in Hz (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*FusionTuner) MessageInfo

func (m *FusionTuner) MessageInfo() MessageInfo

func (*FusionTuner) PGNNumber

func (m *FusionTuner) PGNNumber() uint32

func (*FusionTuner) SetFrequencyValue

func (m *FusionTuner) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 1.

func (*FusionTuner) SetMessageInfo

func (m *FusionTuner) SetMessageInfo(info MessageInfo)

type FusionUsbRepeatStatus

type FusionUsbRepeatStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Id               *uint64     `json:"id,omitempty" n2k:"5"`
	Status           *uint64     `json:"status,omitempty" n2k:"6"`
}

func (*FusionUsbRepeatStatus) Clone added in v1.3.0

func (m *FusionUsbRepeatStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionUsbRepeatStatus) DecodePayload

func (m *FusionUsbRepeatStatus) DecodePayload(payload []uint8) error

func (*FusionUsbRepeatStatus) EncodePayload

func (m *FusionUsbRepeatStatus) EncodePayload() ([]uint8, error)

func (*FusionUsbRepeatStatus) MessageInfo

func (m *FusionUsbRepeatStatus) MessageInfo() MessageInfo

func (*FusionUsbRepeatStatus) PGNNumber

func (m *FusionUsbRepeatStatus) PGNNumber() uint32

func (*FusionUsbRepeatStatus) SetMessageInfo

func (m *FusionUsbRepeatStatus) SetMessageInfo(info MessageInfo)

type FusionVersions

type FusionVersions struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	HwVersionMajor   *uint64     `json:"hwVersionMajor,omitempty" n2k:"5"`
	HwVersionMinor   *uint64     `json:"hwVersionMinor,omitempty" n2k:"6"`
	SwVersionMajor   *uint64     `json:"swVersionMajor,omitempty" n2k:"7"`
	SwVersionMinor   *uint64     `json:"swVersionMinor,omitempty" n2k:"8"`
	BuildNumber      *uint64     `json:"buildNumber,omitempty" n2k:"9"`
}

func (*FusionVersions) Clone added in v1.3.0

func (m *FusionVersions) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionVersions) DecodePayload

func (m *FusionVersions) DecodePayload(payload []uint8) error

func (*FusionVersions) EncodePayload

func (m *FusionVersions) EncodePayload() ([]uint8, error)

func (*FusionVersions) MessageInfo

func (m *FusionVersions) MessageInfo() MessageInfo

func (*FusionVersions) PGNNumber

func (m *FusionVersions) PGNNumber() uint32

func (*FusionVersions) SetMessageInfo

func (m *FusionVersions) SetMessageInfo(info MessageInfo)

type FusionVolumeLimits

type FusionVolumeLimits struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Zone1VolumeLimit *uint64     `json:"zone1VolumeLimit,omitempty" n2k:"5"`
	Zone2VolumeLimit *uint64     `json:"zone2VolumeLimit,omitempty" n2k:"6"`
	Zone3VolumeLimit *uint64     `json:"zone3VolumeLimit,omitempty" n2k:"7"`
	Zone4VolumeLimit *uint64     `json:"zone4VolumeLimit,omitempty" n2k:"8"`
}

func (*FusionVolumeLimits) Clone added in v1.3.0

func (m *FusionVolumeLimits) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionVolumeLimits) DecodePayload

func (m *FusionVolumeLimits) DecodePayload(payload []uint8) error

func (*FusionVolumeLimits) EncodePayload

func (m *FusionVolumeLimits) EncodePayload() ([]uint8, error)

func (*FusionVolumeLimits) MessageInfo

func (m *FusionVolumeLimits) MessageInfo() MessageInfo

func (*FusionVolumeLimits) PGNNumber

func (m *FusionVolumeLimits) PGNNumber() uint32

func (*FusionVolumeLimits) SetMessageInfo

func (m *FusionVolumeLimits) SetMessageInfo(info MessageInfo)

type FusionVolumes

type FusionVolumes struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Zone1            *uint64     `json:"zone1,omitempty" n2k:"5"`
	Zone2            *uint64     `json:"zone2,omitempty" n2k:"6"`
	Zone3            *uint64     `json:"zone3,omitempty" n2k:"7"`
	Zone4            *uint64     `json:"zone4,omitempty" n2k:"8"`
}

func (*FusionVolumes) Clone added in v1.3.0

func (m *FusionVolumes) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionVolumes) DecodePayload

func (m *FusionVolumes) DecodePayload(payload []uint8) error

func (*FusionVolumes) EncodePayload

func (m *FusionVolumes) EncodePayload() ([]uint8, error)

func (*FusionVolumes) MessageInfo

func (m *FusionVolumes) MessageInfo() MessageInfo

func (*FusionVolumes) PGNNumber

func (m *FusionVolumes) PGNNumber() uint32

func (*FusionVolumes) SetMessageInfo

func (m *FusionVolumes) SetMessageInfo(info MessageInfo)

type FusionZoneName

type FusionZoneName struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Number           *uint64     `json:"number,omitempty" n2k:"5"`
	Name             string      `json:"name,omitempty" n2k:"6"`
}

func (*FusionZoneName) Clone added in v1.3.0

func (m *FusionZoneName) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*FusionZoneName) DecodePayload

func (m *FusionZoneName) DecodePayload(payload []uint8) error

func (*FusionZoneName) EncodePayload

func (m *FusionZoneName) EncodePayload() ([]uint8, error)

func (*FusionZoneName) MessageInfo

func (m *FusionZoneName) MessageInfo() MessageInfo

func (*FusionZoneName) PGNNumber

func (m *FusionZoneName) PGNNumber() uint32

func (*FusionZoneName) SetMessageInfo

func (m *FusionZoneName) SetMessageInfo(info MessageInfo)

type GarminAhrsAttCogSourceValidFlag

type GarminAhrsAttCogSourceValidFlag struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	AttMessageId     *uint64     `json:"attMessageId,omitempty" n2k:"7"`
	CogSourceFlags   *uint64     `json:"cogSourceFlags,omitempty" n2k:"8"`
}

func (*GarminAhrsAttCogSourceValidFlag) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAhrsAttCogSourceValidFlag) DecodePayload

func (m *GarminAhrsAttCogSourceValidFlag) DecodePayload(payload []uint8) error

func (*GarminAhrsAttCogSourceValidFlag) EncodePayload

func (m *GarminAhrsAttCogSourceValidFlag) EncodePayload() ([]uint8, error)

func (*GarminAhrsAttCogSourceValidFlag) MessageInfo

func (*GarminAhrsAttCogSourceValidFlag) PGNNumber

func (m *GarminAhrsAttCogSourceValidFlag) PGNNumber() uint32

func (*GarminAhrsAttCogSourceValidFlag) SetMessageInfo

func (m *GarminAhrsAttCogSourceValidFlag) SetMessageInfo(info MessageInfo)

type GarminAhrsAttDeviceFlags

type GarminAhrsAttDeviceFlags struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	AttMessageId     *uint64     `json:"attMessageId,omitempty" n2k:"7"`
	DeviceFlags      *uint64     `json:"deviceFlags,omitempty" n2k:"8"`
}

func (*GarminAhrsAttDeviceFlags) Clone added in v1.3.0

func (m *GarminAhrsAttDeviceFlags) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAhrsAttDeviceFlags) DecodePayload

func (m *GarminAhrsAttDeviceFlags) DecodePayload(payload []uint8) error

func (*GarminAhrsAttDeviceFlags) EncodePayload

func (m *GarminAhrsAttDeviceFlags) EncodePayload() ([]uint8, error)

func (*GarminAhrsAttDeviceFlags) MessageInfo

func (m *GarminAhrsAttDeviceFlags) MessageInfo() MessageInfo

func (*GarminAhrsAttDeviceFlags) PGNNumber

func (m *GarminAhrsAttDeviceFlags) PGNNumber() uint32

func (*GarminAhrsAttDeviceFlags) SetMessageInfo

func (m *GarminAhrsAttDeviceFlags) SetMessageInfo(info MessageInfo)

type GarminAhrsAttNonDefaultCalibrationMatrixPresent

type GarminAhrsAttNonDefaultCalibrationMatrixPresent struct {
	Info                     MessageInfo `json:"info"`
	ManufacturerCode         *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode             *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId            *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1             *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2             *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	AttMessageId             *uint64     `json:"attMessageId,omitempty" n2k:"7"`
	CalibrationMatrixPresent *uint64     `json:"calibrationMatrixPresent,omitempty" n2k:"8"`
}

func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) DecodePayload

func (m *GarminAhrsAttNonDefaultCalibrationMatrixPresent) DecodePayload(payload []uint8) error

func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) EncodePayload

func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) MessageInfo

func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) PGNNumber

func (*GarminAhrsAttNonDefaultCalibrationMatrixPresent) SetMessageInfo

type GarminAhrsAttSetNorthState

type GarminAhrsAttSetNorthState struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	AttMessageId     *uint64     `json:"attMessageId,omitempty" n2k:"7"`
	SetNorthState    *uint64     `json:"setNorthState,omitempty" n2k:"8"`
}

func (*GarminAhrsAttSetNorthState) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAhrsAttSetNorthState) DecodePayload

func (m *GarminAhrsAttSetNorthState) DecodePayload(payload []uint8) error

func (*GarminAhrsAttSetNorthState) EncodePayload

func (m *GarminAhrsAttSetNorthState) EncodePayload() ([]uint8, error)

func (*GarminAhrsAttSetNorthState) MessageInfo

func (m *GarminAhrsAttSetNorthState) MessageInfo() MessageInfo

func (*GarminAhrsAttSetNorthState) PGNNumber

func (m *GarminAhrsAttSetNorthState) PGNNumber() uint32

func (*GarminAhrsAttSetNorthState) SetMessageInfo

func (m *GarminAhrsAttSetNorthState) SetMessageInfo(info MessageInfo)

type GarminAttMessageIdConst added in v1.3.0

type GarminAttMessageIdConst uint16
const (
	GarminAttMessageIdCalibrationMatrixPresent GarminAttMessageIdConst = 40
	GarminAttMessageIdSetNorthState            GarminAttMessageIdConst = 52
	GarminAttMessageIdDeviceFlags              GarminAttMessageIdConst = 65
	GarminAttMessageIdCOGSourceValidFlag       GarminAttMessageIdConst = 67
)

func (GarminAttMessageIdConst) GoString added in v1.3.0

func (e GarminAttMessageIdConst) GoString() string

func (GarminAttMessageIdConst) String added in v1.3.0

func (e GarminAttMessageIdConst) String() string

type GarminAutopilotEngineRpmA

type GarminAutopilotEngineRpmA struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	EngineSpeed      *uint64     `json:"engineSpeed,omitempty" n2k:"10"`
}

func (*GarminAutopilotEngineRpmA) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotEngineRpmA) DecodePayload

func (m *GarminAutopilotEngineRpmA) DecodePayload(payload []uint8) error

func (*GarminAutopilotEngineRpmA) EncodePayload

func (m *GarminAutopilotEngineRpmA) EncodePayload() ([]uint8, error)

func (*GarminAutopilotEngineRpmA) EngineSpeedValue

func (m *GarminAutopilotEngineRpmA) EngineSpeedValue() (float64, bool)

EngineSpeedValue returns EngineSpeed as a physical value in rpm (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GarminAutopilotEngineRpmA) MessageInfo

func (m *GarminAutopilotEngineRpmA) MessageInfo() MessageInfo

func (*GarminAutopilotEngineRpmA) PGNNumber

func (m *GarminAutopilotEngineRpmA) PGNNumber() uint32

func (*GarminAutopilotEngineRpmA) SetEngineSpeedValue

func (m *GarminAutopilotEngineRpmA) SetEngineSpeedValue(v float64)

SetEngineSpeedValue sets EngineSpeed from a physical value in rpm, rounded to the nearest wire tick of 1.

func (*GarminAutopilotEngineRpmA) SetMessageInfo

func (m *GarminAutopilotEngineRpmA) SetMessageInfo(info MessageInfo)

type GarminAutopilotEngineRpmB

type GarminAutopilotEngineRpmB struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	EngineSpeed      *uint64     `json:"engineSpeed,omitempty" n2k:"10"`
}

func (*GarminAutopilotEngineRpmB) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotEngineRpmB) DecodePayload

func (m *GarminAutopilotEngineRpmB) DecodePayload(payload []uint8) error

func (*GarminAutopilotEngineRpmB) EncodePayload

func (m *GarminAutopilotEngineRpmB) EncodePayload() ([]uint8, error)

func (*GarminAutopilotEngineRpmB) EngineSpeedValue

func (m *GarminAutopilotEngineRpmB) EngineSpeedValue() (float64, bool)

EngineSpeedValue returns EngineSpeed as a physical value in rpm (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GarminAutopilotEngineRpmB) MessageInfo

func (m *GarminAutopilotEngineRpmB) MessageInfo() MessageInfo

func (*GarminAutopilotEngineRpmB) PGNNumber

func (m *GarminAutopilotEngineRpmB) PGNNumber() uint32

func (*GarminAutopilotEngineRpmB) SetEngineSpeedValue

func (m *GarminAutopilotEngineRpmB) SetEngineSpeedValue(v float64)

SetEngineSpeedValue sets EngineSpeed from a physical value in rpm, rounded to the nearest wire tick of 1.

func (*GarminAutopilotEngineRpmB) SetMessageInfo

func (m *GarminAutopilotEngineRpmB) SetMessageInfo(info MessageInfo)

type GarminAutopilotFieldConst added in v1.3.0

type GarminAutopilotFieldConst uint8
const (
	GarminAutopilotFieldHeartbeat         GarminAutopilotFieldConst = 3
	GarminAutopilotFieldModeState         GarminAutopilotFieldConst = 10
	GarminAutopilotFieldHeadingToSteer    GarminAutopilotFieldConst = 11
	GarminAutopilotFieldResponseSetting   GarminAutopilotFieldConst = 62
	GarminAutopilotFieldRateOfTurn        GarminAutopilotFieldConst = 114
	GarminAutopilotFieldRateOfTurnOrder   GarminAutopilotFieldConst = 115
	GarminAutopilotFieldTurnAngleOrder    GarminAutopilotFieldConst = 116
	GarminAutopilotFieldSystemVoltage     GarminAutopilotFieldConst = 158
	GarminAutopilotFieldTurnAngleMeasured GarminAutopilotFieldConst = 161
	GarminAutopilotFieldEngineRPMB        GarminAutopilotFieldConst = 239
	GarminAutopilotFieldEngineRPMA        GarminAutopilotFieldConst = 240
	GarminAutopilotFieldSpeed             GarminAutopilotFieldConst = 246
)

func (GarminAutopilotFieldConst) GoString added in v1.3.0

func (e GarminAutopilotFieldConst) GoString() string

func (GarminAutopilotFieldConst) String added in v1.3.0

func (e GarminAutopilotFieldConst) String() string

type GarminAutopilotHeadingToSteer

type GarminAutopilotHeadingToSteer struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	HeadingToSteer   *float32    `json:"headingToSteer,omitempty" n2k:"10"`
}

func (*GarminAutopilotHeadingToSteer) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotHeadingToSteer) DecodePayload

func (m *GarminAutopilotHeadingToSteer) DecodePayload(payload []uint8) error

func (*GarminAutopilotHeadingToSteer) EncodePayload

func (m *GarminAutopilotHeadingToSteer) EncodePayload() ([]uint8, error)

func (*GarminAutopilotHeadingToSteer) MessageInfo

func (m *GarminAutopilotHeadingToSteer) MessageInfo() MessageInfo

func (*GarminAutopilotHeadingToSteer) PGNNumber

func (m *GarminAutopilotHeadingToSteer) PGNNumber() uint32

func (*GarminAutopilotHeadingToSteer) SetMessageInfo

func (m *GarminAutopilotHeadingToSteer) SetMessageInfo(info MessageInfo)

type GarminAutopilotHeartbeat

type GarminAutopilotHeartbeat struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	HeartbeatData    []uint8     `json:"heartbeatData,omitempty" n2k:"9"`
}

func (*GarminAutopilotHeartbeat) Clone added in v1.3.0

func (m *GarminAutopilotHeartbeat) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotHeartbeat) DecodePayload

func (m *GarminAutopilotHeartbeat) DecodePayload(payload []uint8) error

func (*GarminAutopilotHeartbeat) EncodePayload

func (m *GarminAutopilotHeartbeat) EncodePayload() ([]uint8, error)

func (*GarminAutopilotHeartbeat) MessageInfo

func (m *GarminAutopilotHeartbeat) MessageInfo() MessageInfo

func (*GarminAutopilotHeartbeat) PGNNumber

func (m *GarminAutopilotHeartbeat) PGNNumber() uint32

func (*GarminAutopilotHeartbeat) SetMessageInfo

func (m *GarminAutopilotHeartbeat) SetMessageInfo(info MessageInfo)

type GarminAutopilotManeuver

type GarminAutopilotManeuver struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	ManeuverCode     *uint64     `json:"maneuverCode,omitempty" n2k:"8"`
	Value            *uint64     `json:"value,omitempty" n2k:"10"`
}

func (*GarminAutopilotManeuver) Clone added in v1.3.0

func (m *GarminAutopilotManeuver) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotManeuver) DecodePayload

func (m *GarminAutopilotManeuver) DecodePayload(payload []uint8) error

func (*GarminAutopilotManeuver) EncodePayload

func (m *GarminAutopilotManeuver) EncodePayload() ([]uint8, error)

func (*GarminAutopilotManeuver) MessageInfo

func (m *GarminAutopilotManeuver) MessageInfo() MessageInfo

func (*GarminAutopilotManeuver) PGNNumber

func (m *GarminAutopilotManeuver) PGNNumber() uint32

func (*GarminAutopilotManeuver) SetMessageInfo

func (m *GarminAutopilotManeuver) SetMessageInfo(info MessageInfo)

type GarminAutopilotModeState

type GarminAutopilotModeState struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	ModeState        *uint64     `json:"modeState,omitempty" n2k:"10"`
}

func (*GarminAutopilotModeState) Clone added in v1.3.0

func (m *GarminAutopilotModeState) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotModeState) DecodePayload

func (m *GarminAutopilotModeState) DecodePayload(payload []uint8) error

func (*GarminAutopilotModeState) EncodePayload

func (m *GarminAutopilotModeState) EncodePayload() ([]uint8, error)

func (*GarminAutopilotModeState) MessageInfo

func (m *GarminAutopilotModeState) MessageInfo() MessageInfo

func (*GarminAutopilotModeState) PGNNumber

func (m *GarminAutopilotModeState) PGNNumber() uint32

func (*GarminAutopilotModeState) SetMessageInfo

func (m *GarminAutopilotModeState) SetMessageInfo(info MessageInfo)

type GarminAutopilotModeStateConst added in v1.3.0

type GarminAutopilotModeStateConst uint8
const (
	GarminAutopilotModeStateStandby     GarminAutopilotModeStateConst = 2
	GarminAutopilotModeStateShadowDrive GarminAutopilotModeStateConst = 3
	GarminAutopilotModeStateEngaged     GarminAutopilotModeStateConst = 5
)

func (GarminAutopilotModeStateConst) GoString added in v1.3.0

func (GarminAutopilotModeStateConst) String added in v1.3.0

type GarminAutopilotRateOfTurn

type GarminAutopilotRateOfTurn struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	RateOfTurn       *float32    `json:"rateOfTurn,omitempty" n2k:"10"`
}

func (*GarminAutopilotRateOfTurn) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotRateOfTurn) DecodePayload

func (m *GarminAutopilotRateOfTurn) DecodePayload(payload []uint8) error

func (*GarminAutopilotRateOfTurn) EncodePayload

func (m *GarminAutopilotRateOfTurn) EncodePayload() ([]uint8, error)

func (*GarminAutopilotRateOfTurn) MessageInfo

func (m *GarminAutopilotRateOfTurn) MessageInfo() MessageInfo

func (*GarminAutopilotRateOfTurn) PGNNumber

func (m *GarminAutopilotRateOfTurn) PGNNumber() uint32

func (*GarminAutopilotRateOfTurn) SetMessageInfo

func (m *GarminAutopilotRateOfTurn) SetMessageInfo(info MessageInfo)

type GarminAutopilotRateOfTurnOrder

type GarminAutopilotRateOfTurnOrder struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	RateOfTurnOrder  *float32    `json:"rateOfTurnOrder,omitempty" n2k:"10"`
}

func (*GarminAutopilotRateOfTurnOrder) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotRateOfTurnOrder) DecodePayload

func (m *GarminAutopilotRateOfTurnOrder) DecodePayload(payload []uint8) error

func (*GarminAutopilotRateOfTurnOrder) EncodePayload

func (m *GarminAutopilotRateOfTurnOrder) EncodePayload() ([]uint8, error)

func (*GarminAutopilotRateOfTurnOrder) MessageInfo

func (*GarminAutopilotRateOfTurnOrder) PGNNumber

func (m *GarminAutopilotRateOfTurnOrder) PGNNumber() uint32

func (*GarminAutopilotRateOfTurnOrder) SetMessageInfo

func (m *GarminAutopilotRateOfTurnOrder) SetMessageInfo(info MessageInfo)

type GarminAutopilotResponseSetting

type GarminAutopilotResponseSetting struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	ResponseSetting  *int64      `json:"responseSetting,omitempty" n2k:"10"`
}

func (*GarminAutopilotResponseSetting) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotResponseSetting) DecodePayload

func (m *GarminAutopilotResponseSetting) DecodePayload(payload []uint8) error

func (*GarminAutopilotResponseSetting) EncodePayload

func (m *GarminAutopilotResponseSetting) EncodePayload() ([]uint8, error)

func (*GarminAutopilotResponseSetting) MessageInfo

func (*GarminAutopilotResponseSetting) PGNNumber

func (m *GarminAutopilotResponseSetting) PGNNumber() uint32

func (*GarminAutopilotResponseSetting) SetMessageInfo

func (m *GarminAutopilotResponseSetting) SetMessageInfo(info MessageInfo)

type GarminAutopilotSpeed

type GarminAutopilotSpeed struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	Speed            *float32    `json:"speed,omitempty" n2k:"10"`
}

func (*GarminAutopilotSpeed) Clone added in v1.3.0

func (m *GarminAutopilotSpeed) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotSpeed) DecodePayload

func (m *GarminAutopilotSpeed) DecodePayload(payload []uint8) error

func (*GarminAutopilotSpeed) EncodePayload

func (m *GarminAutopilotSpeed) EncodePayload() ([]uint8, error)

func (*GarminAutopilotSpeed) MessageInfo

func (m *GarminAutopilotSpeed) MessageInfo() MessageInfo

func (*GarminAutopilotSpeed) PGNNumber

func (m *GarminAutopilotSpeed) PGNNumber() uint32

func (*GarminAutopilotSpeed) SetMessageInfo

func (m *GarminAutopilotSpeed) SetMessageInfo(info MessageInfo)

type GarminAutopilotSystemVoltage

type GarminAutopilotSystemVoltage struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	SystemVoltage    *uint64     `json:"systemVoltage,omitempty" n2k:"10"`
}

func (*GarminAutopilotSystemVoltage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotSystemVoltage) DecodePayload

func (m *GarminAutopilotSystemVoltage) DecodePayload(payload []uint8) error

func (*GarminAutopilotSystemVoltage) EncodePayload

func (m *GarminAutopilotSystemVoltage) EncodePayload() ([]uint8, error)

func (*GarminAutopilotSystemVoltage) MessageInfo

func (m *GarminAutopilotSystemVoltage) MessageInfo() MessageInfo

func (*GarminAutopilotSystemVoltage) PGNNumber

func (m *GarminAutopilotSystemVoltage) PGNNumber() uint32

func (*GarminAutopilotSystemVoltage) SetMessageInfo

func (m *GarminAutopilotSystemVoltage) SetMessageInfo(info MessageInfo)

func (*GarminAutopilotSystemVoltage) SetSystemVoltageValue

func (m *GarminAutopilotSystemVoltage) SetSystemVoltageValue(v float64)

SetSystemVoltageValue sets SystemVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*GarminAutopilotSystemVoltage) SystemVoltageValue

func (m *GarminAutopilotSystemVoltage) SystemVoltageValue() (float64, bool)

SystemVoltageValue returns SystemVoltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type GarminAutopilotTurnAngleMeasured

type GarminAutopilotTurnAngleMeasured struct {
	Info              MessageInfo `json:"info"`
	ManufacturerCode  *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode      *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId     *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1      *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2      *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup        *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field             *uint64     `json:"field,omitempty" n2k:"8"`
	TurnAngleMeasured *uint64     `json:"turnAngleMeasured,omitempty" n2k:"10"`
}

func (*GarminAutopilotTurnAngleMeasured) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotTurnAngleMeasured) DecodePayload

func (m *GarminAutopilotTurnAngleMeasured) DecodePayload(payload []uint8) error

func (*GarminAutopilotTurnAngleMeasured) EncodePayload

func (m *GarminAutopilotTurnAngleMeasured) EncodePayload() ([]uint8, error)

func (*GarminAutopilotTurnAngleMeasured) MessageInfo

func (*GarminAutopilotTurnAngleMeasured) PGNNumber

func (*GarminAutopilotTurnAngleMeasured) SetMessageInfo

func (m *GarminAutopilotTurnAngleMeasured) SetMessageInfo(info MessageInfo)

func (*GarminAutopilotTurnAngleMeasured) SetTurnAngleMeasuredValue

func (m *GarminAutopilotTurnAngleMeasured) SetTurnAngleMeasuredValue(v float64)

SetTurnAngleMeasuredValue sets TurnAngleMeasured from a physical value in rad, rounded to the nearest wire tick of 9.58738e-05.

func (*GarminAutopilotTurnAngleMeasured) TurnAngleMeasuredValue

func (m *GarminAutopilotTurnAngleMeasured) TurnAngleMeasuredValue() (float64, bool)

TurnAngleMeasuredValue returns TurnAngleMeasured as a physical value in rad (value = raw * 9.58738e-05). The bool is false for absent, sentinel, or out-of-range measurements.

type GarminAutopilotTurnAngleOrder

type GarminAutopilotTurnAngleOrder struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubProtocolId    *uint64     `json:"subProtocolId,omitempty" n2k:"4"`
	WrapperByte1     *uint64     `json:"wrapperByte1,omitempty" n2k:"5"`
	WrapperByte2     *uint64     `json:"wrapperByte2,omitempty" n2k:"6"`
	FieldGroup       *uint64     `json:"fieldGroup,omitempty" n2k:"7"`
	Field            *uint64     `json:"field,omitempty" n2k:"8"`
	TurnAngleOrder   *uint64     `json:"turnAngleOrder,omitempty" n2k:"10"`
}

func (*GarminAutopilotTurnAngleOrder) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminAutopilotTurnAngleOrder) DecodePayload

func (m *GarminAutopilotTurnAngleOrder) DecodePayload(payload []uint8) error

func (*GarminAutopilotTurnAngleOrder) EncodePayload

func (m *GarminAutopilotTurnAngleOrder) EncodePayload() ([]uint8, error)

func (*GarminAutopilotTurnAngleOrder) MessageInfo

func (m *GarminAutopilotTurnAngleOrder) MessageInfo() MessageInfo

func (*GarminAutopilotTurnAngleOrder) PGNNumber

func (m *GarminAutopilotTurnAngleOrder) PGNNumber() uint32

func (*GarminAutopilotTurnAngleOrder) SetMessageInfo

func (m *GarminAutopilotTurnAngleOrder) SetMessageInfo(info MessageInfo)

func (*GarminAutopilotTurnAngleOrder) SetTurnAngleOrderValue

func (m *GarminAutopilotTurnAngleOrder) SetTurnAngleOrderValue(v float64)

SetTurnAngleOrderValue sets TurnAngleOrder from a physical value in rad, rounded to the nearest wire tick of 9.58738e-05.

func (*GarminAutopilotTurnAngleOrder) TurnAngleOrderValue

func (m *GarminAutopilotTurnAngleOrder) TurnAngleOrderValue() (float64, bool)

TurnAngleOrderValue returns TurnAngleOrder as a physical value in rad (value = raw * 9.58738e-05). The bool is false for absent, sentinel, or out-of-range measurements.

type GarminBacklightLevelConst

type GarminBacklightLevelConst uint8
const (
	GarminBacklightLevel0   GarminBacklightLevelConst = 0
	GarminBacklightLevel5   GarminBacklightLevelConst = 1
	GarminBacklightLevel10  GarminBacklightLevelConst = 2
	GarminBacklightLevel15  GarminBacklightLevelConst = 3
	GarminBacklightLevel20  GarminBacklightLevelConst = 4
	GarminBacklightLevel25  GarminBacklightLevelConst = 5
	GarminBacklightLevel30  GarminBacklightLevelConst = 6
	GarminBacklightLevel35  GarminBacklightLevelConst = 7
	GarminBacklightLevel40  GarminBacklightLevelConst = 8
	GarminBacklightLevel45  GarminBacklightLevelConst = 9
	GarminBacklightLevel50  GarminBacklightLevelConst = 10
	GarminBacklightLevel55  GarminBacklightLevelConst = 11
	GarminBacklightLevel60  GarminBacklightLevelConst = 12
	GarminBacklightLevel65  GarminBacklightLevelConst = 13
	GarminBacklightLevel70  GarminBacklightLevelConst = 14
	GarminBacklightLevel75  GarminBacklightLevelConst = 15
	GarminBacklightLevel80  GarminBacklightLevelConst = 16
	GarminBacklightLevel85  GarminBacklightLevelConst = 17
	GarminBacklightLevel90  GarminBacklightLevelConst = 18
	GarminBacklightLevel95  GarminBacklightLevelConst = 19
	GarminBacklightLevel100 GarminBacklightLevelConst = 20
)

func (GarminBacklightLevelConst) GoString

func (e GarminBacklightLevelConst) GoString() string

func (GarminBacklightLevelConst) String

func (e GarminBacklightLevelConst) String() string

type GarminColorConst

type GarminColorConst uint8
const (
	GarminColorDayFullColor    GarminColorConst = 0
	GarminColorDayHighContrast GarminColorConst = 1
	GarminColorNightFullColor  GarminColorConst = 2
	GarminColorNightRedBlack   GarminColorConst = 3
	GarminColorNightGreenBlack GarminColorConst = 4
)

func (GarminColorConst) GoString

func (e GarminColorConst) GoString() string

func (GarminColorConst) String

func (e GarminColorConst) String() string

type GarminColorMode

type GarminColorMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	UnknownId1       *uint64     `json:"unknownId1,omitempty" n2k:"4"`
	UnknownId2       *uint64     `json:"unknownId2,omitempty" n2k:"5"`
	UnknownId3       *uint64     `json:"unknownId3,omitempty" n2k:"6"`
	UnknownId4       *uint64     `json:"unknownId4,omitempty" n2k:"7"`
	Mode             *uint64     `json:"mode,omitempty" n2k:"9"`
	Color            *uint64     `json:"color,omitempty" n2k:"11"`
}

func (*GarminColorMode) Clone added in v1.3.0

func (m *GarminColorMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminColorMode) DecodePayload

func (m *GarminColorMode) DecodePayload(payload []uint8) error

func (*GarminColorMode) EncodePayload

func (m *GarminColorMode) EncodePayload() ([]uint8, error)

func (*GarminColorMode) MessageInfo

func (m *GarminColorMode) MessageInfo() MessageInfo

func (*GarminColorMode) PGNNumber

func (m *GarminColorMode) PGNNumber() uint32

func (*GarminColorMode) SetMessageInfo

func (m *GarminColorMode) SetMessageInfo(info MessageInfo)

type GarminColorModeConst

type GarminColorModeConst uint8
const (
	GarminColorModeDay   GarminColorModeConst = 0
	GarminColorModeNight GarminColorModeConst = 1
	GarminColorModeColor GarminColorModeConst = 13
)

func (GarminColorModeConst) GoString

func (e GarminColorModeConst) GoString() string

func (GarminColorModeConst) String

func (e GarminColorModeConst) String() string

type GarminDayMode

type GarminDayMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	UnknownId1       *uint64     `json:"unknownId1,omitempty" n2k:"4"`
	UnknownId2       *uint64     `json:"unknownId2,omitempty" n2k:"5"`
	UnknownId3       *uint64     `json:"unknownId3,omitempty" n2k:"6"`
	UnknownId4       *uint64     `json:"unknownId4,omitempty" n2k:"7"`
	Mode             *uint64     `json:"mode,omitempty" n2k:"9"`
	Backlight        *uint64     `json:"backlight,omitempty" n2k:"11"`
}

func (*GarminDayMode) Clone added in v1.3.0

func (m *GarminDayMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminDayMode) DecodePayload

func (m *GarminDayMode) DecodePayload(payload []uint8) error

func (*GarminDayMode) EncodePayload

func (m *GarminDayMode) EncodePayload() ([]uint8, error)

func (*GarminDayMode) MessageInfo

func (m *GarminDayMode) MessageInfo() MessageInfo

func (*GarminDayMode) PGNNumber

func (m *GarminDayMode) PGNNumber() uint32

func (*GarminDayMode) SetMessageInfo

func (m *GarminDayMode) SetMessageInfo(info MessageInfo)

type GarminMessageIdConst added in v1.3.0

type GarminMessageIdConst uint16
const (
	GarminMessageIdAHRSATTTransport   GarminMessageIdConst = 1900
	GarminMessageIdAutopilotTransport GarminMessageIdConst = 5904
)

func (GarminMessageIdConst) GoString added in v1.3.0

func (e GarminMessageIdConst) GoString() string

func (GarminMessageIdConst) String added in v1.3.0

func (e GarminMessageIdConst) String() string

type GarminNightMode

type GarminNightMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	UnknownId1       *uint64     `json:"unknownId1,omitempty" n2k:"4"`
	UnknownId2       *uint64     `json:"unknownId2,omitempty" n2k:"5"`
	UnknownId3       *uint64     `json:"unknownId3,omitempty" n2k:"6"`
	UnknownId4       *uint64     `json:"unknownId4,omitempty" n2k:"7"`
	Mode             *uint64     `json:"mode,omitempty" n2k:"9"`
	Backlight        *uint64     `json:"backlight,omitempty" n2k:"11"`
}

func (*GarminNightMode) Clone added in v1.3.0

func (m *GarminNightMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GarminNightMode) DecodePayload

func (m *GarminNightMode) DecodePayload(payload []uint8) error

func (*GarminNightMode) EncodePayload

func (m *GarminNightMode) EncodePayload() ([]uint8, error)

func (*GarminNightMode) MessageInfo

func (m *GarminNightMode) MessageInfo() MessageInfo

func (*GarminNightMode) PGNNumber

func (m *GarminNightMode) PGNNumber() uint32

func (*GarminNightMode) SetMessageInfo

func (m *GarminNightMode) SetMessageInfo(info MessageInfo)

type GearStatusConst

type GearStatusConst uint8
const (
	GearStatusForward GearStatusConst = 0
	GearStatusNeutral GearStatusConst = 1
	GearStatusReverse GearStatusConst = 2
)

func (GearStatusConst) GoString

func (e GearStatusConst) GoString() string

func (GearStatusConst) String

func (e GearStatusConst) String() string

type GeneratorAverageBasicAcQuantities

type GeneratorAverageBasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
	AcRmsCurrent            *uint64     `json:"acRmsCurrent,omitempty" n2k:"4"`
}

func (*GeneratorAverageBasicAcQuantities) AcFrequencyValue

func (m *GeneratorAverageBasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorAverageBasicAcQuantities) AcRmsCurrentValue

func (m *GeneratorAverageBasicAcQuantities) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorAverageBasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorAverageBasicAcQuantities) DecodePayload

func (m *GeneratorAverageBasicAcQuantities) DecodePayload(payload []uint8) error

func (*GeneratorAverageBasicAcQuantities) EncodePayload

func (m *GeneratorAverageBasicAcQuantities) EncodePayload() ([]uint8, error)

func (*GeneratorAverageBasicAcQuantities) LineLineAcRmsVoltageValue

func (m *GeneratorAverageBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *GeneratorAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorAverageBasicAcQuantities) MessageInfo

func (*GeneratorAverageBasicAcQuantities) PGNNumber

func (*GeneratorAverageBasicAcQuantities) SetAcFrequencyValue

func (m *GeneratorAverageBasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*GeneratorAverageBasicAcQuantities) SetAcRmsCurrentValue

func (m *GeneratorAverageBasicAcQuantities) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.

func (*GeneratorAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *GeneratorAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*GeneratorAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *GeneratorAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*GeneratorAverageBasicAcQuantities) SetMessageInfo

func (m *GeneratorAverageBasicAcQuantities) SetMessageInfo(info MessageInfo)

type GeneratorPhaseAAcPower

type GeneratorPhaseAAcPower struct {
	Info          MessageInfo `json:"info"`
	RealPower     *int64      `json:"realPower,omitempty" n2k:"1"`
	ApparentPower *int64      `json:"apparentPower,omitempty" n2k:"2"`
}

func (*GeneratorPhaseAAcPower) ApparentPowerValue

func (m *GeneratorPhaseAAcPower) ApparentPowerValue() (float64, bool)

ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseAAcPower) Clone added in v1.3.0

func (m *GeneratorPhaseAAcPower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorPhaseAAcPower) DecodePayload

func (m *GeneratorPhaseAAcPower) DecodePayload(payload []uint8) error

func (*GeneratorPhaseAAcPower) EncodePayload

func (m *GeneratorPhaseAAcPower) EncodePayload() ([]uint8, error)

func (*GeneratorPhaseAAcPower) MessageInfo

func (m *GeneratorPhaseAAcPower) MessageInfo() MessageInfo

func (*GeneratorPhaseAAcPower) PGNNumber

func (m *GeneratorPhaseAAcPower) PGNNumber() uint32

func (*GeneratorPhaseAAcPower) RealPowerValue

func (m *GeneratorPhaseAAcPower) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseAAcPower) SetApparentPowerValue

func (m *GeneratorPhaseAAcPower) SetApparentPowerValue(v float64)

SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseAAcPower) SetMessageInfo

func (m *GeneratorPhaseAAcPower) SetMessageInfo(info MessageInfo)

func (*GeneratorPhaseAAcPower) SetRealPowerValue

func (m *GeneratorPhaseAAcPower) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

type GeneratorPhaseAAcReactivePower

type GeneratorPhaseAAcReactivePower struct {
	Info               MessageInfo `json:"info"`
	ReactivePower      *int64      `json:"reactivePower,omitempty" n2k:"1"`
	PowerFactor        *uint64     `json:"powerFactor,omitempty" n2k:"2"`
	PowerFactorLagging *uint64     `json:"powerFactorLagging,omitempty" n2k:"3"`
}

func (*GeneratorPhaseAAcReactivePower) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorPhaseAAcReactivePower) DecodePayload

func (m *GeneratorPhaseAAcReactivePower) DecodePayload(payload []uint8) error

func (*GeneratorPhaseAAcReactivePower) EncodePayload

func (m *GeneratorPhaseAAcReactivePower) EncodePayload() ([]uint8, error)

func (*GeneratorPhaseAAcReactivePower) MessageInfo

func (*GeneratorPhaseAAcReactivePower) PGNNumber

func (m *GeneratorPhaseAAcReactivePower) PGNNumber() uint32

func (*GeneratorPhaseAAcReactivePower) PowerFactorValue

func (m *GeneratorPhaseAAcReactivePower) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseAAcReactivePower) ReactivePowerValue

func (m *GeneratorPhaseAAcReactivePower) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseAAcReactivePower) SetMessageInfo

func (m *GeneratorPhaseAAcReactivePower) SetMessageInfo(info MessageInfo)

func (*GeneratorPhaseAAcReactivePower) SetPowerFactorValue

func (m *GeneratorPhaseAAcReactivePower) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.

func (*GeneratorPhaseAAcReactivePower) SetReactivePowerValue

func (m *GeneratorPhaseAAcReactivePower) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

type GeneratorPhaseABasicAcQuantities

type GeneratorPhaseABasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
	AcRmsCurrent            *uint64     `json:"acRmsCurrent,omitempty" n2k:"4"`
}

func (*GeneratorPhaseABasicAcQuantities) AcFrequencyValue

func (m *GeneratorPhaseABasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseABasicAcQuantities) AcRmsCurrentValue

func (m *GeneratorPhaseABasicAcQuantities) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseABasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorPhaseABasicAcQuantities) DecodePayload

func (m *GeneratorPhaseABasicAcQuantities) DecodePayload(payload []uint8) error

func (*GeneratorPhaseABasicAcQuantities) EncodePayload

func (m *GeneratorPhaseABasicAcQuantities) EncodePayload() ([]uint8, error)

func (*GeneratorPhaseABasicAcQuantities) LineLineAcRmsVoltageValue

func (m *GeneratorPhaseABasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *GeneratorPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseABasicAcQuantities) MessageInfo

func (*GeneratorPhaseABasicAcQuantities) PGNNumber

func (*GeneratorPhaseABasicAcQuantities) SetAcFrequencyValue

func (m *GeneratorPhaseABasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*GeneratorPhaseABasicAcQuantities) SetAcRmsCurrentValue

func (m *GeneratorPhaseABasicAcQuantities) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *GeneratorPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *GeneratorPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseABasicAcQuantities) SetMessageInfo

func (m *GeneratorPhaseABasicAcQuantities) SetMessageInfo(info MessageInfo)

type GeneratorPhaseBAcPower

type GeneratorPhaseBAcPower struct {
	Info          MessageInfo `json:"info"`
	RealPower     *int64      `json:"realPower,omitempty" n2k:"1"`
	ApparentPower *int64      `json:"apparentPower,omitempty" n2k:"2"`
}

func (*GeneratorPhaseBAcPower) ApparentPowerValue

func (m *GeneratorPhaseBAcPower) ApparentPowerValue() (float64, bool)

ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseBAcPower) Clone added in v1.3.0

func (m *GeneratorPhaseBAcPower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorPhaseBAcPower) DecodePayload

func (m *GeneratorPhaseBAcPower) DecodePayload(payload []uint8) error

func (*GeneratorPhaseBAcPower) EncodePayload

func (m *GeneratorPhaseBAcPower) EncodePayload() ([]uint8, error)

func (*GeneratorPhaseBAcPower) MessageInfo

func (m *GeneratorPhaseBAcPower) MessageInfo() MessageInfo

func (*GeneratorPhaseBAcPower) PGNNumber

func (m *GeneratorPhaseBAcPower) PGNNumber() uint32

func (*GeneratorPhaseBAcPower) RealPowerValue

func (m *GeneratorPhaseBAcPower) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseBAcPower) SetApparentPowerValue

func (m *GeneratorPhaseBAcPower) SetApparentPowerValue(v float64)

SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseBAcPower) SetMessageInfo

func (m *GeneratorPhaseBAcPower) SetMessageInfo(info MessageInfo)

func (*GeneratorPhaseBAcPower) SetRealPowerValue

func (m *GeneratorPhaseBAcPower) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

type GeneratorPhaseBAcReactivePower

type GeneratorPhaseBAcReactivePower struct {
	Info               MessageInfo `json:"info"`
	ReactivePower      *int64      `json:"reactivePower,omitempty" n2k:"1"`
	PowerFactor        *uint64     `json:"powerFactor,omitempty" n2k:"2"`
	PowerFactorLagging *uint64     `json:"powerFactorLagging,omitempty" n2k:"3"`
}

func (*GeneratorPhaseBAcReactivePower) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorPhaseBAcReactivePower) DecodePayload

func (m *GeneratorPhaseBAcReactivePower) DecodePayload(payload []uint8) error

func (*GeneratorPhaseBAcReactivePower) EncodePayload

func (m *GeneratorPhaseBAcReactivePower) EncodePayload() ([]uint8, error)

func (*GeneratorPhaseBAcReactivePower) MessageInfo

func (*GeneratorPhaseBAcReactivePower) PGNNumber

func (m *GeneratorPhaseBAcReactivePower) PGNNumber() uint32

func (*GeneratorPhaseBAcReactivePower) PowerFactorValue

func (m *GeneratorPhaseBAcReactivePower) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseBAcReactivePower) ReactivePowerValue

func (m *GeneratorPhaseBAcReactivePower) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseBAcReactivePower) SetMessageInfo

func (m *GeneratorPhaseBAcReactivePower) SetMessageInfo(info MessageInfo)

func (*GeneratorPhaseBAcReactivePower) SetPowerFactorValue

func (m *GeneratorPhaseBAcReactivePower) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.

func (*GeneratorPhaseBAcReactivePower) SetReactivePowerValue

func (m *GeneratorPhaseBAcReactivePower) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

type GeneratorPhaseBBasicAcQuantities

type GeneratorPhaseBBasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
	AcRmsCurrent            *uint64     `json:"acRmsCurrent,omitempty" n2k:"4"`
}

func (*GeneratorPhaseBBasicAcQuantities) AcFrequencyValue

func (m *GeneratorPhaseBBasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseBBasicAcQuantities) AcRmsCurrentValue

func (m *GeneratorPhaseBBasicAcQuantities) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseBBasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorPhaseBBasicAcQuantities) DecodePayload

func (m *GeneratorPhaseBBasicAcQuantities) DecodePayload(payload []uint8) error

func (*GeneratorPhaseBBasicAcQuantities) EncodePayload

func (m *GeneratorPhaseBBasicAcQuantities) EncodePayload() ([]uint8, error)

func (*GeneratorPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue

func (m *GeneratorPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *GeneratorPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseBBasicAcQuantities) MessageInfo

func (*GeneratorPhaseBBasicAcQuantities) PGNNumber

func (*GeneratorPhaseBBasicAcQuantities) SetAcFrequencyValue

func (m *GeneratorPhaseBBasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*GeneratorPhaseBBasicAcQuantities) SetAcRmsCurrentValue

func (m *GeneratorPhaseBBasicAcQuantities) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *GeneratorPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *GeneratorPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseBBasicAcQuantities) SetMessageInfo

func (m *GeneratorPhaseBBasicAcQuantities) SetMessageInfo(info MessageInfo)

type GeneratorPhaseCAcPower

type GeneratorPhaseCAcPower struct {
	Info          MessageInfo `json:"info"`
	RealPower     *int64      `json:"realPower,omitempty" n2k:"1"`
	ApparentPower *int64      `json:"apparentPower,omitempty" n2k:"2"`
}

func (*GeneratorPhaseCAcPower) ApparentPowerValue

func (m *GeneratorPhaseCAcPower) ApparentPowerValue() (float64, bool)

ApparentPowerValue returns ApparentPower as a physical value in VAR (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseCAcPower) Clone added in v1.3.0

func (m *GeneratorPhaseCAcPower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorPhaseCAcPower) DecodePayload

func (m *GeneratorPhaseCAcPower) DecodePayload(payload []uint8) error

func (*GeneratorPhaseCAcPower) EncodePayload

func (m *GeneratorPhaseCAcPower) EncodePayload() ([]uint8, error)

func (*GeneratorPhaseCAcPower) MessageInfo

func (m *GeneratorPhaseCAcPower) MessageInfo() MessageInfo

func (*GeneratorPhaseCAcPower) PGNNumber

func (m *GeneratorPhaseCAcPower) PGNNumber() uint32

func (*GeneratorPhaseCAcPower) RealPowerValue

func (m *GeneratorPhaseCAcPower) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseCAcPower) SetApparentPowerValue

func (m *GeneratorPhaseCAcPower) SetApparentPowerValue(v float64)

SetApparentPowerValue sets ApparentPower from a physical value in VAR, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseCAcPower) SetMessageInfo

func (m *GeneratorPhaseCAcPower) SetMessageInfo(info MessageInfo)

func (*GeneratorPhaseCAcPower) SetRealPowerValue

func (m *GeneratorPhaseCAcPower) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

type GeneratorPhaseCAcReactivePower

type GeneratorPhaseCAcReactivePower struct {
	Info               MessageInfo `json:"info"`
	ReactivePower      *int64      `json:"reactivePower,omitempty" n2k:"1"`
	PowerFactor        *uint64     `json:"powerFactor,omitempty" n2k:"2"`
	PowerFactorLagging *uint64     `json:"powerFactorLagging,omitempty" n2k:"3"`
}

func (*GeneratorPhaseCAcReactivePower) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorPhaseCAcReactivePower) DecodePayload

func (m *GeneratorPhaseCAcReactivePower) DecodePayload(payload []uint8) error

func (*GeneratorPhaseCAcReactivePower) EncodePayload

func (m *GeneratorPhaseCAcReactivePower) EncodePayload() ([]uint8, error)

func (*GeneratorPhaseCAcReactivePower) MessageInfo

func (*GeneratorPhaseCAcReactivePower) PGNNumber

func (m *GeneratorPhaseCAcReactivePower) PGNNumber() uint32

func (*GeneratorPhaseCAcReactivePower) PowerFactorValue

func (m *GeneratorPhaseCAcReactivePower) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseCAcReactivePower) ReactivePowerValue

func (m *GeneratorPhaseCAcReactivePower) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseCAcReactivePower) SetMessageInfo

func (m *GeneratorPhaseCAcReactivePower) SetMessageInfo(info MessageInfo)

func (*GeneratorPhaseCAcReactivePower) SetPowerFactorValue

func (m *GeneratorPhaseCAcReactivePower) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.

func (*GeneratorPhaseCAcReactivePower) SetReactivePowerValue

func (m *GeneratorPhaseCAcReactivePower) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

type GeneratorPhaseCBasicAcQuantities

type GeneratorPhaseCBasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
	AcRmsCurrent            *uint64     `json:"acRmsCurrent,omitempty" n2k:"4"`
}

func (*GeneratorPhaseCBasicAcQuantities) AcFrequencyValue

func (m *GeneratorPhaseCBasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseCBasicAcQuantities) AcRmsCurrentValue

func (m *GeneratorPhaseCBasicAcQuantities) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseCBasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorPhaseCBasicAcQuantities) DecodePayload

func (m *GeneratorPhaseCBasicAcQuantities) DecodePayload(payload []uint8) error

func (*GeneratorPhaseCBasicAcQuantities) EncodePayload

func (m *GeneratorPhaseCBasicAcQuantities) EncodePayload() ([]uint8, error)

func (*GeneratorPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue

func (m *GeneratorPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *GeneratorPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorPhaseCBasicAcQuantities) MessageInfo

func (*GeneratorPhaseCBasicAcQuantities) PGNNumber

func (*GeneratorPhaseCBasicAcQuantities) SetAcFrequencyValue

func (m *GeneratorPhaseCBasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*GeneratorPhaseCBasicAcQuantities) SetAcRmsCurrentValue

func (m *GeneratorPhaseCBasicAcQuantities) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *GeneratorPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *GeneratorPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*GeneratorPhaseCBasicAcQuantities) SetMessageInfo

func (m *GeneratorPhaseCBasicAcQuantities) SetMessageInfo(info MessageInfo)

type GeneratorTotalAcEnergy

type GeneratorTotalAcEnergy struct {
	Info              MessageInfo `json:"info"`
	TotalEnergyExport *uint64     `json:"totalEnergyExport,omitempty" n2k:"1"`
	TotalEnergyImport *uint64     `json:"totalEnergyImport,omitempty" n2k:"2"`
}

func (*GeneratorTotalAcEnergy) Clone added in v1.3.0

func (m *GeneratorTotalAcEnergy) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorTotalAcEnergy) DecodePayload

func (m *GeneratorTotalAcEnergy) DecodePayload(payload []uint8) error

func (*GeneratorTotalAcEnergy) EncodePayload

func (m *GeneratorTotalAcEnergy) EncodePayload() ([]uint8, error)

func (*GeneratorTotalAcEnergy) MessageInfo

func (m *GeneratorTotalAcEnergy) MessageInfo() MessageInfo

func (*GeneratorTotalAcEnergy) PGNNumber

func (m *GeneratorTotalAcEnergy) PGNNumber() uint32

func (*GeneratorTotalAcEnergy) SetMessageInfo

func (m *GeneratorTotalAcEnergy) SetMessageInfo(info MessageInfo)

func (*GeneratorTotalAcEnergy) SetTotalEnergyExportValue

func (m *GeneratorTotalAcEnergy) SetTotalEnergyExportValue(v float64)

SetTotalEnergyExportValue sets TotalEnergyExport from a physical value in kWh, rounded to the nearest wire tick of 1.

func (*GeneratorTotalAcEnergy) SetTotalEnergyImportValue

func (m *GeneratorTotalAcEnergy) SetTotalEnergyImportValue(v float64)

SetTotalEnergyImportValue sets TotalEnergyImport from a physical value in kWh, rounded to the nearest wire tick of 1.

func (*GeneratorTotalAcEnergy) TotalEnergyExportValue

func (m *GeneratorTotalAcEnergy) TotalEnergyExportValue() (float64, bool)

TotalEnergyExportValue returns TotalEnergyExport as a physical value in kWh (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorTotalAcEnergy) TotalEnergyImportValue

func (m *GeneratorTotalAcEnergy) TotalEnergyImportValue() (float64, bool)

TotalEnergyImportValue returns TotalEnergyImport as a physical value in kWh (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type GeneratorTotalAcPower

type GeneratorTotalAcPower struct {
	Info          MessageInfo `json:"info"`
	RealPower     *int64      `json:"realPower,omitempty" n2k:"1"`
	ApparentPower *int64      `json:"apparentPower,omitempty" n2k:"2"`
}

func (*GeneratorTotalAcPower) ApparentPowerValue

func (m *GeneratorTotalAcPower) ApparentPowerValue() (float64, bool)

ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorTotalAcPower) Clone added in v1.3.0

func (m *GeneratorTotalAcPower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorTotalAcPower) DecodePayload

func (m *GeneratorTotalAcPower) DecodePayload(payload []uint8) error

func (*GeneratorTotalAcPower) EncodePayload

func (m *GeneratorTotalAcPower) EncodePayload() ([]uint8, error)

func (*GeneratorTotalAcPower) MessageInfo

func (m *GeneratorTotalAcPower) MessageInfo() MessageInfo

func (*GeneratorTotalAcPower) PGNNumber

func (m *GeneratorTotalAcPower) PGNNumber() uint32

func (*GeneratorTotalAcPower) RealPowerValue

func (m *GeneratorTotalAcPower) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorTotalAcPower) SetApparentPowerValue

func (m *GeneratorTotalAcPower) SetApparentPowerValue(v float64)

SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.

func (*GeneratorTotalAcPower) SetMessageInfo

func (m *GeneratorTotalAcPower) SetMessageInfo(info MessageInfo)

func (*GeneratorTotalAcPower) SetRealPowerValue

func (m *GeneratorTotalAcPower) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

type GeneratorTotalAcReactivePower

type GeneratorTotalAcReactivePower struct {
	Info               MessageInfo `json:"info"`
	ReactivePower      *int64      `json:"reactivePower,omitempty" n2k:"1"`
	PowerFactor        *uint64     `json:"powerFactor,omitempty" n2k:"2"`
	PowerFactorLagging *uint64     `json:"powerFactorLagging,omitempty" n2k:"3"`
}

func (*GeneratorTotalAcReactivePower) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GeneratorTotalAcReactivePower) DecodePayload

func (m *GeneratorTotalAcReactivePower) DecodePayload(payload []uint8) error

func (*GeneratorTotalAcReactivePower) EncodePayload

func (m *GeneratorTotalAcReactivePower) EncodePayload() ([]uint8, error)

func (*GeneratorTotalAcReactivePower) MessageInfo

func (m *GeneratorTotalAcReactivePower) MessageInfo() MessageInfo

func (*GeneratorTotalAcReactivePower) PGNNumber

func (m *GeneratorTotalAcReactivePower) PGNNumber() uint32

func (*GeneratorTotalAcReactivePower) PowerFactorValue

func (m *GeneratorTotalAcReactivePower) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorTotalAcReactivePower) ReactivePowerValue

func (m *GeneratorTotalAcReactivePower) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GeneratorTotalAcReactivePower) SetMessageInfo

func (m *GeneratorTotalAcReactivePower) SetMessageInfo(info MessageInfo)

func (*GeneratorTotalAcReactivePower) SetPowerFactorValue

func (m *GeneratorTotalAcReactivePower) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.

func (*GeneratorTotalAcReactivePower) SetReactivePowerValue

func (m *GeneratorTotalAcReactivePower) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

type GlonassAlmanacData

type GlonassAlmanacData struct {
	Info        MessageInfo `json:"info"`
	Prn         *uint64     `json:"prn,omitempty" n2k:"1"`
	Na          *uint64     `json:"na,omitempty" n2k:"2"`
	Cna         *uint64     `json:"cna,omitempty" n2k:"4"`
	Hna         *uint64     `json:"hna,omitempty" n2k:"5"`
	EpsilonNa   *uint64     `json:"EpsilonNa,omitempty" n2k:"6"`
	DeltatnaDot *uint64     `json:"DeltatnaDot,omitempty" n2k:"7"`
	OmegaNa     *uint64     `json:"OmegaNa,omitempty" n2k:"8"`
	DeltaTna    *uint64     `json:"DeltaTna,omitempty" n2k:"9"`
	Tna         *uint64     `json:"tna,omitempty" n2k:"10"`
	LambdaNa    *uint64     `json:"LambdaNa,omitempty" n2k:"11"`
	DeltaIna    *uint64     `json:"DeltaIna,omitempty" n2k:"12"`
	TauCa       *uint64     `json:"TauCa,omitempty" n2k:"13"`
	TauNa       *uint64     `json:"TauNa,omitempty" n2k:"14"`
}

func (*GlonassAlmanacData) Clone added in v1.3.0

func (m *GlonassAlmanacData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GlonassAlmanacData) DecodePayload

func (m *GlonassAlmanacData) DecodePayload(payload []uint8) error

func (*GlonassAlmanacData) EncodePayload

func (m *GlonassAlmanacData) EncodePayload() ([]uint8, error)

func (*GlonassAlmanacData) MessageInfo

func (m *GlonassAlmanacData) MessageInfo() MessageInfo

func (*GlonassAlmanacData) PGNNumber

func (m *GlonassAlmanacData) PGNNumber() uint32

func (*GlonassAlmanacData) SetMessageInfo

func (m *GlonassAlmanacData) SetMessageInfo(info MessageInfo)

type GnsConst

type GnsConst uint8
const (
	GnsGPS                GnsConst = 0
	GnsGLONASS            GnsConst = 1
	GnsGPSGLONASS         GnsConst = 2
	GnsGPSSBASWAAS        GnsConst = 3
	GnsGPSSBASWAASGLONASS GnsConst = 4
	GnsChayka             GnsConst = 5
	GnsIntegrated         GnsConst = 6
	GnsSurveyed           GnsConst = 7
	GnsGalileo            GnsConst = 8
)

func (GnsConst) GoString

func (e GnsConst) GoString() string

func (GnsConst) String

func (e GnsConst) String() string

type GnsIntegrityConst

type GnsIntegrityConst uint8
const (
	GnsIntegrityNoIntegrityChecking GnsIntegrityConst = 0
	GnsIntegritySafe                GnsIntegrityConst = 1
	GnsIntegrityCaution             GnsIntegrityConst = 2
	GnsIntegrityUnsafe              GnsIntegrityConst = 3
)

func (GnsIntegrityConst) GoString

func (e GnsIntegrityConst) GoString() string

func (GnsIntegrityConst) String

func (e GnsIntegrityConst) String() string

type GnsMethodConst

type GnsMethodConst uint8
const (
	GnsMethodNoGNSS          GnsMethodConst = 0
	GnsMethodGNSSFix         GnsMethodConst = 1
	GnsMethodDGNSSFix        GnsMethodConst = 2
	GnsMethodPreciseGNSS     GnsMethodConst = 3
	GnsMethodRTKFixedInteger GnsMethodConst = 4
	GnsMethodRTKFloat        GnsMethodConst = 5
	GnsMethodEstimatedDRMode GnsMethodConst = 6
	GnsMethodManualInput     GnsMethodConst = 7
	GnsMethodSimulateMode    GnsMethodConst = 8
)

func (GnsMethodConst) GoString

func (e GnsMethodConst) GoString() string

func (GnsMethodConst) String

func (e GnsMethodConst) String() string

type GnssControlStatus

type GnssControlStatus struct {
	Info                        MessageInfo `json:"info"`
	SvElevationMask             *int64      `json:"svElevationMask,omitempty" n2k:"1"`
	PdopMask                    *int64      `json:"pdopMask,omitempty" n2k:"2"`
	PdopSwitch                  *int64      `json:"pdopSwitch,omitempty" n2k:"3"`
	SnrMask                     *int64      `json:"snrMask,omitempty" n2k:"4"`
	GnssModeDesired             *uint64     `json:"gnssModeDesired,omitempty" n2k:"5"`
	DgnssModeDesired            *uint64     `json:"dgnssModeDesired,omitempty" n2k:"6"`
	PositionVelocityFilter      *uint64     `json:"positionVelocityFilter,omitempty" n2k:"7"`
	MaxCorrectionAge            *uint64     `json:"maxCorrectionAge,omitempty" n2k:"8"`
	AntennaAltitudeFor2dMode    *int64      `json:"antennaAltitudeFor2dMode,omitempty" n2k:"9"`
	UseAntennaAltitudeFor2dMode *uint64     `json:"useAntennaAltitudeFor2dMode,omitempty" n2k:"10"`
}

func (*GnssControlStatus) AntennaAltitudeFor2dModeValue

func (m *GnssControlStatus) AntennaAltitudeFor2dModeValue() (float64, bool)

AntennaAltitudeFor2dModeValue returns AntennaAltitudeFor2dMode as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssControlStatus) Clone added in v1.3.0

func (m *GnssControlStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssControlStatus) DecodePayload

func (m *GnssControlStatus) DecodePayload(payload []uint8) error

func (*GnssControlStatus) EncodePayload

func (m *GnssControlStatus) EncodePayload() ([]uint8, error)

func (*GnssControlStatus) MaxCorrectionAgeValue

func (m *GnssControlStatus) MaxCorrectionAgeValue() (float64, bool)

MaxCorrectionAgeValue returns MaxCorrectionAge as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssControlStatus) MessageInfo

func (m *GnssControlStatus) MessageInfo() MessageInfo

func (*GnssControlStatus) PGNNumber

func (m *GnssControlStatus) PGNNumber() uint32

func (*GnssControlStatus) PdopMaskValue

func (m *GnssControlStatus) PdopMaskValue() (float64, bool)

PdopMaskValue returns PdopMask as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssControlStatus) PdopSwitchValue

func (m *GnssControlStatus) PdopSwitchValue() (float64, bool)

PdopSwitchValue returns PdopSwitch as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssControlStatus) SetAntennaAltitudeFor2dModeValue

func (m *GnssControlStatus) SetAntennaAltitudeFor2dModeValue(v float64)

SetAntennaAltitudeFor2dModeValue sets AntennaAltitudeFor2dMode from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssControlStatus) SetMaxCorrectionAgeValue

func (m *GnssControlStatus) SetMaxCorrectionAgeValue(v float64)

SetMaxCorrectionAgeValue sets MaxCorrectionAge from a physical value in s, rounded to the nearest wire tick of 0.01.

func (*GnssControlStatus) SetMessageInfo

func (m *GnssControlStatus) SetMessageInfo(info MessageInfo)

func (*GnssControlStatus) SetPdopMaskValue

func (m *GnssControlStatus) SetPdopMaskValue(v float64)

SetPdopMaskValue sets PdopMask from a physical value, rounded to the nearest wire tick of 0.01.

func (*GnssControlStatus) SetPdopSwitchValue

func (m *GnssControlStatus) SetPdopSwitchValue(v float64)

SetPdopSwitchValue sets PdopSwitch from a physical value, rounded to the nearest wire tick of 0.01.

func (*GnssControlStatus) SetSnrMaskValue

func (m *GnssControlStatus) SetSnrMaskValue(v float64)

SetSnrMaskValue sets SnrMask from a physical value in dB, rounded to the nearest wire tick of 0.01.

func (*GnssControlStatus) SetSvElevationMaskValue

func (m *GnssControlStatus) SetSvElevationMaskValue(v float64)

SetSvElevationMaskValue sets SvElevationMask from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*GnssControlStatus) SnrMaskValue

func (m *GnssControlStatus) SnrMaskValue() (float64, bool)

SnrMaskValue returns SnrMask as a physical value in dB (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssControlStatus) SvElevationMaskValue

func (m *GnssControlStatus) SvElevationMaskValue() (float64, bool)

SvElevationMaskValue returns SvElevationMask as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type GnssDifferentialCorrectionReceiverInterface

type GnssDifferentialCorrectionReceiverInterface struct {
	Info                         MessageInfo `json:"info"`
	Channel                      *uint64     `json:"channel,omitempty" n2k:"1"`
	Frequency                    *uint64     `json:"frequency,omitempty" n2k:"2"`
	SerialInterfaceBitRate       *uint64     `json:"serialInterfaceBitRate,omitempty" n2k:"3"`
	SerialInterfaceDetectionMode *uint64     `json:"serialInterfaceDetectionMode,omitempty" n2k:"4"`
	DifferentialSource           *uint64     `json:"differentialSource,omitempty" n2k:"5"`
	DifferentialOperationMode    *uint64     `json:"differentialOperationMode,omitempty" n2k:"6"`
}

func (*GnssDifferentialCorrectionReceiverInterface) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssDifferentialCorrectionReceiverInterface) DecodePayload

func (m *GnssDifferentialCorrectionReceiverInterface) DecodePayload(payload []uint8) error

func (*GnssDifferentialCorrectionReceiverInterface) EncodePayload

func (*GnssDifferentialCorrectionReceiverInterface) FrequencyValue

FrequencyValue returns Frequency as a physical value in Hz (value = raw * 10). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssDifferentialCorrectionReceiverInterface) MessageInfo

func (*GnssDifferentialCorrectionReceiverInterface) PGNNumber

func (*GnssDifferentialCorrectionReceiverInterface) SetFrequencyValue

func (m *GnssDifferentialCorrectionReceiverInterface) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 10.

func (*GnssDifferentialCorrectionReceiverInterface) SetMessageInfo

type GnssDifferentialCorrectionReceiverSignal

type GnssDifferentialCorrectionReceiverSignal struct {
	Info                             MessageInfo `json:"info"`
	Sid                              *uint64     `json:"sid,omitempty" n2k:"1"`
	Channel                          *uint64     `json:"channel,omitempty" n2k:"2"`
	SignalStrength                   *int64      `json:"signalStrength,omitempty" n2k:"3"`
	SignalSnr                        *int64      `json:"signalSnr,omitempty" n2k:"4"`
	Frequency                        *uint64     `json:"frequency,omitempty" n2k:"5"`
	StationType                      *uint64     `json:"stationType,omitempty" n2k:"6"`
	ReferenceStationId               *uint64     `json:"referenceStationId,omitempty" n2k:"7"`
	DifferentialSignalBitRate        *uint64     `json:"differentialSignalBitRate,omitempty" n2k:"8"`
	DifferentialSignalDetectionMode  *uint64     `json:"differentialSignalDetectionMode,omitempty" n2k:"9"`
	UsedAsCorrectionSource           *uint64     `json:"usedAsCorrectionSource,omitempty" n2k:"10"`
	DifferentialSource               *uint64     `json:"differentialSource,omitempty" n2k:"12"`
	TimeSinceLastSatDifferentialSync *uint64     `json:"timeSinceLastSatDifferentialSync,omitempty" n2k:"13"`
	SatelliteServiceIdNo             *uint64     `json:"satelliteServiceIdNo,omitempty" n2k:"14"`
}

func (*GnssDifferentialCorrectionReceiverSignal) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssDifferentialCorrectionReceiverSignal) DecodePayload

func (m *GnssDifferentialCorrectionReceiverSignal) DecodePayload(payload []uint8) error

func (*GnssDifferentialCorrectionReceiverSignal) EncodePayload

func (m *GnssDifferentialCorrectionReceiverSignal) EncodePayload() ([]uint8, error)

func (*GnssDifferentialCorrectionReceiverSignal) FrequencyValue

func (m *GnssDifferentialCorrectionReceiverSignal) FrequencyValue() (float64, bool)

FrequencyValue returns Frequency as a physical value in Hz (value = raw * 10). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssDifferentialCorrectionReceiverSignal) MessageInfo

func (*GnssDifferentialCorrectionReceiverSignal) PGNNumber

func (*GnssDifferentialCorrectionReceiverSignal) SetFrequencyValue

func (m *GnssDifferentialCorrectionReceiverSignal) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 10.

func (*GnssDifferentialCorrectionReceiverSignal) SetMessageInfo

func (m *GnssDifferentialCorrectionReceiverSignal) SetMessageInfo(info MessageInfo)

func (*GnssDifferentialCorrectionReceiverSignal) SetSignalSnrValue

func (m *GnssDifferentialCorrectionReceiverSignal) SetSignalSnrValue(v float64)

SetSignalSnrValue sets SignalSnr from a physical value in dB, rounded to the nearest wire tick of 0.01.

func (*GnssDifferentialCorrectionReceiverSignal) SetSignalStrengthValue

func (m *GnssDifferentialCorrectionReceiverSignal) SetSignalStrengthValue(v float64)

SetSignalStrengthValue sets SignalStrength from a physical value in dB, rounded to the nearest wire tick of 0.01.

func (*GnssDifferentialCorrectionReceiverSignal) SetTimeSinceLastSatDifferentialSyncValue

func (m *GnssDifferentialCorrectionReceiverSignal) SetTimeSinceLastSatDifferentialSyncValue(v float64)

SetTimeSinceLastSatDifferentialSyncValue sets TimeSinceLastSatDifferentialSync from a physical value in s, rounded to the nearest wire tick of 0.01.

func (*GnssDifferentialCorrectionReceiverSignal) SignalSnrValue

func (m *GnssDifferentialCorrectionReceiverSignal) SignalSnrValue() (float64, bool)

SignalSnrValue returns SignalSnr as a physical value in dB (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssDifferentialCorrectionReceiverSignal) SignalStrengthValue

func (m *GnssDifferentialCorrectionReceiverSignal) SignalStrengthValue() (float64, bool)

SignalStrengthValue returns SignalStrength as a physical value in dB (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssDifferentialCorrectionReceiverSignal) TimeSinceLastSatDifferentialSyncValue

func (m *GnssDifferentialCorrectionReceiverSignal) TimeSinceLastSatDifferentialSyncValue() (float64, bool)

TimeSinceLastSatDifferentialSyncValue returns TimeSinceLastSatDifferentialSync as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type GnssDops

type GnssDops struct {
	Info        MessageInfo `json:"info"`
	Sid         *uint64     `json:"sid,omitempty" n2k:"1"`
	DesiredMode *uint64     `json:"desiredMode,omitempty" n2k:"2"`
	ActualMode  *uint64     `json:"actualMode,omitempty" n2k:"3"`
	Hdop        *int64      `json:"hdop,omitempty" n2k:"5"`
	Vdop        *int64      `json:"vdop,omitempty" n2k:"6"`
	Tdop        *int64      `json:"tdop,omitempty" n2k:"7"`
}

func (*GnssDops) Clone added in v1.3.0

func (m *GnssDops) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssDops) DecodePayload

func (m *GnssDops) DecodePayload(payload []uint8) error

func (*GnssDops) EncodePayload

func (m *GnssDops) EncodePayload() ([]uint8, error)

func (*GnssDops) HdopValue

func (m *GnssDops) HdopValue() (float64, bool)

HdopValue returns Hdop as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssDops) MessageInfo

func (m *GnssDops) MessageInfo() MessageInfo

func (*GnssDops) PGNNumber

func (m *GnssDops) PGNNumber() uint32

func (*GnssDops) SetHdopValue

func (m *GnssDops) SetHdopValue(v float64)

SetHdopValue sets Hdop from a physical value, rounded to the nearest wire tick of 0.01.

func (*GnssDops) SetMessageInfo

func (m *GnssDops) SetMessageInfo(info MessageInfo)

func (*GnssDops) SetTdopValue

func (m *GnssDops) SetTdopValue(v float64)

SetTdopValue sets Tdop from a physical value, rounded to the nearest wire tick of 0.01.

func (*GnssDops) SetVdopValue

func (m *GnssDops) SetVdopValue(v float64)

SetVdopValue sets Vdop from a physical value, rounded to the nearest wire tick of 0.01.

func (*GnssDops) TdopValue

func (m *GnssDops) TdopValue() (float64, bool)

TdopValue returns Tdop as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssDops) VdopValue

func (m *GnssDops) VdopValue() (float64, bool)

VdopValue returns Vdop as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type GnssModeConst

type GnssModeConst uint8
const (
	GnssMode1D   GnssModeConst = 0
	GnssMode2D   GnssModeConst = 1
	GnssMode3D   GnssModeConst = 2
	GnssModeAuto GnssModeConst = 3
)

func (GnssModeConst) GoString

func (e GnssModeConst) GoString() string

func (GnssModeConst) String

func (e GnssModeConst) String() string

type GnssPositionData

type GnssPositionData struct {
	Info              MessageInfo                  `json:"info"`
	Sid               *uint64                      `json:"sid,omitempty" n2k:"1"`
	Date              *uint64                      `json:"date,omitempty" n2k:"2"`
	Time              *uint64                      `json:"time,omitempty" n2k:"3"`
	Latitude          *int64                       `json:"latitude,omitempty" n2k:"4"`
	Longitude         *int64                       `json:"longitude,omitempty" n2k:"5"`
	Altitude          *int64                       `json:"altitude,omitempty" n2k:"6"`
	GnssType          *uint64                      `json:"gnssType,omitempty" n2k:"7"`
	Method            *uint64                      `json:"method,omitempty" n2k:"8"`
	Integrity         *uint64                      `json:"integrity,omitempty" n2k:"9"`
	NumberOfSvs       *uint64                      `json:"numberOfSvs,omitempty" n2k:"11"`
	Hdop              *int64                       `json:"hdop,omitempty" n2k:"12"`
	Pdop              *int64                       `json:"pdop,omitempty" n2k:"13"`
	GeoidalSeparation *int64                       `json:"geoidalSeparation,omitempty" n2k:"14"`
	ReferenceStations *uint64                      `json:"referenceStations,omitempty" n2k:"15"`
	Repeating1        []GnssPositionDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*GnssPositionData) AltitudeValue

func (m *GnssPositionData) AltitudeValue() (float64, bool)

AltitudeValue returns Altitude as a physical value in m (value = raw * 1e-06). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPositionData) Clone added in v1.3.0

func (m *GnssPositionData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssPositionData) DateValue

func (m *GnssPositionData) DateValue() (float64, bool)

DateValue returns Date as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPositionData) DecodePayload

func (m *GnssPositionData) DecodePayload(payload []uint8) error

func (*GnssPositionData) EncodePayload

func (m *GnssPositionData) EncodePayload() ([]uint8, error)

func (*GnssPositionData) GeoidalSeparationValue

func (m *GnssPositionData) GeoidalSeparationValue() (float64, bool)

GeoidalSeparationValue returns GeoidalSeparation as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPositionData) HdopValue

func (m *GnssPositionData) HdopValue() (float64, bool)

HdopValue returns Hdop as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPositionData) LatitudeValue

func (m *GnssPositionData) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-16). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPositionData) LongitudeValue

func (m *GnssPositionData) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-16). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPositionData) MessageInfo

func (m *GnssPositionData) MessageInfo() MessageInfo

func (*GnssPositionData) PGNNumber

func (m *GnssPositionData) PGNNumber() uint32

func (*GnssPositionData) PdopValue

func (m *GnssPositionData) PdopValue() (float64, bool)

PdopValue returns Pdop as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPositionData) SetAltitudeValue

func (m *GnssPositionData) SetAltitudeValue(v float64)

SetAltitudeValue sets Altitude from a physical value in m, rounded to the nearest wire tick of 1e-06.

func (*GnssPositionData) SetDateValue

func (m *GnssPositionData) SetDateValue(v float64)

SetDateValue sets Date from a physical value in d, rounded to the nearest wire tick of 1.

func (*GnssPositionData) SetGeoidalSeparationValue

func (m *GnssPositionData) SetGeoidalSeparationValue(v float64)

SetGeoidalSeparationValue sets GeoidalSeparation from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPositionData) SetHdopValue

func (m *GnssPositionData) SetHdopValue(v float64)

SetHdopValue sets Hdop from a physical value, rounded to the nearest wire tick of 0.01.

func (*GnssPositionData) SetLatitudeValue

func (m *GnssPositionData) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-16.

func (*GnssPositionData) SetLongitudeValue

func (m *GnssPositionData) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-16.

func (*GnssPositionData) SetMessageInfo

func (m *GnssPositionData) SetMessageInfo(info MessageInfo)

func (*GnssPositionData) SetPdopValue

func (m *GnssPositionData) SetPdopValue(v float64)

SetPdopValue sets Pdop from a physical value, rounded to the nearest wire tick of 0.01.

func (*GnssPositionData) SetTimeValue

func (m *GnssPositionData) SetTimeValue(v float64)

SetTimeValue sets Time from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*GnssPositionData) TimeValue

func (m *GnssPositionData) TimeValue() (float64, bool)

TimeValue returns Time as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type GnssPositionDataRepeating1

type GnssPositionDataRepeating1 struct {
	ReferenceStationType  *uint64 `json:"referenceStationType,omitempty" n2k:"16"`
	ReferenceStationId    *uint64 `json:"referenceStationId,omitempty" n2k:"17"`
	AgeOfDgnssCorrections *uint64 `json:"ageOfDgnssCorrections,omitempty" n2k:"18"`
}

func (*GnssPositionDataRepeating1) AgeOfDgnssCorrectionsValue

func (m *GnssPositionDataRepeating1) AgeOfDgnssCorrectionsValue() (float64, bool)

AgeOfDgnssCorrectionsValue returns AgeOfDgnssCorrections as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPositionDataRepeating1) SetAgeOfDgnssCorrectionsValue

func (m *GnssPositionDataRepeating1) SetAgeOfDgnssCorrectionsValue(v float64)

SetAgeOfDgnssCorrectionsValue sets AgeOfDgnssCorrections from a physical value in s, rounded to the nearest wire tick of 0.01.

type GnssPseudorangeErrorStatistics

type GnssPseudorangeErrorStatistics struct {
	Info                      MessageInfo `json:"info"`
	Sid                       *uint64     `json:"sid,omitempty" n2k:"1"`
	RmsStdDevOfRangeInputs    *uint64     `json:"rmsStdDevOfRangeInputs,omitempty" n2k:"2"`
	StdDevOfMajorErrorEllipse *uint64     `json:"stdDevOfMajorErrorEllipse,omitempty" n2k:"3"`
	StdDevOfMinorErrorEllipse *uint64     `json:"stdDevOfMinorErrorEllipse,omitempty" n2k:"4"`
	OrientationOfErrorEllipse *uint64     `json:"orientationOfErrorEllipse,omitempty" n2k:"5"`
	StdDevLatError            *uint64     `json:"stdDevLatError,omitempty" n2k:"6"`
	StdDevLonError            *uint64     `json:"stdDevLonError,omitempty" n2k:"7"`
	StdDevAltError            *uint64     `json:"stdDevAltError,omitempty" n2k:"8"`
}

func (*GnssPseudorangeErrorStatistics) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssPseudorangeErrorStatistics) DecodePayload

func (m *GnssPseudorangeErrorStatistics) DecodePayload(payload []uint8) error

func (*GnssPseudorangeErrorStatistics) EncodePayload

func (m *GnssPseudorangeErrorStatistics) EncodePayload() ([]uint8, error)

func (*GnssPseudorangeErrorStatistics) MessageInfo

func (*GnssPseudorangeErrorStatistics) OrientationOfErrorEllipseValue

func (m *GnssPseudorangeErrorStatistics) OrientationOfErrorEllipseValue() (float64, bool)

OrientationOfErrorEllipseValue returns OrientationOfErrorEllipse as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeErrorStatistics) PGNNumber

func (m *GnssPseudorangeErrorStatistics) PGNNumber() uint32

func (*GnssPseudorangeErrorStatistics) RmsStdDevOfRangeInputsValue

func (m *GnssPseudorangeErrorStatistics) RmsStdDevOfRangeInputsValue() (float64, bool)

RmsStdDevOfRangeInputsValue returns RmsStdDevOfRangeInputs as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeErrorStatistics) SetMessageInfo

func (m *GnssPseudorangeErrorStatistics) SetMessageInfo(info MessageInfo)

func (*GnssPseudorangeErrorStatistics) SetOrientationOfErrorEllipseValue

func (m *GnssPseudorangeErrorStatistics) SetOrientationOfErrorEllipseValue(v float64)

SetOrientationOfErrorEllipseValue sets OrientationOfErrorEllipse from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*GnssPseudorangeErrorStatistics) SetRmsStdDevOfRangeInputsValue

func (m *GnssPseudorangeErrorStatistics) SetRmsStdDevOfRangeInputsValue(v float64)

SetRmsStdDevOfRangeInputsValue sets RmsStdDevOfRangeInputs from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeErrorStatistics) SetStdDevAltErrorValue

func (m *GnssPseudorangeErrorStatistics) SetStdDevAltErrorValue(v float64)

SetStdDevAltErrorValue sets StdDevAltError from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeErrorStatistics) SetStdDevLatErrorValue

func (m *GnssPseudorangeErrorStatistics) SetStdDevLatErrorValue(v float64)

SetStdDevLatErrorValue sets StdDevLatError from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeErrorStatistics) SetStdDevLonErrorValue

func (m *GnssPseudorangeErrorStatistics) SetStdDevLonErrorValue(v float64)

SetStdDevLonErrorValue sets StdDevLonError from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeErrorStatistics) SetStdDevOfMajorErrorEllipseValue

func (m *GnssPseudorangeErrorStatistics) SetStdDevOfMajorErrorEllipseValue(v float64)

SetStdDevOfMajorErrorEllipseValue sets StdDevOfMajorErrorEllipse from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeErrorStatistics) SetStdDevOfMinorErrorEllipseValue

func (m *GnssPseudorangeErrorStatistics) SetStdDevOfMinorErrorEllipseValue(v float64)

SetStdDevOfMinorErrorEllipseValue sets StdDevOfMinorErrorEllipse from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeErrorStatistics) StdDevAltErrorValue

func (m *GnssPseudorangeErrorStatistics) StdDevAltErrorValue() (float64, bool)

StdDevAltErrorValue returns StdDevAltError as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeErrorStatistics) StdDevLatErrorValue

func (m *GnssPseudorangeErrorStatistics) StdDevLatErrorValue() (float64, bool)

StdDevLatErrorValue returns StdDevLatError as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeErrorStatistics) StdDevLonErrorValue

func (m *GnssPseudorangeErrorStatistics) StdDevLonErrorValue() (float64, bool)

StdDevLonErrorValue returns StdDevLonError as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeErrorStatistics) StdDevOfMajorErrorEllipseValue

func (m *GnssPseudorangeErrorStatistics) StdDevOfMajorErrorEllipseValue() (float64, bool)

StdDevOfMajorErrorEllipseValue returns StdDevOfMajorErrorEllipse as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeErrorStatistics) StdDevOfMinorErrorEllipseValue

func (m *GnssPseudorangeErrorStatistics) StdDevOfMinorErrorEllipseValue() (float64, bool)

StdDevOfMinorErrorEllipseValue returns StdDevOfMinorErrorEllipse as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type GnssPseudorangeNoiseStatistics

type GnssPseudorangeNoiseStatistics struct {
	Info                     MessageInfo `json:"info"`
	Sid                      *uint64     `json:"sid,omitempty" n2k:"1"`
	RmsOfPositionUncertainty *uint64     `json:"rmsOfPositionUncertainty,omitempty" n2k:"2"`
	StdOfMajorAxis           *uint64     `json:"stdOfMajorAxis,omitempty" n2k:"3"`
	StdOfMinorAxis           *uint64     `json:"stdOfMinorAxis,omitempty" n2k:"4"`
	OrientationOfMajorAxis   *uint64     `json:"orientationOfMajorAxis,omitempty" n2k:"5"`
	StdOfLatError            *uint64     `json:"stdOfLatError,omitempty" n2k:"6"`
	StdOfLonError            *uint64     `json:"stdOfLonError,omitempty" n2k:"7"`
	StdOfAltError            *uint64     `json:"stdOfAltError,omitempty" n2k:"8"`
}

func (*GnssPseudorangeNoiseStatistics) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssPseudorangeNoiseStatistics) DecodePayload

func (m *GnssPseudorangeNoiseStatistics) DecodePayload(payload []uint8) error

func (*GnssPseudorangeNoiseStatistics) EncodePayload

func (m *GnssPseudorangeNoiseStatistics) EncodePayload() ([]uint8, error)

func (*GnssPseudorangeNoiseStatistics) MessageInfo

func (*GnssPseudorangeNoiseStatistics) OrientationOfMajorAxisValue

func (m *GnssPseudorangeNoiseStatistics) OrientationOfMajorAxisValue() (float64, bool)

OrientationOfMajorAxisValue returns OrientationOfMajorAxis as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeNoiseStatistics) PGNNumber

func (m *GnssPseudorangeNoiseStatistics) PGNNumber() uint32

func (*GnssPseudorangeNoiseStatistics) RmsOfPositionUncertaintyValue

func (m *GnssPseudorangeNoiseStatistics) RmsOfPositionUncertaintyValue() (float64, bool)

RmsOfPositionUncertaintyValue returns RmsOfPositionUncertainty as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeNoiseStatistics) SetMessageInfo

func (m *GnssPseudorangeNoiseStatistics) SetMessageInfo(info MessageInfo)

func (*GnssPseudorangeNoiseStatistics) SetOrientationOfMajorAxisValue

func (m *GnssPseudorangeNoiseStatistics) SetOrientationOfMajorAxisValue(v float64)

SetOrientationOfMajorAxisValue sets OrientationOfMajorAxis from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*GnssPseudorangeNoiseStatistics) SetRmsOfPositionUncertaintyValue

func (m *GnssPseudorangeNoiseStatistics) SetRmsOfPositionUncertaintyValue(v float64)

SetRmsOfPositionUncertaintyValue sets RmsOfPositionUncertainty from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeNoiseStatistics) SetStdOfAltErrorValue

func (m *GnssPseudorangeNoiseStatistics) SetStdOfAltErrorValue(v float64)

SetStdOfAltErrorValue sets StdOfAltError from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeNoiseStatistics) SetStdOfLatErrorValue

func (m *GnssPseudorangeNoiseStatistics) SetStdOfLatErrorValue(v float64)

SetStdOfLatErrorValue sets StdOfLatError from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeNoiseStatistics) SetStdOfLonErrorValue

func (m *GnssPseudorangeNoiseStatistics) SetStdOfLonErrorValue(v float64)

SetStdOfLonErrorValue sets StdOfLonError from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeNoiseStatistics) SetStdOfMajorAxisValue

func (m *GnssPseudorangeNoiseStatistics) SetStdOfMajorAxisValue(v float64)

SetStdOfMajorAxisValue sets StdOfMajorAxis from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeNoiseStatistics) SetStdOfMinorAxisValue

func (m *GnssPseudorangeNoiseStatistics) SetStdOfMinorAxisValue(v float64)

SetStdOfMinorAxisValue sets StdOfMinorAxis from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssPseudorangeNoiseStatistics) StdOfAltErrorValue

func (m *GnssPseudorangeNoiseStatistics) StdOfAltErrorValue() (float64, bool)

StdOfAltErrorValue returns StdOfAltError as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeNoiseStatistics) StdOfLatErrorValue

func (m *GnssPseudorangeNoiseStatistics) StdOfLatErrorValue() (float64, bool)

StdOfLatErrorValue returns StdOfLatError as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeNoiseStatistics) StdOfLonErrorValue

func (m *GnssPseudorangeNoiseStatistics) StdOfLonErrorValue() (float64, bool)

StdOfLonErrorValue returns StdOfLonError as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeNoiseStatistics) StdOfMajorAxisValue

func (m *GnssPseudorangeNoiseStatistics) StdOfMajorAxisValue() (float64, bool)

StdOfMajorAxisValue returns StdOfMajorAxis as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssPseudorangeNoiseStatistics) StdOfMinorAxisValue

func (m *GnssPseudorangeNoiseStatistics) StdOfMinorAxisValue() (float64, bool)

StdOfMinorAxisValue returns StdOfMinorAxis as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type GnssRaimOutput

type GnssRaimOutput struct {
	Info                         MessageInfo `json:"info"`
	Sid                          *uint64     `json:"sid,omitempty" n2k:"1"`
	IntegrityFlag                *uint64     `json:"integrityFlag,omitempty" n2k:"2"`
	LatitudeExpectedError        *int64      `json:"latitudeExpectedError,omitempty" n2k:"4"`
	LongitudeExpectedError       *int64      `json:"longitudeExpectedError,omitempty" n2k:"5"`
	AltitudeExpectedError        *int64      `json:"altitudeExpectedError,omitempty" n2k:"6"`
	SvIdOfMostLikelyFailedSat    *uint64     `json:"svIdOfMostLikelyFailedSat,omitempty" n2k:"7"`
	ProbabilityOfMissedDetection *int64      `json:"probabilityOfMissedDetection,omitempty" n2k:"8"`
	EstimateOfPseudorangeBias    *int64      `json:"estimateOfPseudorangeBias,omitempty" n2k:"9"`
	StdDeviationOfBias           *int64      `json:"stdDeviationOfBias,omitempty" n2k:"10"`
}

func (*GnssRaimOutput) AltitudeExpectedErrorValue

func (m *GnssRaimOutput) AltitudeExpectedErrorValue() (float64, bool)

AltitudeExpectedErrorValue returns AltitudeExpectedError as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssRaimOutput) Clone added in v1.3.0

func (m *GnssRaimOutput) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssRaimOutput) DecodePayload

func (m *GnssRaimOutput) DecodePayload(payload []uint8) error

func (*GnssRaimOutput) EncodePayload

func (m *GnssRaimOutput) EncodePayload() ([]uint8, error)

func (*GnssRaimOutput) EstimateOfPseudorangeBiasValue

func (m *GnssRaimOutput) EstimateOfPseudorangeBiasValue() (float64, bool)

EstimateOfPseudorangeBiasValue returns EstimateOfPseudorangeBias as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssRaimOutput) LatitudeExpectedErrorValue

func (m *GnssRaimOutput) LatitudeExpectedErrorValue() (float64, bool)

LatitudeExpectedErrorValue returns LatitudeExpectedError as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssRaimOutput) LongitudeExpectedErrorValue

func (m *GnssRaimOutput) LongitudeExpectedErrorValue() (float64, bool)

LongitudeExpectedErrorValue returns LongitudeExpectedError as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssRaimOutput) MessageInfo

func (m *GnssRaimOutput) MessageInfo() MessageInfo

func (*GnssRaimOutput) PGNNumber

func (m *GnssRaimOutput) PGNNumber() uint32

func (*GnssRaimOutput) ProbabilityOfMissedDetectionValue

func (m *GnssRaimOutput) ProbabilityOfMissedDetectionValue() (float64, bool)

ProbabilityOfMissedDetectionValue returns ProbabilityOfMissedDetection as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssRaimOutput) SetAltitudeExpectedErrorValue

func (m *GnssRaimOutput) SetAltitudeExpectedErrorValue(v float64)

SetAltitudeExpectedErrorValue sets AltitudeExpectedError from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssRaimOutput) SetEstimateOfPseudorangeBiasValue

func (m *GnssRaimOutput) SetEstimateOfPseudorangeBiasValue(v float64)

SetEstimateOfPseudorangeBiasValue sets EstimateOfPseudorangeBias from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssRaimOutput) SetLatitudeExpectedErrorValue

func (m *GnssRaimOutput) SetLatitudeExpectedErrorValue(v float64)

SetLatitudeExpectedErrorValue sets LatitudeExpectedError from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssRaimOutput) SetLongitudeExpectedErrorValue

func (m *GnssRaimOutput) SetLongitudeExpectedErrorValue(v float64)

SetLongitudeExpectedErrorValue sets LongitudeExpectedError from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssRaimOutput) SetMessageInfo

func (m *GnssRaimOutput) SetMessageInfo(info MessageInfo)

func (*GnssRaimOutput) SetProbabilityOfMissedDetectionValue

func (m *GnssRaimOutput) SetProbabilityOfMissedDetectionValue(v float64)

SetProbabilityOfMissedDetectionValue sets ProbabilityOfMissedDetection from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssRaimOutput) SetStdDeviationOfBiasValue

func (m *GnssRaimOutput) SetStdDeviationOfBiasValue(v float64)

SetStdDeviationOfBiasValue sets StdDeviationOfBias from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*GnssRaimOutput) StdDeviationOfBiasValue

func (m *GnssRaimOutput) StdDeviationOfBiasValue() (float64, bool)

StdDeviationOfBiasValue returns StdDeviationOfBias as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type GnssRaimSettings

type GnssRaimSettings struct {
	Info                                     MessageInfo `json:"info"`
	RadialPositionErrorMaximumThreshold      *uint64     `json:"radialPositionErrorMaximumThreshold,omitempty" n2k:"1"`
	ProbabilityOfFalseAlarm                  *int64      `json:"probabilityOfFalseAlarm,omitempty" n2k:"2"`
	ProbabilityOfMissedDetection             *int64      `json:"probabilityOfMissedDetection,omitempty" n2k:"3"`
	PseudorangeResidualFilteringTimeConstant *uint64     `json:"pseudorangeResidualFilteringTimeConstant,omitempty" n2k:"4"`
}

func (*GnssRaimSettings) Clone added in v1.3.0

func (m *GnssRaimSettings) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssRaimSettings) DecodePayload

func (m *GnssRaimSettings) DecodePayload(payload []uint8) error

func (*GnssRaimSettings) EncodePayload

func (m *GnssRaimSettings) EncodePayload() ([]uint8, error)

func (*GnssRaimSettings) MessageInfo

func (m *GnssRaimSettings) MessageInfo() MessageInfo

func (*GnssRaimSettings) PGNNumber

func (m *GnssRaimSettings) PGNNumber() uint32

func (*GnssRaimSettings) ProbabilityOfFalseAlarmValue

func (m *GnssRaimSettings) ProbabilityOfFalseAlarmValue() (float64, bool)

ProbabilityOfFalseAlarmValue returns ProbabilityOfFalseAlarm as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssRaimSettings) ProbabilityOfMissedDetectionValue

func (m *GnssRaimSettings) ProbabilityOfMissedDetectionValue() (float64, bool)

ProbabilityOfMissedDetectionValue returns ProbabilityOfMissedDetection as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssRaimSettings) PseudorangeResidualFilteringTimeConstantValue

func (m *GnssRaimSettings) PseudorangeResidualFilteringTimeConstantValue() (float64, bool)

PseudorangeResidualFilteringTimeConstantValue returns PseudorangeResidualFilteringTimeConstant as a physical value in s (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssRaimSettings) RadialPositionErrorMaximumThresholdValue

func (m *GnssRaimSettings) RadialPositionErrorMaximumThresholdValue() (float64, bool)

RadialPositionErrorMaximumThresholdValue returns RadialPositionErrorMaximumThreshold as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssRaimSettings) SetMessageInfo

func (m *GnssRaimSettings) SetMessageInfo(info MessageInfo)

func (*GnssRaimSettings) SetProbabilityOfFalseAlarmValue

func (m *GnssRaimSettings) SetProbabilityOfFalseAlarmValue(v float64)

SetProbabilityOfFalseAlarmValue sets ProbabilityOfFalseAlarm from a physical value in %, rounded to the nearest wire tick of 1.

func (*GnssRaimSettings) SetProbabilityOfMissedDetectionValue

func (m *GnssRaimSettings) SetProbabilityOfMissedDetectionValue(v float64)

SetProbabilityOfMissedDetectionValue sets ProbabilityOfMissedDetection from a physical value in %, rounded to the nearest wire tick of 1.

func (*GnssRaimSettings) SetPseudorangeResidualFilteringTimeConstantValue

func (m *GnssRaimSettings) SetPseudorangeResidualFilteringTimeConstantValue(v float64)

SetPseudorangeResidualFilteringTimeConstantValue sets PseudorangeResidualFilteringTimeConstant from a physical value in s, rounded to the nearest wire tick of 1.

func (*GnssRaimSettings) SetRadialPositionErrorMaximumThresholdValue

func (m *GnssRaimSettings) SetRadialPositionErrorMaximumThresholdValue(v float64)

SetRadialPositionErrorMaximumThresholdValue sets RadialPositionErrorMaximumThreshold from a physical value in m, rounded to the nearest wire tick of 0.01.

type GnssSatsInView

type GnssSatsInView struct {
	Info              MessageInfo                `json:"info"`
	Sid               *uint64                    `json:"sid,omitempty" n2k:"1"`
	RangeResidualMode *uint64                    `json:"rangeResidualMode,omitempty" n2k:"2"`
	SatsInView        *uint64                    `json:"satsInView,omitempty" n2k:"4"`
	Repeating1        []GnssSatsInViewRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*GnssSatsInView) Clone added in v1.3.0

func (m *GnssSatsInView) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GnssSatsInView) DecodePayload

func (m *GnssSatsInView) DecodePayload(payload []uint8) error

func (*GnssSatsInView) EncodePayload

func (m *GnssSatsInView) EncodePayload() ([]uint8, error)

func (*GnssSatsInView) MessageInfo

func (m *GnssSatsInView) MessageInfo() MessageInfo

func (*GnssSatsInView) PGNNumber

func (m *GnssSatsInView) PGNNumber() uint32

func (*GnssSatsInView) SetMessageInfo

func (m *GnssSatsInView) SetMessageInfo(info MessageInfo)

type GnssSatsInViewRepeating1

type GnssSatsInViewRepeating1 struct {
	Prn            *uint64 `json:"prn,omitempty" n2k:"5"`
	Elevation      *int64  `json:"elevation,omitempty" n2k:"6"`
	Azimuth        *uint64 `json:"azimuth,omitempty" n2k:"7"`
	Snr            *int64  `json:"snr,omitempty" n2k:"8"`
	RangeResiduals *int64  `json:"rangeResiduals,omitempty" n2k:"9"`
	Status         *uint64 `json:"status,omitempty" n2k:"10"`
}

func (*GnssSatsInViewRepeating1) AzimuthValue

func (m *GnssSatsInViewRepeating1) AzimuthValue() (float64, bool)

AzimuthValue returns Azimuth as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssSatsInViewRepeating1) ElevationValue

func (m *GnssSatsInViewRepeating1) ElevationValue() (float64, bool)

ElevationValue returns Elevation as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssSatsInViewRepeating1) RangeResidualsValue

func (m *GnssSatsInViewRepeating1) RangeResidualsValue() (float64, bool)

RangeResidualsValue returns RangeResiduals as a physical value in m (value = raw * 1e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GnssSatsInViewRepeating1) SetAzimuthValue

func (m *GnssSatsInViewRepeating1) SetAzimuthValue(v float64)

SetAzimuthValue sets Azimuth from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*GnssSatsInViewRepeating1) SetElevationValue

func (m *GnssSatsInViewRepeating1) SetElevationValue(v float64)

SetElevationValue sets Elevation from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*GnssSatsInViewRepeating1) SetRangeResidualsValue

func (m *GnssSatsInViewRepeating1) SetRangeResidualsValue(v float64)

SetRangeResidualsValue sets RangeResiduals from a physical value in m, rounded to the nearest wire tick of 1e-05.

func (*GnssSatsInViewRepeating1) SetSnrValue

func (m *GnssSatsInViewRepeating1) SetSnrValue(v float64)

SetSnrValue sets Snr from a physical value in dB, rounded to the nearest wire tick of 0.01.

func (*GnssSatsInViewRepeating1) SnrValue

func (m *GnssSatsInViewRepeating1) SnrValue() (float64, bool)

SnrValue returns Snr as a physical value in dB (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type GoodWarningErrorConst

type GoodWarningErrorConst uint8
const (
	GoodWarningErrorGood    GoodWarningErrorConst = 0
	GoodWarningErrorWarning GoodWarningErrorConst = 1
	GoodWarningErrorError   GoodWarningErrorConst = 2
)

func (GoodWarningErrorConst) GoString

func (e GoodWarningErrorConst) GoString() string

func (GoodWarningErrorConst) String

func (e GoodWarningErrorConst) String() string

type GpsAlmanacData

type GpsAlmanacData struct {
	Info                     MessageInfo `json:"info"`
	Prn                      *uint64     `json:"prn,omitempty" n2k:"1"`
	GpsWeekNumber            *uint64     `json:"gpsWeekNumber,omitempty" n2k:"2"`
	SvHealthBits             []uint8     `json:"svHealthBits,omitempty" n2k:"3"`
	Eccentricity             *uint64     `json:"eccentricity,omitempty" n2k:"4"`
	AlmanacReferenceTime     *uint64     `json:"almanacReferenceTime,omitempty" n2k:"5"`
	InclinationAngle         *int64      `json:"inclinationAngle,omitempty" n2k:"6"`
	RateOfRightAscension     *int64      `json:"rateOfRightAscension,omitempty" n2k:"7"`
	RootOfSemiMajorAxis      *uint64     `json:"rootOfSemiMajorAxis,omitempty" n2k:"8"`
	ArgumentOfPerigee        *int64      `json:"argumentOfPerigee,omitempty" n2k:"9"`
	LongitudeOfAscensionNode *int64      `json:"longitudeOfAscensionNode,omitempty" n2k:"10"`
	MeanAnomaly              *int64      `json:"meanAnomaly,omitempty" n2k:"11"`
	ClockParameter1          *int64      `json:"clockParameter1,omitempty" n2k:"12"`
	ClockParameter2          *int64      `json:"clockParameter2,omitempty" n2k:"13"`
}

func (*GpsAlmanacData) AlmanacReferenceTimeValue

func (m *GpsAlmanacData) AlmanacReferenceTimeValue() (float64, bool)

AlmanacReferenceTimeValue returns AlmanacReferenceTime as a physical value in s (value = raw * 4096). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) ArgumentOfPerigeeValue

func (m *GpsAlmanacData) ArgumentOfPerigeeValue() (float64, bool)

ArgumentOfPerigeeValue returns ArgumentOfPerigee as a physical value in semi-circle (value = raw * 1.19209e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) ClockParameter1Value

func (m *GpsAlmanacData) ClockParameter1Value() (float64, bool)

ClockParameter1Value returns ClockParameter1 as a physical value in s (value = raw * 9.53674e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) ClockParameter2Value

func (m *GpsAlmanacData) ClockParameter2Value() (float64, bool)

ClockParameter2Value returns ClockParameter2 as a physical value in s/s (value = raw * 3.63798e-12). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) Clone added in v1.3.0

func (m *GpsAlmanacData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*GpsAlmanacData) DecodePayload

func (m *GpsAlmanacData) DecodePayload(payload []uint8) error

func (*GpsAlmanacData) EccentricityValue

func (m *GpsAlmanacData) EccentricityValue() (float64, bool)

EccentricityValue returns Eccentricity as a physical value in m/m (value = raw * 4.76837e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) EncodePayload

func (m *GpsAlmanacData) EncodePayload() ([]uint8, error)

func (*GpsAlmanacData) InclinationAngleValue

func (m *GpsAlmanacData) InclinationAngleValue() (float64, bool)

InclinationAngleValue returns InclinationAngle as a physical value in semi-circle (value = raw * 1.90735e-06). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) LongitudeOfAscensionNodeValue

func (m *GpsAlmanacData) LongitudeOfAscensionNodeValue() (float64, bool)

LongitudeOfAscensionNodeValue returns LongitudeOfAscensionNode as a physical value in semi-circle (value = raw * 1.19209e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) MeanAnomalyValue

func (m *GpsAlmanacData) MeanAnomalyValue() (float64, bool)

MeanAnomalyValue returns MeanAnomaly as a physical value in semi-circle (value = raw * 1.19209e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) MessageInfo

func (m *GpsAlmanacData) MessageInfo() MessageInfo

func (*GpsAlmanacData) PGNNumber

func (m *GpsAlmanacData) PGNNumber() uint32

func (*GpsAlmanacData) RateOfRightAscensionValue

func (m *GpsAlmanacData) RateOfRightAscensionValue() (float64, bool)

RateOfRightAscensionValue returns RateOfRightAscension as a physical value in semi-circle/s (value = raw * 3.63798e-12). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) RootOfSemiMajorAxisValue

func (m *GpsAlmanacData) RootOfSemiMajorAxisValue() (float64, bool)

RootOfSemiMajorAxisValue returns RootOfSemiMajorAxis as a physical value in sqrt(m) (value = raw * 0.000488281). The bool is false for absent, sentinel, or out-of-range measurements.

func (*GpsAlmanacData) SetAlmanacReferenceTimeValue

func (m *GpsAlmanacData) SetAlmanacReferenceTimeValue(v float64)

SetAlmanacReferenceTimeValue sets AlmanacReferenceTime from a physical value in s, rounded to the nearest wire tick of 4096.

func (*GpsAlmanacData) SetArgumentOfPerigeeValue

func (m *GpsAlmanacData) SetArgumentOfPerigeeValue(v float64)

SetArgumentOfPerigeeValue sets ArgumentOfPerigee from a physical value in semi-circle, rounded to the nearest wire tick of 1.19209e-07.

func (*GpsAlmanacData) SetClockParameter1Value

func (m *GpsAlmanacData) SetClockParameter1Value(v float64)

SetClockParameter1Value sets ClockParameter1 from a physical value in s, rounded to the nearest wire tick of 9.53674e-07.

func (*GpsAlmanacData) SetClockParameter2Value

func (m *GpsAlmanacData) SetClockParameter2Value(v float64)

SetClockParameter2Value sets ClockParameter2 from a physical value in s/s, rounded to the nearest wire tick of 3.63798e-12.

func (*GpsAlmanacData) SetEccentricityValue

func (m *GpsAlmanacData) SetEccentricityValue(v float64)

SetEccentricityValue sets Eccentricity from a physical value in m/m, rounded to the nearest wire tick of 4.76837e-07.

func (*GpsAlmanacData) SetInclinationAngleValue

func (m *GpsAlmanacData) SetInclinationAngleValue(v float64)

SetInclinationAngleValue sets InclinationAngle from a physical value in semi-circle, rounded to the nearest wire tick of 1.90735e-06.

func (*GpsAlmanacData) SetLongitudeOfAscensionNodeValue

func (m *GpsAlmanacData) SetLongitudeOfAscensionNodeValue(v float64)

SetLongitudeOfAscensionNodeValue sets LongitudeOfAscensionNode from a physical value in semi-circle, rounded to the nearest wire tick of 1.19209e-07.

func (*GpsAlmanacData) SetMeanAnomalyValue

func (m *GpsAlmanacData) SetMeanAnomalyValue(v float64)

SetMeanAnomalyValue sets MeanAnomaly from a physical value in semi-circle, rounded to the nearest wire tick of 1.19209e-07.

func (*GpsAlmanacData) SetMessageInfo

func (m *GpsAlmanacData) SetMessageInfo(info MessageInfo)

func (*GpsAlmanacData) SetRateOfRightAscensionValue

func (m *GpsAlmanacData) SetRateOfRightAscensionValue(v float64)

SetRateOfRightAscensionValue sets RateOfRightAscension from a physical value in semi-circle/s, rounded to the nearest wire tick of 3.63798e-12.

func (*GpsAlmanacData) SetRootOfSemiMajorAxisValue

func (m *GpsAlmanacData) SetRootOfSemiMajorAxisValue(v float64)

SetRootOfSemiMajorAxisValue sets RootOfSemiMajorAxis from a physical value in sqrt(m), rounded to the nearest wire tick of 0.000488281.

type GroupFunctionConst

type GroupFunctionConst uint8
const (
	GroupFunctionRequest          GroupFunctionConst = 0
	GroupFunctionCommand          GroupFunctionConst = 1
	GroupFunctionAcknowledge      GroupFunctionConst = 2
	GroupFunctionReadFields       GroupFunctionConst = 3
	GroupFunctionReadFieldsReply  GroupFunctionConst = 4
	GroupFunctionWriteFields      GroupFunctionConst = 5
	GroupFunctionWriteFieldsReply GroupFunctionConst = 6
)

func (GroupFunctionConst) GoString

func (e GroupFunctionConst) GoString() string

func (GroupFunctionConst) String

func (e GroupFunctionConst) String() string

type HeadingTrackControl

type HeadingTrackControl struct {
	Info                     MessageInfo `json:"info"`
	RudderLimitExceeded      *uint64     `json:"rudderLimitExceeded,omitempty" n2k:"1"`
	OffHeadingLimitExceeded  *uint64     `json:"offHeadingLimitExceeded,omitempty" n2k:"2"`
	OffTrackLimitExceeded    *uint64     `json:"offTrackLimitExceeded,omitempty" n2k:"3"`
	Override                 *uint64     `json:"override,omitempty" n2k:"4"`
	SteeringMode             *uint64     `json:"steeringMode,omitempty" n2k:"5"`
	TurnMode                 *uint64     `json:"turnMode,omitempty" n2k:"6"`
	HeadingReference         *uint64     `json:"headingReference,omitempty" n2k:"7"`
	CommandedRudderDirection *uint64     `json:"commandedRudderDirection,omitempty" n2k:"9"`
	CommandedRudderAngle     *int64      `json:"commandedRudderAngle,omitempty" n2k:"10"`
	HeadingToSteerCourse     *uint64     `json:"headingToSteerCourse,omitempty" n2k:"11"`
	Track                    *uint64     `json:"track,omitempty" n2k:"12"`
	RudderLimit              *uint64     `json:"rudderLimit,omitempty" n2k:"13"`
	OffHeadingLimit          *uint64     `json:"offHeadingLimit,omitempty" n2k:"14"`
	RadiusOfTurnOrder        *int64      `json:"radiusOfTurnOrder,omitempty" n2k:"15"`
	RateOfTurnOrder          *int64      `json:"rateOfTurnOrder,omitempty" n2k:"16"`
	OffTrackLimit            *int64      `json:"offTrackLimit,omitempty" n2k:"17"`
	VesselHeading            *uint64     `json:"vesselHeading,omitempty" n2k:"18"`
}

func (*HeadingTrackControl) Clone added in v1.3.0

func (m *HeadingTrackControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*HeadingTrackControl) CommandedRudderAngleValue

func (m *HeadingTrackControl) CommandedRudderAngleValue() (float64, bool)

CommandedRudderAngleValue returns CommandedRudderAngle as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HeadingTrackControl) DecodePayload

func (m *HeadingTrackControl) DecodePayload(payload []uint8) error

func (*HeadingTrackControl) EncodePayload

func (m *HeadingTrackControl) EncodePayload() ([]uint8, error)

func (*HeadingTrackControl) HeadingToSteerCourseValue

func (m *HeadingTrackControl) HeadingToSteerCourseValue() (float64, bool)

HeadingToSteerCourseValue returns HeadingToSteerCourse as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HeadingTrackControl) MessageInfo

func (m *HeadingTrackControl) MessageInfo() MessageInfo

func (*HeadingTrackControl) OffHeadingLimitValue

func (m *HeadingTrackControl) OffHeadingLimitValue() (float64, bool)

OffHeadingLimitValue returns OffHeadingLimit as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HeadingTrackControl) OffTrackLimitValue

func (m *HeadingTrackControl) OffTrackLimitValue() (float64, bool)

OffTrackLimitValue returns OffTrackLimit as a physical value in m (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HeadingTrackControl) PGNNumber

func (m *HeadingTrackControl) PGNNumber() uint32

func (*HeadingTrackControl) RadiusOfTurnOrderValue

func (m *HeadingTrackControl) RadiusOfTurnOrderValue() (float64, bool)

RadiusOfTurnOrderValue returns RadiusOfTurnOrder as a physical value in m (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HeadingTrackControl) RateOfTurnOrderValue

func (m *HeadingTrackControl) RateOfTurnOrderValue() (float64, bool)

RateOfTurnOrderValue returns RateOfTurnOrder as a physical value in rad/s (value = raw * 3.125e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HeadingTrackControl) RudderLimitValue

func (m *HeadingTrackControl) RudderLimitValue() (float64, bool)

RudderLimitValue returns RudderLimit as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HeadingTrackControl) SetCommandedRudderAngleValue

func (m *HeadingTrackControl) SetCommandedRudderAngleValue(v float64)

SetCommandedRudderAngleValue sets CommandedRudderAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*HeadingTrackControl) SetHeadingToSteerCourseValue

func (m *HeadingTrackControl) SetHeadingToSteerCourseValue(v float64)

SetHeadingToSteerCourseValue sets HeadingToSteerCourse from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*HeadingTrackControl) SetMessageInfo

func (m *HeadingTrackControl) SetMessageInfo(info MessageInfo)

func (*HeadingTrackControl) SetOffHeadingLimitValue

func (m *HeadingTrackControl) SetOffHeadingLimitValue(v float64)

SetOffHeadingLimitValue sets OffHeadingLimit from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*HeadingTrackControl) SetOffTrackLimitValue

func (m *HeadingTrackControl) SetOffTrackLimitValue(v float64)

SetOffTrackLimitValue sets OffTrackLimit from a physical value in m, rounded to the nearest wire tick of 1.

func (*HeadingTrackControl) SetRadiusOfTurnOrderValue

func (m *HeadingTrackControl) SetRadiusOfTurnOrderValue(v float64)

SetRadiusOfTurnOrderValue sets RadiusOfTurnOrder from a physical value in m, rounded to the nearest wire tick of 1.

func (*HeadingTrackControl) SetRateOfTurnOrderValue

func (m *HeadingTrackControl) SetRateOfTurnOrderValue(v float64)

SetRateOfTurnOrderValue sets RateOfTurnOrder from a physical value in rad/s, rounded to the nearest wire tick of 3.125e-05.

func (*HeadingTrackControl) SetRudderLimitValue

func (m *HeadingTrackControl) SetRudderLimitValue(v float64)

SetRudderLimitValue sets RudderLimit from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*HeadingTrackControl) SetTrackValue

func (m *HeadingTrackControl) SetTrackValue(v float64)

SetTrackValue sets Track from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*HeadingTrackControl) SetVesselHeadingValue

func (m *HeadingTrackControl) SetVesselHeadingValue(v float64)

SetVesselHeadingValue sets VesselHeading from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*HeadingTrackControl) TrackValue

func (m *HeadingTrackControl) TrackValue() (float64, bool)

TrackValue returns Track as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HeadingTrackControl) VesselHeadingValue

func (m *HeadingTrackControl) VesselHeadingValue() (float64, bool)

VesselHeadingValue returns VesselHeading as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type Heartbeat

type Heartbeat struct {
	Info               MessageInfo `json:"info"`
	DataTransmitOffset *uint64     `json:"dataTransmitOffset,omitempty" n2k:"1"`
	SequenceCounter    *uint64     `json:"sequenceCounter,omitempty" n2k:"2"`
	Controller1State   *uint64     `json:"controller1State,omitempty" n2k:"3"`
	Controller2State   *uint64     `json:"controller2State,omitempty" n2k:"4"`
	EquipmentStatus    *uint64     `json:"equipmentStatus,omitempty" n2k:"5"`
}

func (*Heartbeat) Clone added in v1.3.0

func (m *Heartbeat) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Heartbeat) DataTransmitOffsetValue

func (m *Heartbeat) DataTransmitOffsetValue() (float64, bool)

DataTransmitOffsetValue returns DataTransmitOffset as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Heartbeat) DecodePayload

func (m *Heartbeat) DecodePayload(payload []uint8) error

func (*Heartbeat) EncodePayload

func (m *Heartbeat) EncodePayload() ([]uint8, error)

func (*Heartbeat) MessageInfo

func (m *Heartbeat) MessageInfo() MessageInfo

func (*Heartbeat) PGNNumber

func (m *Heartbeat) PGNNumber() uint32

func (*Heartbeat) SetDataTransmitOffsetValue

func (m *Heartbeat) SetDataTransmitOffsetValue(v float64)

SetDataTransmitOffsetValue sets DataTransmitOffset from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*Heartbeat) SetMessageInfo

func (m *Heartbeat) SetMessageInfo(info MessageInfo)

type Heave

type Heave struct {
	Info  MessageInfo `json:"info"`
	Sid   *uint64     `json:"sid,omitempty" n2k:"1"`
	Heave *int64      `json:"heave,omitempty" n2k:"2"`
}

func (*Heave) Clone added in v1.3.0

func (m *Heave) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Heave) DecodePayload

func (m *Heave) DecodePayload(payload []uint8) error

func (*Heave) EncodePayload

func (m *Heave) EncodePayload() ([]uint8, error)

func (*Heave) HeaveValue

func (m *Heave) HeaveValue() (float64, bool)

HeaveValue returns Heave as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Heave) MessageInfo

func (m *Heave) MessageInfo() MessageInfo

func (*Heave) PGNNumber

func (m *Heave) PGNNumber() uint32

func (*Heave) SetHeaveValue

func (m *Heave) SetHeaveValue(v float64)

SetHeaveValue sets Heave from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*Heave) SetMessageInfo

func (m *Heave) SetMessageInfo(info MessageInfo)

type HondaEngineAlerts

type HondaEngineAlerts struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*HondaEngineAlerts) Clone added in v1.3.0

func (m *HondaEngineAlerts) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*HondaEngineAlerts) DecodePayload

func (m *HondaEngineAlerts) DecodePayload(payload []uint8) error

func (*HondaEngineAlerts) EncodePayload

func (m *HondaEngineAlerts) EncodePayload() ([]uint8, error)

func (*HondaEngineAlerts) MessageInfo

func (m *HondaEngineAlerts) MessageInfo() MessageInfo

func (*HondaEngineAlerts) PGNNumber

func (m *HondaEngineAlerts) PGNNumber() uint32

func (*HondaEngineAlerts) SetMessageInfo

func (m *HondaEngineAlerts) SetMessageInfo(info MessageInfo)

type HondaEngineData

type HondaEngineData struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*HondaEngineData) Clone added in v1.3.0

func (m *HondaEngineData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*HondaEngineData) DecodePayload

func (m *HondaEngineData) DecodePayload(payload []uint8) error

func (*HondaEngineData) EncodePayload

func (m *HondaEngineData) EncodePayload() ([]uint8, error)

func (*HondaEngineData) MessageInfo

func (m *HondaEngineData) MessageInfo() MessageInfo

func (*HondaEngineData) PGNNumber

func (m *HondaEngineData) PGNNumber() uint32

func (*HondaEngineData) SetMessageInfo

func (m *HondaEngineData) SetMessageInfo(info MessageInfo)

type HondaEngineStatus

type HondaEngineStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*HondaEngineStatus) Clone added in v1.3.0

func (m *HondaEngineStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*HondaEngineStatus) DecodePayload

func (m *HondaEngineStatus) DecodePayload(payload []uint8) error

func (*HondaEngineStatus) EncodePayload

func (m *HondaEngineStatus) EncodePayload() ([]uint8, error)

func (*HondaEngineStatus) MessageInfo

func (m *HondaEngineStatus) MessageInfo() MessageInfo

func (*HondaEngineStatus) PGNNumber

func (m *HondaEngineStatus) PGNNumber() uint32

func (*HondaEngineStatus) SetMessageInfo

func (m *HondaEngineStatus) SetMessageInfo(info MessageInfo)

type Humidity

type Humidity struct {
	Info           MessageInfo `json:"info"`
	Sid            *uint64     `json:"sid,omitempty" n2k:"1"`
	Instance       *uint64     `json:"instance,omitempty" n2k:"2"`
	Source         *uint64     `json:"source,omitempty" n2k:"3"`
	ActualHumidity *int64      `json:"actualHumidity,omitempty" n2k:"4"`
	SetHumidity    *int64      `json:"setHumidity,omitempty" n2k:"5"`
}

func (*Humidity) ActualHumidityValue

func (m *Humidity) ActualHumidityValue() (float64, bool)

ActualHumidityValue returns ActualHumidity as a physical value in % (value = raw * 0.004). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Humidity) Clone added in v1.3.0

func (m *Humidity) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Humidity) DecodePayload

func (m *Humidity) DecodePayload(payload []uint8) error

func (*Humidity) EncodePayload

func (m *Humidity) EncodePayload() ([]uint8, error)

func (*Humidity) MessageInfo

func (m *Humidity) MessageInfo() MessageInfo

func (*Humidity) PGNNumber

func (m *Humidity) PGNNumber() uint32

func (*Humidity) SetActualHumidityValue

func (m *Humidity) SetActualHumidityValue(v float64)

SetActualHumidityValue sets ActualHumidity from a physical value in %, rounded to the nearest wire tick of 0.004.

func (*Humidity) SetHumidityValue

func (m *Humidity) SetHumidityValue() (float64, bool)

SetHumidityValue returns SetHumidity as a physical value in % (value = raw * 0.004). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Humidity) SetMessageInfo

func (m *Humidity) SetMessageInfo(info MessageInfo)

func (*Humidity) SetSetHumidityValue

func (m *Humidity) SetSetHumidityValue(v float64)

SetSetHumidityValue sets SetHumidity from a physical value in %, rounded to the nearest wire tick of 0.004.

type HumiditySourceConst

type HumiditySourceConst uint8
const (
	HumiditySourceInside  HumiditySourceConst = 0
	HumiditySourceOutside HumiditySourceConst = 1
)

func (HumiditySourceConst) GoString

func (e HumiditySourceConst) GoString() string

func (HumiditySourceConst) String

func (e HumiditySourceConst) String() string

type HvacStatus

type HvacStatus struct {
	Info                          MessageInfo `json:"info"`
	HvacIdentifier                *uint64     `json:"hvacIdentifier,omitempty" n2k:"1"`
	Location                      *uint64     `json:"location,omitempty" n2k:"2"`
	OperatingMode                 *uint64     `json:"operatingMode,omitempty" n2k:"3"`
	ControlOperatingState         *uint64     `json:"controlOperatingState,omitempty" n2k:"4"`
	Power                         *uint64     `json:"power,omitempty" n2k:"5"`
	FanSpeedModeChangeable        *uint64     `json:"fanSpeedModeChangeable,omitempty" n2k:"6"`
	FanSpeedMode                  *uint64     `json:"fanSpeedMode,omitempty" n2k:"7"`
	FanOperationMode              *uint64     `json:"fanOperationMode,omitempty" n2k:"8"`
	FanSpeedAvailable             *uint64     `json:"fanSpeedAvailable,omitempty" n2k:"9"`
	FanSpeed                      *uint64     `json:"fanSpeed,omitempty" n2k:"10"`
	SetpointType                  *uint64     `json:"setpointType,omitempty" n2k:"11"`
	LowerTemperatureSetpoint      *uint64     `json:"lowerTemperatureSetpoint,omitempty" n2k:"12"`
	UpperTemperatureSetpoint      *uint64     `json:"upperTemperatureSetpoint,omitempty" n2k:"13"`
	LowerHumiditySetpoint         *int64      `json:"lowerHumiditySetpoint,omitempty" n2k:"14"`
	UpperHumiditySetpoint         *int64      `json:"upperHumiditySetpoint,omitempty" n2k:"15"`
	AuxiliaryHeatControlSupported *uint64     `json:"auxiliaryHeatControlSupported,omitempty" n2k:"16"`
	AuxiliaryHeatAutomaticMode    *uint64     `json:"auxiliaryHeatAutomaticMode,omitempty" n2k:"17"`
	AuxiliaryHeatState            *uint64     `json:"auxiliaryHeatState,omitempty" n2k:"18"`
	CurrentTemperature            *uint64     `json:"currentTemperature,omitempty" n2k:"19"`
	CurrentHumidity               *int64      `json:"currentHumidity,omitempty" n2k:"20"`
	SupportedModes                *uint64     `json:"supportedModes,omitempty" n2k:"21"`
	SeaWaterTemperature           *uint64     `json:"seaWaterTemperature,omitempty" n2k:"22"`
	LoopTemperature               *uint64     `json:"loopTemperature,omitempty" n2k:"23"`
	EvaporatorTemperature         *uint64     `json:"evaporatorTemperature,omitempty" n2k:"24"`
	InletTemperature              *uint64     `json:"inletTemperature,omitempty" n2k:"25"`
	InletHumidity                 *int64      `json:"inletHumidity,omitempty" n2k:"26"`
}

func (*HvacStatus) Clone added in v1.3.0

func (m *HvacStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*HvacStatus) CurrentTemperatureValue

func (m *HvacStatus) CurrentTemperatureValue() (float64, bool)

CurrentTemperatureValue returns CurrentTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HvacStatus) DecodePayload

func (m *HvacStatus) DecodePayload(payload []uint8) error

func (*HvacStatus) EncodePayload

func (m *HvacStatus) EncodePayload() ([]uint8, error)

func (*HvacStatus) EvaporatorTemperatureValue

func (m *HvacStatus) EvaporatorTemperatureValue() (float64, bool)

EvaporatorTemperatureValue returns EvaporatorTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HvacStatus) InletTemperatureValue

func (m *HvacStatus) InletTemperatureValue() (float64, bool)

InletTemperatureValue returns InletTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HvacStatus) LoopTemperatureValue

func (m *HvacStatus) LoopTemperatureValue() (float64, bool)

LoopTemperatureValue returns LoopTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HvacStatus) LowerTemperatureSetpointValue

func (m *HvacStatus) LowerTemperatureSetpointValue() (float64, bool)

LowerTemperatureSetpointValue returns LowerTemperatureSetpoint as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HvacStatus) MessageInfo

func (m *HvacStatus) MessageInfo() MessageInfo

func (*HvacStatus) PGNNumber

func (m *HvacStatus) PGNNumber() uint32

func (*HvacStatus) SeaWaterTemperatureValue

func (m *HvacStatus) SeaWaterTemperatureValue() (float64, bool)

SeaWaterTemperatureValue returns SeaWaterTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*HvacStatus) SetCurrentTemperatureValue

func (m *HvacStatus) SetCurrentTemperatureValue(v float64)

SetCurrentTemperatureValue sets CurrentTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*HvacStatus) SetEvaporatorTemperatureValue

func (m *HvacStatus) SetEvaporatorTemperatureValue(v float64)

SetEvaporatorTemperatureValue sets EvaporatorTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*HvacStatus) SetInletTemperatureValue

func (m *HvacStatus) SetInletTemperatureValue(v float64)

SetInletTemperatureValue sets InletTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*HvacStatus) SetLoopTemperatureValue

func (m *HvacStatus) SetLoopTemperatureValue(v float64)

SetLoopTemperatureValue sets LoopTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*HvacStatus) SetLowerTemperatureSetpointValue

func (m *HvacStatus) SetLowerTemperatureSetpointValue(v float64)

SetLowerTemperatureSetpointValue sets LowerTemperatureSetpoint from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*HvacStatus) SetMessageInfo

func (m *HvacStatus) SetMessageInfo(info MessageInfo)

func (*HvacStatus) SetSeaWaterTemperatureValue

func (m *HvacStatus) SetSeaWaterTemperatureValue(v float64)

SetSeaWaterTemperatureValue sets SeaWaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*HvacStatus) SetUpperTemperatureSetpointValue

func (m *HvacStatus) SetUpperTemperatureSetpointValue(v float64)

SetUpperTemperatureSetpointValue sets UpperTemperatureSetpoint from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*HvacStatus) UpperTemperatureSetpointValue

func (m *HvacStatus) UpperTemperatureSetpointValue() (float64, bool)

UpperTemperatureSetpointValue returns UpperTemperatureSetpoint as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type IndustryCodeConst

type IndustryCodeConst uint8
const (
	IndustryCodeGlobal         IndustryCodeConst = 0
	IndustryCodeHighway        IndustryCodeConst = 1
	IndustryCodeAgriculture    IndustryCodeConst = 2
	IndustryCodeConstruction   IndustryCodeConst = 3
	IndustryCodeMarineIndustry IndustryCodeConst = 4
	IndustryCodeIndustrial     IndustryCodeConst = 5
)

func (IndustryCodeConst) GoString

func (e IndustryCodeConst) GoString() string

func (IndustryCodeConst) String

func (e IndustryCodeConst) String() string

type InverterConfigurationStatus

type InverterConfigurationStatus struct {
	Info                    MessageInfo `json:"info"`
	Instance                *uint64     `json:"instance,omitempty" n2k:"1"`
	AcInstance              *uint64     `json:"acInstance,omitempty" n2k:"2"`
	DcInstance              *uint64     `json:"dcInstance,omitempty" n2k:"3"`
	InverterEnableDisable   *uint64     `json:"inverterEnableDisable,omitempty" n2k:"4"`
	InverterMode            *uint64     `json:"inverterMode,omitempty" n2k:"5"`
	LoadSenseEnableDisable  *uint64     `json:"loadSenseEnableDisable,omitempty" n2k:"6"`
	LoadSensePowerThreshold *uint64     `json:"loadSensePowerThreshold,omitempty" n2k:"7"`
	LoadSenseInterval       *uint64     `json:"loadSenseInterval,omitempty" n2k:"8"`
}

func (*InverterConfigurationStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*InverterConfigurationStatus) DecodePayload

func (m *InverterConfigurationStatus) DecodePayload(payload []uint8) error

func (*InverterConfigurationStatus) EncodePayload

func (m *InverterConfigurationStatus) EncodePayload() ([]uint8, error)

func (*InverterConfigurationStatus) LoadSenseIntervalValue

func (m *InverterConfigurationStatus) LoadSenseIntervalValue() (float64, bool)

LoadSenseIntervalValue returns LoadSenseInterval as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*InverterConfigurationStatus) LoadSensePowerThresholdValue

func (m *InverterConfigurationStatus) LoadSensePowerThresholdValue() (float64, bool)

LoadSensePowerThresholdValue returns LoadSensePowerThreshold as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*InverterConfigurationStatus) MessageInfo

func (m *InverterConfigurationStatus) MessageInfo() MessageInfo

func (*InverterConfigurationStatus) PGNNumber

func (m *InverterConfigurationStatus) PGNNumber() uint32

func (*InverterConfigurationStatus) SetLoadSenseIntervalValue

func (m *InverterConfigurationStatus) SetLoadSenseIntervalValue(v float64)

SetLoadSenseIntervalValue sets LoadSenseInterval from a physical value in s, rounded to the nearest wire tick of 0.01.

func (*InverterConfigurationStatus) SetLoadSensePowerThresholdValue

func (m *InverterConfigurationStatus) SetLoadSensePowerThresholdValue(v float64)

SetLoadSensePowerThresholdValue sets LoadSensePowerThreshold from a physical value in W, rounded to the nearest wire tick of 1.

func (*InverterConfigurationStatus) SetMessageInfo

func (m *InverterConfigurationStatus) SetMessageInfo(info MessageInfo)

type InverterModeConst added in v1.3.0

type InverterModeConst uint8
const (
	InverterModeStandalone     InverterModeConst = 0
	InverterModeSeriesMaster   InverterModeConst = 1
	InverterModeSeriesSlave    InverterModeConst = 2
	InverterModeParallelMaster InverterModeConst = 3
	InverterModeParallelSlave  InverterModeConst = 4
)

func (InverterModeConst) GoString added in v1.3.0

func (e InverterModeConst) GoString() string

func (InverterModeConst) String added in v1.3.0

func (e InverterModeConst) String() string

type InverterStateConst

type InverterStateConst uint8
const (
	InverterStateInvert     InverterStateConst = 0
	InverterStateACPassthru InverterStateConst = 1
	InverterStateLoadSense  InverterStateConst = 2
	InverterStateFault      InverterStateConst = 3
	InverterStateDisabled   InverterStateConst = 4
)

func (InverterStateConst) GoString

func (e InverterStateConst) GoString() string

func (InverterStateConst) String

func (e InverterStateConst) String() string

type InverterStatus

type InverterStatus struct {
	Info           MessageInfo `json:"info"`
	Instance       *uint64     `json:"instance,omitempty" n2k:"1"`
	AcInstance     *uint64     `json:"acInstance,omitempty" n2k:"2"`
	DcInstance     *uint64     `json:"dcInstance,omitempty" n2k:"3"`
	OperatingState *uint64     `json:"operatingState,omitempty" n2k:"4"`
	InverterEnable *uint64     `json:"inverterEnable,omitempty" n2k:"5"`
}

func (*InverterStatus) Clone added in v1.3.0

func (m *InverterStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*InverterStatus) DecodePayload

func (m *InverterStatus) DecodePayload(payload []uint8) error

func (*InverterStatus) EncodePayload

func (m *InverterStatus) EncodePayload() ([]uint8, error)

func (*InverterStatus) MessageInfo

func (m *InverterStatus) MessageInfo() MessageInfo

func (*InverterStatus) PGNNumber

func (m *InverterStatus) PGNNumber() uint32

func (*InverterStatus) SetMessageInfo

func (m *InverterStatus) SetMessageInfo(info MessageInfo)

type IsoAcknowledgement

type IsoAcknowledgement struct {
	Info          MessageInfo `json:"info"`
	Control       *uint64     `json:"control,omitempty" n2k:"1"`
	GroupFunction *uint64     `json:"groupFunction,omitempty" n2k:"2"`
	Pgn           *uint64     `json:"pgn,omitempty" n2k:"4"`
}

func (*IsoAcknowledgement) Clone added in v1.3.0

func (m *IsoAcknowledgement) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoAcknowledgement) DecodePayload

func (m *IsoAcknowledgement) DecodePayload(payload []uint8) error

func (*IsoAcknowledgement) EncodePayload

func (m *IsoAcknowledgement) EncodePayload() ([]uint8, error)

func (*IsoAcknowledgement) MessageInfo

func (m *IsoAcknowledgement) MessageInfo() MessageInfo

func (*IsoAcknowledgement) PGNNumber

func (m *IsoAcknowledgement) PGNNumber() uint32

func (*IsoAcknowledgement) SetMessageInfo

func (m *IsoAcknowledgement) SetMessageInfo(info MessageInfo)

type IsoAddressClaim

type IsoAddressClaim struct {
	Info                    MessageInfo `json:"info"`
	UniqueNumber            *uint64     `json:"uniqueNumber,omitempty" n2k:"1"`
	ManufacturerCode        *uint64     `json:"manufacturerCode,omitempty" n2k:"2"`
	DeviceInstanceLower     *uint64     `json:"deviceInstanceLower,omitempty" n2k:"3"`
	DeviceInstanceUpper     *uint64     `json:"deviceInstanceUpper,omitempty" n2k:"4"`
	DeviceFunction          *uint64     `json:"deviceFunction,omitempty" n2k:"5"`
	DeviceClass             *uint64     `json:"deviceClass,omitempty" n2k:"7"`
	SystemInstance          *uint64     `json:"systemInstance,omitempty" n2k:"8"`
	IndustryGroup           *uint64     `json:"industryGroup,omitempty" n2k:"9"`
	ArbitraryAddressCapable *uint64     `json:"arbitraryAddressCapable,omitempty" n2k:"10"`
}

func (*IsoAddressClaim) Clone added in v1.3.0

func (m *IsoAddressClaim) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoAddressClaim) DecodePayload

func (m *IsoAddressClaim) DecodePayload(payload []uint8) error

func (*IsoAddressClaim) EncodePayload

func (m *IsoAddressClaim) EncodePayload() ([]uint8, error)

func (*IsoAddressClaim) MessageInfo

func (m *IsoAddressClaim) MessageInfo() MessageInfo

func (*IsoAddressClaim) PGNNumber

func (m *IsoAddressClaim) PGNNumber() uint32

func (*IsoAddressClaim) SetMessageInfo

func (m *IsoAddressClaim) SetMessageInfo(info MessageInfo)

type IsoCommandConst

type IsoCommandConst uint8
const (
	IsoCommandACK   IsoCommandConst = 0
	IsoCommandRTS   IsoCommandConst = 16
	IsoCommandCTS   IsoCommandConst = 17
	IsoCommandEOM   IsoCommandConst = 19
	IsoCommandBAM   IsoCommandConst = 32
	IsoCommandAbort IsoCommandConst = 255
)

func (IsoCommandConst) GoString

func (e IsoCommandConst) GoString() string

func (IsoCommandConst) String

func (e IsoCommandConst) String() string

type IsoCommandedAddress

type IsoCommandedAddress struct {
	Info                MessageInfo `json:"info"`
	UniqueNumber        []uint8     `json:"uniqueNumber,omitempty" n2k:"1"`
	ManufacturerCode    *uint64     `json:"manufacturerCode,omitempty" n2k:"2"`
	DeviceInstanceLower *uint64     `json:"deviceInstanceLower,omitempty" n2k:"3"`
	DeviceInstanceUpper *uint64     `json:"deviceInstanceUpper,omitempty" n2k:"4"`
	DeviceFunction      *uint64     `json:"deviceFunction,omitempty" n2k:"5"`
	DeviceClass         *uint64     `json:"deviceClass,omitempty" n2k:"7"`
	SystemInstance      *uint64     `json:"systemInstance,omitempty" n2k:"8"`
	IndustryCode        *uint64     `json:"industryCode,omitempty" n2k:"9"`
	NewSourceAddress    *uint64     `json:"newSourceAddress,omitempty" n2k:"11"`
}

func (*IsoCommandedAddress) Clone added in v1.3.0

func (m *IsoCommandedAddress) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoCommandedAddress) DecodePayload

func (m *IsoCommandedAddress) DecodePayload(payload []uint8) error

func (*IsoCommandedAddress) EncodePayload

func (m *IsoCommandedAddress) EncodePayload() ([]uint8, error)

func (*IsoCommandedAddress) MessageInfo

func (m *IsoCommandedAddress) MessageInfo() MessageInfo

func (*IsoCommandedAddress) PGNNumber

func (m *IsoCommandedAddress) PGNNumber() uint32

func (*IsoCommandedAddress) SetMessageInfo

func (m *IsoCommandedAddress) SetMessageInfo(info MessageInfo)

type IsoControlConst

type IsoControlConst uint8
const (
	IsoControlACK          IsoControlConst = 0
	IsoControlNAK          IsoControlConst = 1
	IsoControlAccessDenied IsoControlConst = 2
	IsoControlAddressBusy  IsoControlConst = 3
)

func (IsoControlConst) GoString

func (e IsoControlConst) GoString() string

func (IsoControlConst) String

func (e IsoControlConst) String() string

type IsoRequest

type IsoRequest struct {
	Info MessageInfo `json:"info"`
	Pgn  *uint64     `json:"pgn,omitempty" n2k:"1"`
}

func (*IsoRequest) Clone added in v1.3.0

func (m *IsoRequest) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoRequest) DecodePayload

func (m *IsoRequest) DecodePayload(payload []uint8) error

func (*IsoRequest) EncodePayload

func (m *IsoRequest) EncodePayload() ([]uint8, error)

func (*IsoRequest) MessageInfo

func (m *IsoRequest) MessageInfo() MessageInfo

func (*IsoRequest) PGNNumber

func (m *IsoRequest) PGNNumber() uint32

func (*IsoRequest) SetMessageInfo

func (m *IsoRequest) SetMessageInfo(info MessageInfo)

type IsoTransportProtocolConnectionManagementAbort

type IsoTransportProtocolConnectionManagementAbort struct {
	Info              MessageInfo `json:"info"`
	GroupFunctionCode *uint64     `json:"groupFunctionCode,omitempty" n2k:"1"`
	Reason            []uint8     `json:"reason,omitempty" n2k:"2"`
	Pgn               *uint64     `json:"pgn,omitempty" n2k:"4"`
}

func (*IsoTransportProtocolConnectionManagementAbort) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoTransportProtocolConnectionManagementAbort) DecodePayload

func (m *IsoTransportProtocolConnectionManagementAbort) DecodePayload(payload []uint8) error

func (*IsoTransportProtocolConnectionManagementAbort) EncodePayload

func (*IsoTransportProtocolConnectionManagementAbort) MessageInfo

func (*IsoTransportProtocolConnectionManagementAbort) PGNNumber

func (*IsoTransportProtocolConnectionManagementAbort) SetMessageInfo

type IsoTransportProtocolConnectionManagementBroadcastAnnounce

type IsoTransportProtocolConnectionManagementBroadcastAnnounce struct {
	Info              MessageInfo `json:"info"`
	GroupFunctionCode *uint64     `json:"groupFunctionCode,omitempty" n2k:"1"`
	MessageSize       *uint64     `json:"messageSize,omitempty" n2k:"2"`
	Packets           *uint64     `json:"packets,omitempty" n2k:"3"`
	Pgn               *uint64     `json:"pgn,omitempty" n2k:"5"`
}

func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) DecodePayload

func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) EncodePayload

func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) MessageInfo

func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) PGNNumber

func (*IsoTransportProtocolConnectionManagementBroadcastAnnounce) SetMessageInfo

type IsoTransportProtocolConnectionManagementClearToSend

type IsoTransportProtocolConnectionManagementClearToSend struct {
	Info              MessageInfo `json:"info"`
	GroupFunctionCode *uint64     `json:"groupFunctionCode,omitempty" n2k:"1"`
	MaxPackets        *uint64     `json:"maxPackets,omitempty" n2k:"2"`
	NextSid           *uint64     `json:"nextSid,omitempty" n2k:"3"`
	Pgn               *uint64     `json:"pgn,omitempty" n2k:"5"`
}

func (*IsoTransportProtocolConnectionManagementClearToSend) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoTransportProtocolConnectionManagementClearToSend) DecodePayload

func (*IsoTransportProtocolConnectionManagementClearToSend) EncodePayload

func (*IsoTransportProtocolConnectionManagementClearToSend) MessageInfo

func (*IsoTransportProtocolConnectionManagementClearToSend) PGNNumber

func (*IsoTransportProtocolConnectionManagementClearToSend) SetMessageInfo

type IsoTransportProtocolConnectionManagementEndOfMessage

type IsoTransportProtocolConnectionManagementEndOfMessage struct {
	Info                        MessageInfo `json:"info"`
	GroupFunctionCode           *uint64     `json:"groupFunctionCode,omitempty" n2k:"1"`
	TotalMessageSize            *uint64     `json:"totalMessageSize,omitempty" n2k:"2"`
	TotalNumberOfFramesReceived *uint64     `json:"totalNumberOfFramesReceived,omitempty" n2k:"3"`
	Pgn                         *uint64     `json:"pgn,omitempty" n2k:"5"`
}

func (*IsoTransportProtocolConnectionManagementEndOfMessage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoTransportProtocolConnectionManagementEndOfMessage) DecodePayload

func (*IsoTransportProtocolConnectionManagementEndOfMessage) EncodePayload

func (*IsoTransportProtocolConnectionManagementEndOfMessage) MessageInfo

func (*IsoTransportProtocolConnectionManagementEndOfMessage) PGNNumber

func (*IsoTransportProtocolConnectionManagementEndOfMessage) SetMessageInfo

type IsoTransportProtocolConnectionManagementRequestToSend

type IsoTransportProtocolConnectionManagementRequestToSend struct {
	Info              MessageInfo `json:"info"`
	GroupFunctionCode *uint64     `json:"groupFunctionCode,omitempty" n2k:"1"`
	MessageSize       *uint64     `json:"messageSize,omitempty" n2k:"2"`
	Packets           *uint64     `json:"packets,omitempty" n2k:"3"`
	PacketsReply      *uint64     `json:"packetsReply,omitempty" n2k:"4"`
	Pgn               *uint64     `json:"pgn,omitempty" n2k:"5"`
}

func (*IsoTransportProtocolConnectionManagementRequestToSend) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoTransportProtocolConnectionManagementRequestToSend) DecodePayload

func (*IsoTransportProtocolConnectionManagementRequestToSend) EncodePayload

func (*IsoTransportProtocolConnectionManagementRequestToSend) MessageInfo

func (*IsoTransportProtocolConnectionManagementRequestToSend) PGNNumber

func (*IsoTransportProtocolConnectionManagementRequestToSend) SetMessageInfo

type IsoTransportProtocolDataTransfer

type IsoTransportProtocolDataTransfer struct {
	Info MessageInfo `json:"info"`
	Sid  *uint64     `json:"sid,omitempty" n2k:"1"`
	Data []uint8     `json:"data,omitempty" n2k:"2"`
}

func (*IsoTransportProtocolDataTransfer) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*IsoTransportProtocolDataTransfer) DecodePayload

func (m *IsoTransportProtocolDataTransfer) DecodePayload(payload []uint8) error

func (*IsoTransportProtocolDataTransfer) EncodePayload

func (m *IsoTransportProtocolDataTransfer) EncodePayload() ([]uint8, error)

func (*IsoTransportProtocolDataTransfer) MessageInfo

func (*IsoTransportProtocolDataTransfer) PGNNumber

func (*IsoTransportProtocolDataTransfer) SetMessageInfo

func (m *IsoTransportProtocolDataTransfer) SetMessageInfo(info MessageInfo)

type Label

type Label struct {
	Info                            MessageInfo `json:"info"`
	HardwareChannelId               *uint64     `json:"hardwareChannelId,omitempty" n2k:"1"`
	Pgn                             *uint64     `json:"pgn,omitempty" n2k:"2"`
	DataSourceInstanceFieldNumber   *uint64     `json:"dataSourceInstanceFieldNumber,omitempty" n2k:"3"`
	DataSourceInstanceValue         *uint64     `json:"dataSourceInstanceValue,omitempty" n2k:"4"`
	SecondaryEnumerationFieldNumber *uint64     `json:"secondaryEnumerationFieldNumber,omitempty" n2k:"5"`
	SecondaryEnumerationFieldValue  *uint64     `json:"secondaryEnumerationFieldValue,omitempty" n2k:"6"`
	ParameterFieldNumber            *uint64     `json:"parameterFieldNumber,omitempty" n2k:"7"`
	Label                           string      `json:"label,omitempty" n2k:"8"`
}

func (*Label) Clone added in v1.3.0

func (m *Label) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Label) DecodePayload

func (m *Label) DecodePayload(payload []uint8) error

func (*Label) EncodePayload

func (m *Label) EncodePayload() ([]uint8, error)

func (*Label) MessageInfo

func (m *Label) MessageInfo() MessageInfo

func (*Label) PGNNumber

func (m *Label) PGNNumber() uint32

func (*Label) SetMessageInfo

func (m *Label) SetMessageInfo(info MessageInfo)

type LeewayAngle

type LeewayAngle struct {
	Info        MessageInfo `json:"info"`
	Sid         *uint64     `json:"sid,omitempty" n2k:"1"`
	LeewayAngle *int64      `json:"leewayAngle,omitempty" n2k:"2"`
}

func (*LeewayAngle) Clone added in v1.3.0

func (m *LeewayAngle) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LeewayAngle) DecodePayload

func (m *LeewayAngle) DecodePayload(payload []uint8) error

func (*LeewayAngle) EncodePayload

func (m *LeewayAngle) EncodePayload() ([]uint8, error)

func (*LeewayAngle) LeewayAngleValue

func (m *LeewayAngle) LeewayAngleValue() (float64, bool)

LeewayAngleValue returns LeewayAngle as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LeewayAngle) MessageInfo

func (m *LeewayAngle) MessageInfo() MessageInfo

func (*LeewayAngle) PGNNumber

func (m *LeewayAngle) PGNNumber() uint32

func (*LeewayAngle) SetLeewayAngleValue

func (m *LeewayAngle) SetLeewayAngleValue(v float64)

SetLeewayAngleValue sets LeewayAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*LeewayAngle) SetMessageInfo

func (m *LeewayAngle) SetMessageInfo(info MessageInfo)

type LibraryDataFile

type LibraryDataFile struct {
	Info           MessageInfo `json:"info"`
	Source         *uint64     `json:"source,omitempty" n2k:"1"`
	Number         *uint64     `json:"number,omitempty" n2k:"2"`
	Id             *uint64     `json:"id,omitempty" n2k:"3"`
	Type           *uint64     `json:"type,omitempty" n2k:"4"`
	Name           string      `json:"name,omitempty" n2k:"5"`
	Track          *uint64     `json:"track,omitempty" n2k:"6"`
	Station        *uint64     `json:"station,omitempty" n2k:"7"`
	Favorite       *uint64     `json:"favorite,omitempty" n2k:"8"`
	RadioFrequency *uint64     `json:"radioFrequency,omitempty" n2k:"9"`
	HdFrequency    *uint64     `json:"hdFrequency,omitempty" n2k:"10"`
	Zone           *uint64     `json:"zone,omitempty" n2k:"11"`
	InPlayQueue    *uint64     `json:"inPlayQueue,omitempty" n2k:"12"`
	Locked         *uint64     `json:"locked,omitempty" n2k:"13"`
	ArtistName     string      `json:"artistName,omitempty" n2k:"15"`
	AlbumName      string      `json:"albumName,omitempty" n2k:"16"`
	StationName    string      `json:"stationName,omitempty" n2k:"17"`
}

func (*LibraryDataFile) Clone added in v1.3.0

func (m *LibraryDataFile) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LibraryDataFile) DecodePayload

func (m *LibraryDataFile) DecodePayload(payload []uint8) error

func (*LibraryDataFile) EncodePayload

func (m *LibraryDataFile) EncodePayload() ([]uint8, error)

func (*LibraryDataFile) MessageInfo

func (m *LibraryDataFile) MessageInfo() MessageInfo

func (*LibraryDataFile) PGNNumber

func (m *LibraryDataFile) PGNNumber() uint32

func (*LibraryDataFile) RadioFrequencyValue

func (m *LibraryDataFile) RadioFrequencyValue() (float64, bool)

RadioFrequencyValue returns RadioFrequency as a physical value in Hz (value = raw * 10). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LibraryDataFile) SetMessageInfo

func (m *LibraryDataFile) SetMessageInfo(info MessageInfo)

func (*LibraryDataFile) SetRadioFrequencyValue

func (m *LibraryDataFile) SetRadioFrequencyValue(v float64)

SetRadioFrequencyValue sets RadioFrequency from a physical value in Hz, rounded to the nearest wire tick of 10.

type LibraryDataGroup

type LibraryDataGroup struct {
	Info         MessageInfo                  `json:"info"`
	Source       *uint64                      `json:"source,omitempty" n2k:"1"`
	Number       *uint64                      `json:"number,omitempty" n2k:"2"`
	Type         *uint64                      `json:"type,omitempty" n2k:"3"`
	Zone         *uint64                      `json:"zone,omitempty" n2k:"4"`
	GroupId      *uint64                      `json:"groupId,omitempty" n2k:"5"`
	IdOffset     *uint64                      `json:"idOffset,omitempty" n2k:"6"`
	IdCount      *uint64                      `json:"idCount,omitempty" n2k:"7"`
	TotalIdCount *uint64                      `json:"totalIdCount,omitempty" n2k:"8"`
	Artist       string                       `json:"artist,omitempty" n2k:"12"`
	Repeating1   []LibraryDataGroupRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*LibraryDataGroup) Clone added in v1.3.0

func (m *LibraryDataGroup) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LibraryDataGroup) DecodePayload

func (m *LibraryDataGroup) DecodePayload(payload []uint8) error

func (*LibraryDataGroup) EncodePayload

func (m *LibraryDataGroup) EncodePayload() ([]uint8, error)

func (*LibraryDataGroup) MessageInfo

func (m *LibraryDataGroup) MessageInfo() MessageInfo

func (*LibraryDataGroup) PGNNumber

func (m *LibraryDataGroup) PGNNumber() uint32

func (*LibraryDataGroup) SetMessageInfo

func (m *LibraryDataGroup) SetMessageInfo(info MessageInfo)

type LibraryDataGroupRepeating1

type LibraryDataGroupRepeating1 struct {
	IdType *uint64 `json:"idType,omitempty" n2k:"9"`
	Id     *uint64 `json:"id,omitempty" n2k:"10"`
	Name   string  `json:"name,omitempty" n2k:"11"`
}

type LibraryDataSearch

type LibraryDataSearch struct {
	Info       MessageInfo `json:"info"`
	Source     *uint64     `json:"source,omitempty" n2k:"1"`
	Number     *uint64     `json:"number,omitempty" n2k:"2"`
	GroupId    *uint64     `json:"groupId,omitempty" n2k:"3"`
	GroupType1 *uint64     `json:"groupType1,omitempty" n2k:"4"`
	GroupName1 string      `json:"groupName1,omitempty" n2k:"5"`
	GroupType2 *uint64     `json:"groupType2,omitempty" n2k:"6"`
	GroupName2 string      `json:"groupName2,omitempty" n2k:"7"`
	GroupType3 *uint64     `json:"groupType3,omitempty" n2k:"8"`
	GroupName3 string      `json:"groupName3,omitempty" n2k:"9"`
}

func (*LibraryDataSearch) Clone added in v1.3.0

func (m *LibraryDataSearch) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LibraryDataSearch) DecodePayload

func (m *LibraryDataSearch) DecodePayload(payload []uint8) error

func (*LibraryDataSearch) EncodePayload

func (m *LibraryDataSearch) EncodePayload() ([]uint8, error)

func (*LibraryDataSearch) MessageInfo

func (m *LibraryDataSearch) MessageInfo() MessageInfo

func (*LibraryDataSearch) PGNNumber

func (m *LibraryDataSearch) PGNNumber() uint32

func (*LibraryDataSearch) SetMessageInfo

func (m *LibraryDataSearch) SetMessageInfo(info MessageInfo)

type LightingColorSequence

type LightingColorSequence struct {
	Info          MessageInfo                       `json:"info"`
	SequenceIndex *uint64                           `json:"sequenceIndex,omitempty" n2k:"1"`
	ColorCount    *uint64                           `json:"colorCount,omitempty" n2k:"2"`
	Repeating1    []LightingColorSequenceRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*LightingColorSequence) Clone added in v1.3.0

func (m *LightingColorSequence) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LightingColorSequence) DecodePayload

func (m *LightingColorSequence) DecodePayload(payload []uint8) error

func (*LightingColorSequence) EncodePayload

func (m *LightingColorSequence) EncodePayload() ([]uint8, error)

func (*LightingColorSequence) MessageInfo

func (m *LightingColorSequence) MessageInfo() MessageInfo

func (*LightingColorSequence) PGNNumber

func (m *LightingColorSequence) PGNNumber() uint32

func (*LightingColorSequence) SetMessageInfo

func (m *LightingColorSequence) SetMessageInfo(info MessageInfo)

type LightingColorSequenceRepeating1

type LightingColorSequenceRepeating1 struct {
	ColorIndex       *uint64 `json:"colorIndex,omitempty" n2k:"3"`
	RedComponent     *uint64 `json:"redComponent,omitempty" n2k:"4"`
	GreenComponent   *uint64 `json:"greenComponent,omitempty" n2k:"5"`
	BlueComponent    *uint64 `json:"blueComponent,omitempty" n2k:"6"`
	ColorTemperature *uint64 `json:"colorTemperature,omitempty" n2k:"7"`
	Intensity        *uint64 `json:"intensity,omitempty" n2k:"8"`
}

type LightingCommandConst

type LightingCommandConst uint8
const (
	LightingCommandIdle          LightingCommandConst = 0
	LightingCommandDetectDevices LightingCommandConst = 1
	LightingCommandReboot        LightingCommandConst = 2
	LightingCommandFactoryReset  LightingCommandConst = 3
	LightingCommandPoweringUp    LightingCommandConst = 4
)

func (LightingCommandConst) GoString

func (e LightingCommandConst) GoString() string

func (LightingCommandConst) String

func (e LightingCommandConst) String() string

type LightingDevice

type LightingDevice struct {
	Info                      MessageInfo `json:"info"`
	DeviceId                  *uint64     `json:"deviceId,omitempty" n2k:"1"`
	DeviceCapabilities        *uint64     `json:"deviceCapabilities,omitempty" n2k:"2"`
	ColorCapabilities         *uint64     `json:"colorCapabilities,omitempty" n2k:"3"`
	ZoneIndex                 *uint64     `json:"zoneIndex,omitempty" n2k:"4"`
	NameOfLightingDevice      string      `json:"nameOfLightingDevice,omitempty" n2k:"5"`
	Status                    *uint64     `json:"status,omitempty" n2k:"6"`
	RedComponent              *uint64     `json:"redComponent,omitempty" n2k:"7"`
	GreenComponent            *uint64     `json:"greenComponent,omitempty" n2k:"8"`
	BlueComponent             *uint64     `json:"blueComponent,omitempty" n2k:"9"`
	ColorTemperature          *uint64     `json:"colorTemperature,omitempty" n2k:"10"`
	Intensity                 *uint64     `json:"intensity,omitempty" n2k:"11"`
	ProgramId                 *uint64     `json:"programId,omitempty" n2k:"12"`
	ProgramColorSequenceIndex *uint64     `json:"programColorSequenceIndex,omitempty" n2k:"13"`
	ProgramIntensity          *uint64     `json:"programIntensity,omitempty" n2k:"14"`
	ProgramRate               *uint64     `json:"programRate,omitempty" n2k:"15"`
	ProgramColorSequenceRate  *uint64     `json:"programColorSequenceRate,omitempty" n2k:"16"`
	Enabled                   *uint64     `json:"enabled,omitempty" n2k:"17"`
}

func (*LightingDevice) Clone added in v1.3.0

func (m *LightingDevice) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LightingDevice) DecodePayload

func (m *LightingDevice) DecodePayload(payload []uint8) error

func (*LightingDevice) EncodePayload

func (m *LightingDevice) EncodePayload() ([]uint8, error)

func (*LightingDevice) MessageInfo

func (m *LightingDevice) MessageInfo() MessageInfo

func (*LightingDevice) PGNNumber

func (m *LightingDevice) PGNNumber() uint32

func (*LightingDevice) SetMessageInfo

func (m *LightingDevice) SetMessageInfo(info MessageInfo)

type LightingDeviceEnumeration

type LightingDeviceEnumeration struct {
	Info                 MessageInfo                           `json:"info"`
	IndexOfFirstDevice   *uint64                               `json:"indexOfFirstDevice,omitempty" n2k:"1"`
	TotalNumberOfDevices *uint64                               `json:"totalNumberOfDevices,omitempty" n2k:"2"`
	NumberOfDevices      *uint64                               `json:"numberOfDevices,omitempty" n2k:"3"`
	Repeating1           []LightingDeviceEnumerationRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*LightingDeviceEnumeration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*LightingDeviceEnumeration) DecodePayload

func (m *LightingDeviceEnumeration) DecodePayload(payload []uint8) error

func (*LightingDeviceEnumeration) EncodePayload

func (m *LightingDeviceEnumeration) EncodePayload() ([]uint8, error)

func (*LightingDeviceEnumeration) MessageInfo

func (m *LightingDeviceEnumeration) MessageInfo() MessageInfo

func (*LightingDeviceEnumeration) PGNNumber

func (m *LightingDeviceEnumeration) PGNNumber() uint32

func (*LightingDeviceEnumeration) SetMessageInfo

func (m *LightingDeviceEnumeration) SetMessageInfo(info MessageInfo)

type LightingDeviceEnumerationRepeating1

type LightingDeviceEnumerationRepeating1 struct {
	DeviceId *uint64 `json:"deviceId,omitempty" n2k:"4"`
	Status   *uint64 `json:"status,omitempty" n2k:"5"`
}

type LightingProgram

type LightingProgram struct {
	Info                MessageInfo `json:"info"`
	ProgramId           *uint64     `json:"programId,omitempty" n2k:"1"`
	NameOfProgram       string      `json:"nameOfProgram,omitempty" n2k:"2"`
	Description         string      `json:"description,omitempty" n2k:"3"`
	ProgramCapabilities *uint64     `json:"programCapabilities,omitempty" n2k:"4"`
}

func (*LightingProgram) Clone added in v1.3.0

func (m *LightingProgram) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LightingProgram) DecodePayload

func (m *LightingProgram) DecodePayload(payload []uint8) error

func (*LightingProgram) EncodePayload

func (m *LightingProgram) EncodePayload() ([]uint8, error)

func (*LightingProgram) MessageInfo

func (m *LightingProgram) MessageInfo() MessageInfo

func (*LightingProgram) PGNNumber

func (m *LightingProgram) PGNNumber() uint32

func (*LightingProgram) SetMessageInfo

func (m *LightingProgram) SetMessageInfo(info MessageInfo)

type LightingScene

type LightingScene struct {
	Info               MessageInfo               `json:"info"`
	SceneIndex         *uint64                   `json:"sceneIndex,omitempty" n2k:"1"`
	ZoneName           string                    `json:"zoneName,omitempty" n2k:"2"`
	Control            *uint64                   `json:"control,omitempty" n2k:"3"`
	ConfigurationCount *uint64                   `json:"configurationCount,omitempty" n2k:"4"`
	Repeating1         []LightingSceneRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*LightingScene) Clone added in v1.3.0

func (m *LightingScene) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LightingScene) DecodePayload

func (m *LightingScene) DecodePayload(payload []uint8) error

func (*LightingScene) EncodePayload

func (m *LightingScene) EncodePayload() ([]uint8, error)

func (*LightingScene) MessageInfo

func (m *LightingScene) MessageInfo() MessageInfo

func (*LightingScene) PGNNumber

func (m *LightingScene) PGNNumber() uint32

func (*LightingScene) SetMessageInfo

func (m *LightingScene) SetMessageInfo(info MessageInfo)

type LightingSceneRepeating1

type LightingSceneRepeating1 struct {
	ConfigurationIndex        *uint64 `json:"configurationIndex,omitempty" n2k:"5"`
	ZoneIndex                 *uint64 `json:"zoneIndex,omitempty" n2k:"6"`
	DevicesId                 *uint64 `json:"devicesId,omitempty" n2k:"7"`
	ProgramIndex              *uint64 `json:"programIndex,omitempty" n2k:"8"`
	ProgramColorSequenceIndex *uint64 `json:"programColorSequenceIndex,omitempty" n2k:"9"`
	ProgramIntensity          *uint64 `json:"programIntensity,omitempty" n2k:"10"`
	ProgramRate               *uint64 `json:"programRate,omitempty" n2k:"11"`
	ProgramColorSequenceRate  *uint64 `json:"programColorSequenceRate,omitempty" n2k:"12"`
}

type LightingSystemSettings

type LightingSystemSettings struct {
	Info                        MessageInfo `json:"info"`
	GlobalEnable                *uint64     `json:"globalEnable,omitempty" n2k:"1"`
	DefaultSettingsCommand      *uint64     `json:"defaultSettingsCommand,omitempty" n2k:"2"`
	NameOfTheLightingController string      `json:"nameOfTheLightingController,omitempty" n2k:"4"`
	MaxScenes                   *uint64     `json:"maxScenes,omitempty" n2k:"5"`
	MaxSceneConfigurationCount  *uint64     `json:"maxSceneConfigurationCount,omitempty" n2k:"6"`
	MaxZones                    *uint64     `json:"maxZones,omitempty" n2k:"7"`
	MaxColorSequences           *uint64     `json:"maxColorSequences,omitempty" n2k:"8"`
	MaxColorSequenceColorCount  *uint64     `json:"maxColorSequenceColorCount,omitempty" n2k:"9"`
	NumberOfPrograms            *uint64     `json:"numberOfPrograms,omitempty" n2k:"10"`
	ControllerCapabilities      *uint64     `json:"controllerCapabilities,omitempty" n2k:"11"`
	IdentifyDevice              *uint64     `json:"identifyDevice,omitempty" n2k:"12"`
}

func (*LightingSystemSettings) Clone added in v1.3.0

func (m *LightingSystemSettings) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LightingSystemSettings) DecodePayload

func (m *LightingSystemSettings) DecodePayload(payload []uint8) error

func (*LightingSystemSettings) EncodePayload

func (m *LightingSystemSettings) EncodePayload() ([]uint8, error)

func (*LightingSystemSettings) MessageInfo

func (m *LightingSystemSettings) MessageInfo() MessageInfo

func (*LightingSystemSettings) PGNNumber

func (m *LightingSystemSettings) PGNNumber() uint32

func (*LightingSystemSettings) SetMessageInfo

func (m *LightingSystemSettings) SetMessageInfo(info MessageInfo)

type LightingZone

type LightingZone struct {
	Info                      MessageInfo `json:"info"`
	ZoneIndex                 *uint64     `json:"zoneIndex,omitempty" n2k:"1"`
	ZoneName                  string      `json:"zoneName,omitempty" n2k:"2"`
	RedComponent              *uint64     `json:"redComponent,omitempty" n2k:"3"`
	GreenComponent            *uint64     `json:"greenComponent,omitempty" n2k:"4"`
	BlueComponent             *uint64     `json:"blueComponent,omitempty" n2k:"5"`
	ColorTemperature          *uint64     `json:"colorTemperature,omitempty" n2k:"6"`
	Intensity                 *uint64     `json:"intensity,omitempty" n2k:"7"`
	ProgramId                 *uint64     `json:"programId,omitempty" n2k:"8"`
	ProgramColorSequenceIndex *uint64     `json:"programColorSequenceIndex,omitempty" n2k:"9"`
	ProgramIntensity          *uint64     `json:"programIntensity,omitempty" n2k:"10"`
	ProgramRate               *uint64     `json:"programRate,omitempty" n2k:"11"`
	ProgramColorSequence      *uint64     `json:"programColorSequence,omitempty" n2k:"12"`
	ZoneEnabled               *uint64     `json:"zoneEnabled,omitempty" n2k:"13"`
}

func (*LightingZone) Clone added in v1.3.0

func (m *LightingZone) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LightingZone) DecodePayload

func (m *LightingZone) DecodePayload(payload []uint8) error

func (*LightingZone) EncodePayload

func (m *LightingZone) EncodePayload() ([]uint8, error)

func (*LightingZone) MessageInfo

func (m *LightingZone) MessageInfo() MessageInfo

func (*LightingZone) PGNNumber

func (m *LightingZone) PGNNumber() uint32

func (*LightingZone) SetMessageInfo

func (m *LightingZone) SetMessageInfo(info MessageInfo)

type LineConst

type LineConst uint8
const (
	LineLine1 LineConst = 0
	LineLine2 LineConst = 1
	LineLine3 LineConst = 2
)

func (LineConst) GoString

func (e LineConst) GoString() string

func (LineConst) String

func (e LineConst) String() string

type LinearActuatorControlStatus

type LinearActuatorControlStatus struct {
	Info                    MessageInfo `json:"info"`
	ActuatorIdentifier      *uint64     `json:"actuatorIdentifier,omitempty" n2k:"1"`
	CommandedDevicePosition *uint64     `json:"commandedDevicePosition,omitempty" n2k:"2"`
	DevicePosition          *uint64     `json:"devicePosition,omitempty" n2k:"3"`
	MaximumDeviceTravel     *uint64     `json:"maximumDeviceTravel,omitempty" n2k:"4"`
	DirectionOfTravel       *uint64     `json:"directionOfTravel,omitempty" n2k:"5"`
}

func (*LinearActuatorControlStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*LinearActuatorControlStatus) DecodePayload

func (m *LinearActuatorControlStatus) DecodePayload(payload []uint8) error

func (*LinearActuatorControlStatus) EncodePayload

func (m *LinearActuatorControlStatus) EncodePayload() ([]uint8, error)

func (*LinearActuatorControlStatus) MessageInfo

func (m *LinearActuatorControlStatus) MessageInfo() MessageInfo

func (*LinearActuatorControlStatus) PGNNumber

func (m *LinearActuatorControlStatus) PGNNumber() uint32

func (*LinearActuatorControlStatus) SetMessageInfo

func (m *LinearActuatorControlStatus) SetMessageInfo(info MessageInfo)

type LoadControllerConnectionStateControl

type LoadControllerConnectionStateControl struct {
	Info                     MessageInfo `json:"info"`
	SequenceId               *uint64     `json:"sequenceId,omitempty" n2k:"1"`
	ConnectionId             *uint64     `json:"connectionId,omitempty" n2k:"2"`
	State                    *uint64     `json:"state,omitempty" n2k:"3"`
	Status                   *uint64     `json:"status,omitempty" n2k:"4"`
	OperationalStatusControl *uint64     `json:"operationalStatusControl,omitempty" n2k:"5"`
	PwmDutyCycle             *uint64     `json:"pwmDutyCycle,omitempty" n2k:"6"`
	Timeon                   *uint64     `json:"timeon,omitempty" n2k:"7"`
	Timeoff                  *uint64     `json:"timeoff,omitempty" n2k:"8"`
}

func (*LoadControllerConnectionStateControl) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*LoadControllerConnectionStateControl) DecodePayload

func (m *LoadControllerConnectionStateControl) DecodePayload(payload []uint8) error

func (*LoadControllerConnectionStateControl) EncodePayload

func (m *LoadControllerConnectionStateControl) EncodePayload() ([]uint8, error)

func (*LoadControllerConnectionStateControl) MessageInfo

func (*LoadControllerConnectionStateControl) PGNNumber

func (*LoadControllerConnectionStateControl) SetMessageInfo

func (m *LoadControllerConnectionStateControl) SetMessageInfo(info MessageInfo)

type LoranCRangeData

type LoranCRangeData struct {
	Info                       MessageInfo `json:"info"`
	GroupRepetitionIntervalGri *int64      `json:"groupRepetitionIntervalGri,omitempty" n2k:"1"`
	MasterRange                *int64      `json:"masterRange,omitempty" n2k:"2"`
	VSecondaryRange            *int64      `json:"vSecondaryRange,omitempty" n2k:"3"`
	WSecondaryRange            *int64      `json:"wSecondaryRange,omitempty" n2k:"4"`
	XSecondaryRange            *int64      `json:"xSecondaryRange,omitempty" n2k:"5"`
	YSecondaryRange            *int64      `json:"ySecondaryRange,omitempty" n2k:"6"`
	ZSecondaryRange            *int64      `json:"zSecondaryRange,omitempty" n2k:"7"`
	StationStatusMaster        *uint64     `json:"stationStatusMaster,omitempty" n2k:"8"`
	StationStatusV             *uint64     `json:"stationStatusV,omitempty" n2k:"9"`
	StationStatusW             *uint64     `json:"stationStatusW,omitempty" n2k:"10"`
	StationStatusX             *uint64     `json:"stationStatusX,omitempty" n2k:"11"`
	StationStatusY             *uint64     `json:"stationStatusY,omitempty" n2k:"12"`
	StationStatusZ             *uint64     `json:"stationStatusZ,omitempty" n2k:"13"`
	Mode                       *uint64     `json:"mode,omitempty" n2k:"14"`
}

func (*LoranCRangeData) Clone added in v1.3.0

func (m *LoranCRangeData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LoranCRangeData) DecodePayload

func (m *LoranCRangeData) DecodePayload(payload []uint8) error

func (*LoranCRangeData) EncodePayload

func (m *LoranCRangeData) EncodePayload() ([]uint8, error)

func (*LoranCRangeData) GroupRepetitionIntervalGriValue

func (m *LoranCRangeData) GroupRepetitionIntervalGriValue() (float64, bool)

GroupRepetitionIntervalGriValue returns GroupRepetitionIntervalGri as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCRangeData) MasterRangeValue

func (m *LoranCRangeData) MasterRangeValue() (float64, bool)

MasterRangeValue returns MasterRange as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCRangeData) MessageInfo

func (m *LoranCRangeData) MessageInfo() MessageInfo

func (*LoranCRangeData) PGNNumber

func (m *LoranCRangeData) PGNNumber() uint32

func (*LoranCRangeData) SetGroupRepetitionIntervalGriValue

func (m *LoranCRangeData) SetGroupRepetitionIntervalGriValue(v float64)

SetGroupRepetitionIntervalGriValue sets GroupRepetitionIntervalGri from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCRangeData) SetMasterRangeValue

func (m *LoranCRangeData) SetMasterRangeValue(v float64)

SetMasterRangeValue sets MasterRange from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCRangeData) SetMessageInfo

func (m *LoranCRangeData) SetMessageInfo(info MessageInfo)

func (*LoranCRangeData) SetVSecondaryRangeValue

func (m *LoranCRangeData) SetVSecondaryRangeValue(v float64)

SetVSecondaryRangeValue sets VSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCRangeData) SetWSecondaryRangeValue

func (m *LoranCRangeData) SetWSecondaryRangeValue(v float64)

SetWSecondaryRangeValue sets WSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCRangeData) SetXSecondaryRangeValue

func (m *LoranCRangeData) SetXSecondaryRangeValue(v float64)

SetXSecondaryRangeValue sets XSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCRangeData) SetYSecondaryRangeValue

func (m *LoranCRangeData) SetYSecondaryRangeValue(v float64)

SetYSecondaryRangeValue sets YSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCRangeData) SetZSecondaryRangeValue

func (m *LoranCRangeData) SetZSecondaryRangeValue(v float64)

SetZSecondaryRangeValue sets ZSecondaryRange from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCRangeData) VSecondaryRangeValue

func (m *LoranCRangeData) VSecondaryRangeValue() (float64, bool)

VSecondaryRangeValue returns VSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCRangeData) WSecondaryRangeValue

func (m *LoranCRangeData) WSecondaryRangeValue() (float64, bool)

WSecondaryRangeValue returns WSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCRangeData) XSecondaryRangeValue

func (m *LoranCRangeData) XSecondaryRangeValue() (float64, bool)

XSecondaryRangeValue returns XSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCRangeData) YSecondaryRangeValue

func (m *LoranCRangeData) YSecondaryRangeValue() (float64, bool)

YSecondaryRangeValue returns YSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCRangeData) ZSecondaryRangeValue

func (m *LoranCRangeData) ZSecondaryRangeValue() (float64, bool)

ZSecondaryRangeValue returns ZSecondaryRange as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

type LoranCSignalData

type LoranCSignalData struct {
	Info                       MessageInfo `json:"info"`
	GroupRepetitionIntervalGri *int64      `json:"groupRepetitionIntervalGri,omitempty" n2k:"1"`
	StationIdentifier          string      `json:"stationIdentifier,omitempty" n2k:"2"`
	StationSnr                 *int64      `json:"stationSnr,omitempty" n2k:"3"`
	StationEcd                 *int64      `json:"stationEcd,omitempty" n2k:"4"`
	StationAsf                 *int64      `json:"stationAsf,omitempty" n2k:"5"`
}

func (*LoranCSignalData) Clone added in v1.3.0

func (m *LoranCSignalData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LoranCSignalData) DecodePayload

func (m *LoranCSignalData) DecodePayload(payload []uint8) error

func (*LoranCSignalData) EncodePayload

func (m *LoranCSignalData) EncodePayload() ([]uint8, error)

func (*LoranCSignalData) GroupRepetitionIntervalGriValue

func (m *LoranCSignalData) GroupRepetitionIntervalGriValue() (float64, bool)

GroupRepetitionIntervalGriValue returns GroupRepetitionIntervalGri as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCSignalData) MessageInfo

func (m *LoranCSignalData) MessageInfo() MessageInfo

func (*LoranCSignalData) PGNNumber

func (m *LoranCSignalData) PGNNumber() uint32

func (*LoranCSignalData) SetGroupRepetitionIntervalGriValue

func (m *LoranCSignalData) SetGroupRepetitionIntervalGriValue(v float64)

SetGroupRepetitionIntervalGriValue sets GroupRepetitionIntervalGri from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCSignalData) SetMessageInfo

func (m *LoranCSignalData) SetMessageInfo(info MessageInfo)

func (*LoranCSignalData) SetStationAsfValue

func (m *LoranCSignalData) SetStationAsfValue(v float64)

SetStationAsfValue sets StationAsf from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCSignalData) SetStationEcdValue

func (m *LoranCSignalData) SetStationEcdValue(v float64)

SetStationEcdValue sets StationEcd from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCSignalData) SetStationSnrValue

func (m *LoranCSignalData) SetStationSnrValue(v float64)

SetStationSnrValue sets StationSnr from a physical value in dB, rounded to the nearest wire tick of 0.01.

func (*LoranCSignalData) StationAsfValue

func (m *LoranCSignalData) StationAsfValue() (float64, bool)

StationAsfValue returns StationAsf as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCSignalData) StationEcdValue

func (m *LoranCSignalData) StationEcdValue() (float64, bool)

StationEcdValue returns StationEcd as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCSignalData) StationSnrValue

func (m *LoranCSignalData) StationSnrValue() (float64, bool)

StationSnrValue returns StationSnr as a physical value in dB (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type LoranCTdData

type LoranCTdData struct {
	Info                       MessageInfo `json:"info"`
	GroupRepetitionIntervalGri *int64      `json:"groupRepetitionIntervalGri,omitempty" n2k:"1"`
	MasterRange                *int64      `json:"masterRange,omitempty" n2k:"2"`
	VSecondaryTd               *int64      `json:"vSecondaryTd,omitempty" n2k:"3"`
	WSecondaryTd               *int64      `json:"wSecondaryTd,omitempty" n2k:"4"`
	XSecondaryTd               *int64      `json:"xSecondaryTd,omitempty" n2k:"5"`
	YSecondaryTd               *int64      `json:"ySecondaryTd,omitempty" n2k:"6"`
	ZSecondaryTd               *int64      `json:"zSecondaryTd,omitempty" n2k:"7"`
	StationStatusMaster        *uint64     `json:"stationStatusMaster,omitempty" n2k:"8"`
	StationStatusV             *uint64     `json:"stationStatusV,omitempty" n2k:"9"`
	StationStatusW             *uint64     `json:"stationStatusW,omitempty" n2k:"10"`
	StationStatusX             *uint64     `json:"stationStatusX,omitempty" n2k:"11"`
	StationStatusY             *uint64     `json:"stationStatusY,omitempty" n2k:"12"`
	StationStatusZ             *uint64     `json:"stationStatusZ,omitempty" n2k:"13"`
	Mode                       *uint64     `json:"mode,omitempty" n2k:"14"`
}

func (*LoranCTdData) Clone added in v1.3.0

func (m *LoranCTdData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LoranCTdData) DecodePayload

func (m *LoranCTdData) DecodePayload(payload []uint8) error

func (*LoranCTdData) EncodePayload

func (m *LoranCTdData) EncodePayload() ([]uint8, error)

func (*LoranCTdData) GroupRepetitionIntervalGriValue

func (m *LoranCTdData) GroupRepetitionIntervalGriValue() (float64, bool)

GroupRepetitionIntervalGriValue returns GroupRepetitionIntervalGri as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCTdData) MasterRangeValue

func (m *LoranCTdData) MasterRangeValue() (float64, bool)

MasterRangeValue returns MasterRange as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCTdData) MessageInfo

func (m *LoranCTdData) MessageInfo() MessageInfo

func (*LoranCTdData) PGNNumber

func (m *LoranCTdData) PGNNumber() uint32

func (*LoranCTdData) SetGroupRepetitionIntervalGriValue

func (m *LoranCTdData) SetGroupRepetitionIntervalGriValue(v float64)

SetGroupRepetitionIntervalGriValue sets GroupRepetitionIntervalGri from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCTdData) SetMasterRangeValue

func (m *LoranCTdData) SetMasterRangeValue(v float64)

SetMasterRangeValue sets MasterRange from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCTdData) SetMessageInfo

func (m *LoranCTdData) SetMessageInfo(info MessageInfo)

func (*LoranCTdData) SetVSecondaryTdValue

func (m *LoranCTdData) SetVSecondaryTdValue(v float64)

SetVSecondaryTdValue sets VSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCTdData) SetWSecondaryTdValue

func (m *LoranCTdData) SetWSecondaryTdValue(v float64)

SetWSecondaryTdValue sets WSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCTdData) SetXSecondaryTdValue

func (m *LoranCTdData) SetXSecondaryTdValue(v float64)

SetXSecondaryTdValue sets XSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCTdData) SetYSecondaryTdValue

func (m *LoranCTdData) SetYSecondaryTdValue(v float64)

SetYSecondaryTdValue sets YSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCTdData) SetZSecondaryTdValue

func (m *LoranCTdData) SetZSecondaryTdValue(v float64)

SetZSecondaryTdValue sets ZSecondaryTd from a physical value in s, rounded to the nearest wire tick of 1e-09.

func (*LoranCTdData) VSecondaryTdValue

func (m *LoranCTdData) VSecondaryTdValue() (float64, bool)

VSecondaryTdValue returns VSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCTdData) WSecondaryTdValue

func (m *LoranCTdData) WSecondaryTdValue() (float64, bool)

WSecondaryTdValue returns WSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCTdData) XSecondaryTdValue

func (m *LoranCTdData) XSecondaryTdValue() (float64, bool)

XSecondaryTdValue returns XSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCTdData) YSecondaryTdValue

func (m *LoranCTdData) YSecondaryTdValue() (float64, bool)

YSecondaryTdValue returns YSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LoranCTdData) ZSecondaryTdValue

func (m *LoranCTdData) ZSecondaryTdValue() (float64, bool)

ZSecondaryTdValue returns ZSecondaryTd as a physical value in s (value = raw * 1e-09). The bool is false for absent, sentinel, or out-of-range measurements.

type LowBatteryConst

type LowBatteryConst uint8
const (
	LowBatteryGood LowBatteryConst = 0
	LowBatteryLow  LowBatteryConst = 1
)

func (LowBatteryConst) GoString

func (e LowBatteryConst) GoString() string

func (LowBatteryConst) String

func (e LowBatteryConst) String() string

type LowranceGpsConfiguration

type LowranceGpsConfiguration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	A                *uint64     `json:"a,omitempty" n2k:"4"`
	B                *uint64     `json:"b,omitempty" n2k:"5"`
	C                *uint64     `json:"c,omitempty" n2k:"6"`
	D                *uint64     `json:"d,omitempty" n2k:"7"`
	E                *uint64     `json:"e,omitempty" n2k:"9"`
	F                *uint64     `json:"f,omitempty" n2k:"10"`
	G                *uint64     `json:"g,omitempty" n2k:"11"`
	H                *uint64     `json:"h,omitempty" n2k:"13"`
	I                *uint64     `json:"i,omitempty" n2k:"14"`
}

func (*LowranceGpsConfiguration) Clone added in v1.3.0

func (m *LowranceGpsConfiguration) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LowranceGpsConfiguration) DecodePayload

func (m *LowranceGpsConfiguration) DecodePayload(payload []uint8) error

func (*LowranceGpsConfiguration) EncodePayload

func (m *LowranceGpsConfiguration) EncodePayload() ([]uint8, error)

func (*LowranceGpsConfiguration) MessageInfo

func (m *LowranceGpsConfiguration) MessageInfo() MessageInfo

func (*LowranceGpsConfiguration) PGNNumber

func (m *LowranceGpsConfiguration) PGNNumber() uint32

func (*LowranceGpsConfiguration) SetMessageInfo

func (m *LowranceGpsConfiguration) SetMessageInfo(info MessageInfo)

type LowranceProductInformation

type LowranceProductInformation struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProductCode      *uint64     `json:"productCode,omitempty" n2k:"4"`
	Model            string      `json:"model,omitempty" n2k:"5"`
	A                *uint64     `json:"a,omitempty" n2k:"6"`
	B                *uint64     `json:"b,omitempty" n2k:"7"`
	C                *uint64     `json:"c,omitempty" n2k:"8"`
	FirmwareVersion  string      `json:"firmwareVersion,omitempty" n2k:"9"`
	FirmwareDate     string      `json:"firmwareDate,omitempty" n2k:"10"`
	FirmwareTime     string      `json:"firmwareTime,omitempty" n2k:"11"`
}

func (*LowranceProductInformation) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*LowranceProductInformation) DecodePayload

func (m *LowranceProductInformation) DecodePayload(payload []uint8) error

func (*LowranceProductInformation) EncodePayload

func (m *LowranceProductInformation) EncodePayload() ([]uint8, error)

func (*LowranceProductInformation) MessageInfo

func (m *LowranceProductInformation) MessageInfo() MessageInfo

func (*LowranceProductInformation) PGNNumber

func (m *LowranceProductInformation) PGNNumber() uint32

func (*LowranceProductInformation) SetMessageInfo

func (m *LowranceProductInformation) SetMessageInfo(info MessageInfo)

type LowranceTemperature

type LowranceTemperature struct {
	Info              MessageInfo `json:"info"`
	ManufacturerCode  *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode      *uint64     `json:"industryCode,omitempty" n2k:"3"`
	TemperatureSource *uint64     `json:"temperatureSource,omitempty" n2k:"4"`
	ActualTemperature *uint64     `json:"actualTemperature,omitempty" n2k:"5"`
}

func (*LowranceTemperature) ActualTemperatureValue

func (m *LowranceTemperature) ActualTemperatureValue() (float64, bool)

ActualTemperatureValue returns ActualTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*LowranceTemperature) Clone added in v1.3.0

func (m *LowranceTemperature) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LowranceTemperature) DecodePayload

func (m *LowranceTemperature) DecodePayload(payload []uint8) error

func (*LowranceTemperature) EncodePayload

func (m *LowranceTemperature) EncodePayload() ([]uint8, error)

func (*LowranceTemperature) MessageInfo

func (m *LowranceTemperature) MessageInfo() MessageInfo

func (*LowranceTemperature) PGNNumber

func (m *LowranceTemperature) PGNNumber() uint32

func (*LowranceTemperature) SetActualTemperatureValue

func (m *LowranceTemperature) SetActualTemperatureValue(v float64)

SetActualTemperatureValue sets ActualTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*LowranceTemperature) SetMessageInfo

func (m *LowranceTemperature) SetMessageInfo(info MessageInfo)

type LowranceUnknown

type LowranceUnknown struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	A                *uint64     `json:"a,omitempty" n2k:"4"`
	B                *uint64     `json:"b,omitempty" n2k:"5"`
	C                *uint64     `json:"c,omitempty" n2k:"6"`
	D                *uint64     `json:"d,omitempty" n2k:"7"`
	E                *uint64     `json:"e,omitempty" n2k:"8"`
	F                *uint64     `json:"f,omitempty" n2k:"9"`
}

func (*LowranceUnknown) Clone added in v1.3.0

func (m *LowranceUnknown) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LowranceUnknown) DecodePayload

func (m *LowranceUnknown) DecodePayload(payload []uint8) error

func (*LowranceUnknown) EncodePayload

func (m *LowranceUnknown) EncodePayload() ([]uint8, error)

func (*LowranceUnknown) MessageInfo

func (m *LowranceUnknown) MessageInfo() MessageInfo

func (*LowranceUnknown) PGNNumber

func (m *LowranceUnknown) PGNNumber() uint32

func (*LowranceUnknown) SetMessageInfo

func (m *LowranceUnknown) SetMessageInfo(info MessageInfo)

type LowranceVesselSetupEngineAndTankConfiguration

type LowranceVesselSetupEngineAndTankConfiguration struct {
	Info              MessageInfo `json:"info"`
	ManufacturerCode  *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode      *uint64     `json:"industryCode,omitempty" n2k:"3"`
	NumberOfEngines   *uint64     `json:"numberOfEngines,omitempty" n2k:"4"`
	NumberOfFuelTanks *uint64     `json:"numberOfFuelTanks,omitempty" n2k:"5"`
	TotalFuelCapacity *uint64     `json:"totalFuelCapacity,omitempty" n2k:"6"`
}

func (*LowranceVesselSetupEngineAndTankConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*LowranceVesselSetupEngineAndTankConfiguration) DecodePayload

func (m *LowranceVesselSetupEngineAndTankConfiguration) DecodePayload(payload []uint8) error

func (*LowranceVesselSetupEngineAndTankConfiguration) EncodePayload

func (*LowranceVesselSetupEngineAndTankConfiguration) MessageInfo

func (*LowranceVesselSetupEngineAndTankConfiguration) PGNNumber

func (*LowranceVesselSetupEngineAndTankConfiguration) SetMessageInfo

func (*LowranceVesselSetupEngineAndTankConfiguration) SetTotalFuelCapacityValue

func (m *LowranceVesselSetupEngineAndTankConfiguration) SetTotalFuelCapacityValue(v float64)

SetTotalFuelCapacityValue sets TotalFuelCapacity from a physical value in L, rounded to the nearest wire tick of 0.1.

func (*LowranceVesselSetupEngineAndTankConfiguration) TotalFuelCapacityValue

func (m *LowranceVesselSetupEngineAndTankConfiguration) TotalFuelCapacityValue() (float64, bool)

TotalFuelCapacityValue returns TotalFuelCapacity as a physical value in L (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

type LowranceVesselSetupEngineAndTankConfigurationBroadcast

type LowranceVesselSetupEngineAndTankConfigurationBroadcast struct {
	Info              MessageInfo `json:"info"`
	ManufacturerCode  *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode      *uint64     `json:"industryCode,omitempty" n2k:"3"`
	NumberOfEngines   *uint64     `json:"numberOfEngines,omitempty" n2k:"4"`
	NumberOfFuelTanks *uint64     `json:"numberOfFuelTanks,omitempty" n2k:"5"`
	TotalFuelCapacity *uint64     `json:"totalFuelCapacity,omitempty" n2k:"6"`
}

func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) DecodePayload

func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) EncodePayload

func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) MessageInfo

func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) PGNNumber

func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) SetMessageInfo

func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) SetTotalFuelCapacityValue

func (m *LowranceVesselSetupEngineAndTankConfigurationBroadcast) SetTotalFuelCapacityValue(v float64)

SetTotalFuelCapacityValue sets TotalFuelCapacity from a physical value in L, rounded to the nearest wire tick of 0.1.

func (*LowranceVesselSetupEngineAndTankConfigurationBroadcast) TotalFuelCapacityValue

TotalFuelCapacityValue returns TotalFuelCapacity as a physical value in L (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

type LumishoreLightControl

type LumishoreLightControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ZoneIndex        *uint64     `json:"zoneIndex,omitempty" n2k:"4"`
	Red              *uint64     `json:"red,omitempty" n2k:"5"`
	Green            *uint64     `json:"green,omitempty" n2k:"6"`
	Blue             *uint64     `json:"blue,omitempty" n2k:"7"`
	ColdWhite        *uint64     `json:"coldWhite,omitempty" n2k:"8"`
	WarmWhite        *uint64     `json:"warmWhite,omitempty" n2k:"9"`
	Intensity        *uint64     `json:"intensity,omitempty" n2k:"10"`
	OnOff            *uint64     `json:"onOff,omitempty" n2k:"11"`
	Status           *uint64     `json:"status,omitempty" n2k:"12"`
}

func (*LumishoreLightControl) Clone added in v1.3.0

func (m *LumishoreLightControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LumishoreLightControl) DecodePayload

func (m *LumishoreLightControl) DecodePayload(payload []uint8) error

func (*LumishoreLightControl) EncodePayload

func (m *LumishoreLightControl) EncodePayload() ([]uint8, error)

func (*LumishoreLightControl) MessageInfo

func (m *LumishoreLightControl) MessageInfo() MessageInfo

func (*LumishoreLightControl) PGNNumber

func (m *LumishoreLightControl) PGNNumber() uint32

func (*LumishoreLightControl) SetMessageInfo

func (m *LumishoreLightControl) SetMessageInfo(info MessageInfo)

type LumishoreLightStatus

type LumishoreLightStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ZoneIndex        *uint64     `json:"zoneIndex,omitempty" n2k:"4"`
	Red              *uint64     `json:"red,omitempty" n2k:"5"`
	Green            *uint64     `json:"green,omitempty" n2k:"6"`
	Blue             *uint64     `json:"blue,omitempty" n2k:"7"`
	ColdWhite        *uint64     `json:"coldWhite,omitempty" n2k:"8"`
	WarmWhite        *uint64     `json:"warmWhite,omitempty" n2k:"9"`
}

func (*LumishoreLightStatus) Clone added in v1.3.0

func (m *LumishoreLightStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LumishoreLightStatus) DecodePayload

func (m *LumishoreLightStatus) DecodePayload(payload []uint8) error

func (*LumishoreLightStatus) EncodePayload

func (m *LumishoreLightStatus) EncodePayload() ([]uint8, error)

func (*LumishoreLightStatus) MessageInfo

func (m *LumishoreLightStatus) MessageInfo() MessageInfo

func (*LumishoreLightStatus) PGNNumber

func (m *LumishoreLightStatus) PGNNumber() uint32

func (*LumishoreLightStatus) SetMessageInfo

func (m *LumishoreLightStatus) SetMessageInfo(info MessageInfo)

type LumishoreProprietary

type LumishoreProprietary struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*LumishoreProprietary) Clone added in v1.3.0

func (m *LumishoreProprietary) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*LumishoreProprietary) DecodePayload

func (m *LumishoreProprietary) DecodePayload(payload []uint8) error

func (*LumishoreProprietary) EncodePayload

func (m *LumishoreProprietary) EncodePayload() ([]uint8, error)

func (*LumishoreProprietary) MessageInfo

func (m *LumishoreProprietary) MessageInfo() MessageInfo

func (*LumishoreProprietary) PGNNumber

func (m *LumishoreProprietary) PGNNumber() uint32

func (*LumishoreProprietary) SetMessageInfo

func (m *LumishoreProprietary) SetMessageInfo(info MessageInfo)

type MagneticVariation

type MagneticVariation struct {
	Info         MessageInfo `json:"info"`
	Sid          *uint64     `json:"sid,omitempty" n2k:"1"`
	Source       *uint64     `json:"source,omitempty" n2k:"2"`
	AgeOfService *uint64     `json:"ageOfService,omitempty" n2k:"4"`
	Variation    *int64      `json:"variation,omitempty" n2k:"5"`
}

func (*MagneticVariation) AgeOfServiceValue

func (m *MagneticVariation) AgeOfServiceValue() (float64, bool)

AgeOfServiceValue returns AgeOfService as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MagneticVariation) Clone added in v1.3.0

func (m *MagneticVariation) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MagneticVariation) DecodePayload

func (m *MagneticVariation) DecodePayload(payload []uint8) error

func (*MagneticVariation) EncodePayload

func (m *MagneticVariation) EncodePayload() ([]uint8, error)

func (*MagneticVariation) MessageInfo

func (m *MagneticVariation) MessageInfo() MessageInfo

func (*MagneticVariation) PGNNumber

func (m *MagneticVariation) PGNNumber() uint32

func (*MagneticVariation) SetAgeOfServiceValue

func (m *MagneticVariation) SetAgeOfServiceValue(v float64)

SetAgeOfServiceValue sets AgeOfService from a physical value in d, rounded to the nearest wire tick of 1.

func (*MagneticVariation) SetMessageInfo

func (m *MagneticVariation) SetMessageInfo(info MessageInfo)

func (*MagneticVariation) SetVariationValue

func (m *MagneticVariation) SetVariationValue(v float64)

SetVariationValue sets Variation from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*MagneticVariation) VariationValue

func (m *MagneticVariation) VariationValue() (float64, bool)

VariationValue returns Variation as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type MagneticVariationConst

type MagneticVariationConst uint8
const (
	MagneticVariationManual               MagneticVariationConst = 0
	MagneticVariationAutomaticChart       MagneticVariationConst = 1
	MagneticVariationAutomaticTable       MagneticVariationConst = 2
	MagneticVariationAutomaticCalculation MagneticVariationConst = 3
	MagneticVariationWMM2000              MagneticVariationConst = 4
	MagneticVariationWMM2005              MagneticVariationConst = 5
	MagneticVariationWMM2010              MagneticVariationConst = 6
	MagneticVariationWMM2015              MagneticVariationConst = 7
	MagneticVariationWMM2020              MagneticVariationConst = 8
	MagneticVariationWMM2025              MagneticVariationConst = 9
)

func (MagneticVariationConst) GoString

func (e MagneticVariationConst) GoString() string

func (MagneticVariationConst) String

func (e MagneticVariationConst) String() string

type ManOverboardNotification

type ManOverboardNotification struct {
	Info                       MessageInfo `json:"info"`
	Sid                        *uint64     `json:"sid,omitempty" n2k:"1"`
	MobEmitterId               *uint64     `json:"mobEmitterId,omitempty" n2k:"2"`
	ManOverboardStatus         *uint64     `json:"manOverboardStatus,omitempty" n2k:"3"`
	ActivationTime             *uint64     `json:"activationTime,omitempty" n2k:"5"`
	PositionSource             *uint64     `json:"positionSource,omitempty" n2k:"6"`
	PositionDate               *uint64     `json:"positionDate,omitempty" n2k:"8"`
	PositionTime               *uint64     `json:"positionTime,omitempty" n2k:"9"`
	Latitude                   *int64      `json:"latitude,omitempty" n2k:"10"`
	Longitude                  *int64      `json:"longitude,omitempty" n2k:"11"`
	CogReference               *uint64     `json:"cogReference,omitempty" n2k:"12"`
	Cog                        *uint64     `json:"cog,omitempty" n2k:"14"`
	Sog                        *uint64     `json:"sog,omitempty" n2k:"15"`
	MmsiOfVesselOfOrigin       *uint64     `json:"mmsiOfVesselOfOrigin,omitempty" n2k:"16"`
	MobEmitterBatteryLowStatus *uint64     `json:"mobEmitterBatteryLowStatus,omitempty" n2k:"17"`
}

func (*ManOverboardNotification) ActivationTimeValue

func (m *ManOverboardNotification) ActivationTimeValue() (float64, bool)

ActivationTimeValue returns ActivationTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ManOverboardNotification) Clone added in v1.3.0

func (m *ManOverboardNotification) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ManOverboardNotification) CogValue

func (m *ManOverboardNotification) CogValue() (float64, bool)

CogValue returns Cog as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ManOverboardNotification) DecodePayload

func (m *ManOverboardNotification) DecodePayload(payload []uint8) error

func (*ManOverboardNotification) EncodePayload

func (m *ManOverboardNotification) EncodePayload() ([]uint8, error)

func (*ManOverboardNotification) LatitudeValue

func (m *ManOverboardNotification) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ManOverboardNotification) LongitudeValue

func (m *ManOverboardNotification) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ManOverboardNotification) MessageInfo

func (m *ManOverboardNotification) MessageInfo() MessageInfo

func (*ManOverboardNotification) PGNNumber

func (m *ManOverboardNotification) PGNNumber() uint32

func (*ManOverboardNotification) PositionDateValue

func (m *ManOverboardNotification) PositionDateValue() (float64, bool)

PositionDateValue returns PositionDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ManOverboardNotification) PositionTimeValue

func (m *ManOverboardNotification) PositionTimeValue() (float64, bool)

PositionTimeValue returns PositionTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ManOverboardNotification) SetActivationTimeValue

func (m *ManOverboardNotification) SetActivationTimeValue(v float64)

SetActivationTimeValue sets ActivationTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*ManOverboardNotification) SetCogValue

func (m *ManOverboardNotification) SetCogValue(v float64)

SetCogValue sets Cog from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*ManOverboardNotification) SetLatitudeValue

func (m *ManOverboardNotification) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*ManOverboardNotification) SetLongitudeValue

func (m *ManOverboardNotification) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*ManOverboardNotification) SetMessageInfo

func (m *ManOverboardNotification) SetMessageInfo(info MessageInfo)

func (*ManOverboardNotification) SetPositionDateValue

func (m *ManOverboardNotification) SetPositionDateValue(v float64)

SetPositionDateValue sets PositionDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*ManOverboardNotification) SetPositionTimeValue

func (m *ManOverboardNotification) SetPositionTimeValue(v float64)

SetPositionTimeValue sets PositionTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*ManOverboardNotification) SetSogValue

func (m *ManOverboardNotification) SetSogValue(v float64)

SetSogValue sets Sog from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*ManOverboardNotification) SogValue

func (m *ManOverboardNotification) SogValue() (float64, bool)

SogValue returns Sog as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type ManufacturerCodeConst

type ManufacturerCodeConst uint16
const (
	ManufacturerCodeARKSEnterprisesInc                           ManufacturerCodeConst = 69
	ManufacturerCodeFWMurphyEnovationControls                    ManufacturerCodeConst = 78
	ManufacturerCodeTwinDisc                                     ManufacturerCodeConst = 80
	ManufacturerCodeKohlerPowerSystems                           ManufacturerCodeConst = 85
	ManufacturerCodeHemisphereGPSInc                             ManufacturerCodeConst = 88
	ManufacturerCodeBEPMarine                                    ManufacturerCodeConst = 116
	ManufacturerCodeAirmar                                       ManufacturerCodeConst = 135
	ManufacturerCodeMaretron                                     ManufacturerCodeConst = 137
	ManufacturerCodeLowrance                                     ManufacturerCodeConst = 140
	ManufacturerCodeMercuryMarine                                ManufacturerCodeConst = 144
	ManufacturerCodeNautibusElectronicGmbH                       ManufacturerCodeConst = 147
	ManufacturerCodeBlueWaterData                                ManufacturerCodeConst = 148
	ManufacturerCodeWesterbeke                                   ManufacturerCodeConst = 154
	ManufacturerCodeISSPROInc                                    ManufacturerCodeConst = 157
	ManufacturerCodeOffshoreSystemsUKLtd                         ManufacturerCodeConst = 161
	ManufacturerCodeEvinrudeBRP                                  ManufacturerCodeConst = 163
	ManufacturerCodeCPACSystemsAB                                ManufacturerCodeConst = 165
	ManufacturerCodeXantrexTechnologyInc                         ManufacturerCodeConst = 168
	ManufacturerCodeMarlinTechnologiesInc                        ManufacturerCodeConst = 169
	ManufacturerCodeYanmarMarine                                 ManufacturerCodeConst = 172
	ManufacturerCodeVolvoPenta                                   ManufacturerCodeConst = 174
	ManufacturerCodeHondaMarine                                  ManufacturerCodeConst = 175
	ManufacturerCodeCarlingTechnologiesIncMoritzAerospace        ManufacturerCodeConst = 176
	ManufacturerCodeBeedeInstruments                             ManufacturerCodeConst = 185
	ManufacturerCodeFloscanInstrumentCoInc                       ManufacturerCodeConst = 192
	ManufacturerCodeNobletec                                     ManufacturerCodeConst = 193
	ManufacturerCodeMysticValleyCommunications                   ManufacturerCodeConst = 198
	ManufacturerCodeActia                                        ManufacturerCodeConst = 199
	ManufacturerCodeHondaMarine2                                 ManufacturerCodeConst = 200
	ManufacturerCodeDisenosYTechnologia                          ManufacturerCodeConst = 201
	ManufacturerCodeDigitalSwitchingSystems                      ManufacturerCodeConst = 211
	ManufacturerCodeXintexAtena                                  ManufacturerCodeConst = 215
	ManufacturerCodeEMMINETWORKSL                                ManufacturerCodeConst = 224
	ManufacturerCodeHondaMarine3                                 ManufacturerCodeConst = 225
	ManufacturerCodeZF                                           ManufacturerCodeConst = 228
	ManufacturerCodeGarmin                                       ManufacturerCodeConst = 229
	ManufacturerCodeYachtMonitoringSolutions                     ManufacturerCodeConst = 233
	ManufacturerCodeSailormadeMarineTelemetryTetraTechnologyLTD  ManufacturerCodeConst = 235
	ManufacturerCodeEride                                        ManufacturerCodeConst = 243
	ManufacturerCodeHondaMarine4                                 ManufacturerCodeConst = 250
	ManufacturerCodeHondaMotorCompanyLTD                         ManufacturerCodeConst = 257
	ManufacturerCodeGroco                                        ManufacturerCodeConst = 272
	ManufacturerCodeActisense                                    ManufacturerCodeConst = 273
	ManufacturerCodeAmphenolLTWTechnology                        ManufacturerCodeConst = 274
	ManufacturerCodeNavico                                       ManufacturerCodeConst = 275
	ManufacturerCodeHamiltonJet                                  ManufacturerCodeConst = 283
	ManufacturerCodeSeaRecovery                                  ManufacturerCodeConst = 285
	ManufacturerCodeCoelmoSRLItaly                               ManufacturerCodeConst = 286
	ManufacturerCodeBEPMarine2                                   ManufacturerCodeConst = 295
	ManufacturerCodeEmpirBus                                     ManufacturerCodeConst = 304
	ManufacturerCodeNovAtel                                      ManufacturerCodeConst = 305
	ManufacturerCodeSleipnerMotorAS                              ManufacturerCodeConst = 306
	ManufacturerCodeMBWTechnologies                              ManufacturerCodeConst = 307
	ManufacturerCodeFischerPanda                                 ManufacturerCodeConst = 311
	ManufacturerCodeICOM                                         ManufacturerCodeConst = 315
	ManufacturerCodeQwerty                                       ManufacturerCodeConst = 328
	ManufacturerCodeDief                                         ManufacturerCodeConst = 329
	ManufacturerCodeBoeningAutomationstechnologieGmbHCoKG        ManufacturerCodeConst = 341
	ManufacturerCodeKoreanMaritimeUniversity                     ManufacturerCodeConst = 345
	ManufacturerCodeThraneAndThrane                              ManufacturerCodeConst = 351
	ManufacturerCodeMastervolt                                   ManufacturerCodeConst = 355
	ManufacturerCodeFischerPandaGenerators                       ManufacturerCodeConst = 356
	ManufacturerCodeVictronEnergy                                ManufacturerCodeConst = 358
	ManufacturerCodeRollsRoyceMarine                             ManufacturerCodeConst = 370
	ManufacturerCodeElectronicDesign                             ManufacturerCodeConst = 373
	ManufacturerCodeNorthernLights                               ManufacturerCodeConst = 374
	ManufacturerCodeGlendinning                                  ManufacturerCodeConst = 378
	ManufacturerCodeBG                                           ManufacturerCodeConst = 381
	ManufacturerCodeRosePointNavigationSystems                   ManufacturerCodeConst = 384
	ManufacturerCodeJohnsonOutdoorsMarineElectronicsIncGeonav    ManufacturerCodeConst = 385
	ManufacturerCodeCapi2                                        ManufacturerCodeConst = 394
	ManufacturerCodeBeyondMeasure                                ManufacturerCodeConst = 396
	ManufacturerCodeLivorsiMarine                                ManufacturerCodeConst = 400
	ManufacturerCodeComNav                                       ManufacturerCodeConst = 404
	ManufacturerCodeChetco                                       ManufacturerCodeConst = 409
	ManufacturerCodeFusionElectronics                            ManufacturerCodeConst = 419
	ManufacturerCodeStandardHorizon                              ManufacturerCodeConst = 421
	ManufacturerCodeTrueHeadingAB                                ManufacturerCodeConst = 422
	ManufacturerCodeEgersundMarineElectronicsAS                  ManufacturerCodeConst = 426
	ManufacturerCodeEmTrakMarineElectronics                      ManufacturerCodeConst = 427
	ManufacturerCodeTohatsuCoJP                                  ManufacturerCodeConst = 431
	ManufacturerCodeDigitalYacht                                 ManufacturerCodeConst = 437
	ManufacturerCodeComarSystemsLimited                          ManufacturerCodeConst = 438
	ManufacturerCodeCummins                                      ManufacturerCodeConst = 440
	ManufacturerCodeVDOAkaContinentalCorporation                 ManufacturerCodeConst = 443
	ManufacturerCodeParkerHannifinAkaVillageMarineTech           ManufacturerCodeConst = 451
	ManufacturerCodeAlltekMarineElectronicsCorp                  ManufacturerCodeConst = 459
	ManufacturerCodeSANGIORGIOSEIN                               ManufacturerCodeConst = 460
	ManufacturerCodeVeethreeElectronicsMarine                    ManufacturerCodeConst = 466
	ManufacturerCodeHumminbirdMarineElectronics                  ManufacturerCodeConst = 467
	ManufacturerCodeSITEXMarineElectronics                       ManufacturerCodeConst = 470
	ManufacturerCodeSeaCrossMarineAB                             ManufacturerCodeConst = 471
	ManufacturerCodeGMEAkaStandardCommunicationsPtyLTD           ManufacturerCodeConst = 475
	ManufacturerCodeHumminbirdMarineElectronics2                 ManufacturerCodeConst = 476
	ManufacturerCodeOceanSatBV                                   ManufacturerCodeConst = 478
	ManufacturerCodeChetcoDigitialInstruments                    ManufacturerCodeConst = 481
	ManufacturerCodeWatcheye                                     ManufacturerCodeConst = 493
	ManufacturerCodeLcjCapteurs                                  ManufacturerCodeConst = 499
	ManufacturerCodeAttwoodMarine                                ManufacturerCodeConst = 502
	ManufacturerCodeNaviopSRL                                    ManufacturerCodeConst = 503
	ManufacturerCodeVesperMarineLtd                              ManufacturerCodeConst = 504
	ManufacturerCodeMarinesoftCoLTD                              ManufacturerCodeConst = 510
	ManufacturerCodeSimarine                                     ManufacturerCodeConst = 513
	ManufacturerCodeNoLandEngineering                            ManufacturerCodeConst = 517
	ManufacturerCodeTransasUSA                                   ManufacturerCodeConst = 518
	ManufacturerCodeNationalInstrumentsKorea                     ManufacturerCodeConst = 529
	ManufacturerCodeNationalMarineElectronicsAssociation         ManufacturerCodeConst = 530
	ManufacturerCodeOnwaMarine                                   ManufacturerCodeConst = 532
	ManufacturerCodeWebasto                                      ManufacturerCodeConst = 540
	ManufacturerCodeMarinecraftSouthKorea                        ManufacturerCodeConst = 571
	ManufacturerCodeMcMurdoGroupAkaOroliaLTD                     ManufacturerCodeConst = 573
	ManufacturerCodeAdvansea                                     ManufacturerCodeConst = 578
	ManufacturerCodeKVH                                          ManufacturerCodeConst = 579
	ManufacturerCodeSanJoseTechnology                            ManufacturerCodeConst = 580
	ManufacturerCodeYachtControl                                 ManufacturerCodeConst = 583
	ManufacturerCodeSuzukiMotorCorporation                       ManufacturerCodeConst = 586
	ManufacturerCodeUSCoastGuard                                 ManufacturerCodeConst = 591
	ManufacturerCodeShipModuleAkaCustomware                      ManufacturerCodeConst = 595
	ManufacturerCodeAquaticAV                                    ManufacturerCodeConst = 600
	ManufacturerCodeAventicsGmbH                                 ManufacturerCodeConst = 605
	ManufacturerCodeIntellian                                    ManufacturerCodeConst = 606
	ManufacturerCodeSamwonIT                                     ManufacturerCodeConst = 612
	ManufacturerCodeArltTecnologies                              ManufacturerCodeConst = 614
	ManufacturerCodeBavariaYacts                                 ManufacturerCodeConst = 637
	ManufacturerCodeDiverseYachtServices                         ManufacturerCodeConst = 641
	ManufacturerCodeWemaUSADbaKUS                                ManufacturerCodeConst = 644
	ManufacturerCodeGarmin2                                      ManufacturerCodeConst = 645
	ManufacturerCodeShenzhenJiuzhouHimunication                  ManufacturerCodeConst = 658
	ManufacturerCodeRockfordCorp                                 ManufacturerCodeConst = 688
	ManufacturerCodeHarmanInternational                          ManufacturerCodeConst = 699
	ManufacturerCodeJLAudio                                      ManufacturerCodeConst = 704
	ManufacturerCodeLarsThrane                                   ManufacturerCodeConst = 708
	ManufacturerCodeAutonnic                                     ManufacturerCodeConst = 715
	ManufacturerCodeYachtDevices                                 ManufacturerCodeConst = 717
	ManufacturerCodeREAPSystems                                  ManufacturerCodeConst = 734
	ManufacturerCodeAuElectronicsGroup                           ManufacturerCodeConst = 735
	ManufacturerCodeLxNav                                        ManufacturerCodeConst = 739
	ManufacturerCodeLittelfuseIncFormerlyCarlingTechnologies     ManufacturerCodeConst = 741
	ManufacturerCodeDaeMyung                                     ManufacturerCodeConst = 743
	ManufacturerCodeWoosung                                      ManufacturerCodeConst = 744
	ManufacturerCodeISOTTAIFRASrl                                ManufacturerCodeConst = 748
	ManufacturerCodeClarionUS                                    ManufacturerCodeConst = 773
	ManufacturerCodeHMISystems                                   ManufacturerCodeConst = 776
	ManufacturerCodeOceanSignal                                  ManufacturerCodeConst = 777
	ManufacturerCodeSeekeeper                                    ManufacturerCodeConst = 778
	ManufacturerCodePolyPlanar                                   ManufacturerCodeConst = 781
	ManufacturerCodeFischerPandaDE                               ManufacturerCodeConst = 785
	ManufacturerCodeBroydaIndustries                             ManufacturerCodeConst = 795
	ManufacturerCodeCanadianAutomotive                           ManufacturerCodeConst = 796
	ManufacturerCodeTidesMarine                                  ManufacturerCodeConst = 797
	ManufacturerCodeLumishore                                    ManufacturerCodeConst = 798
	ManufacturerCodeStillWaterDesignsAndAudio                    ManufacturerCodeConst = 799
	ManufacturerCodeBJTechnologiesBeneteau                       ManufacturerCodeConst = 802
	ManufacturerCodeGillSensors                                  ManufacturerCodeConst = 803
	ManufacturerCodeBlueWaterDesalination                        ManufacturerCodeConst = 811
	ManufacturerCodeFLIR                                         ManufacturerCodeConst = 815
	ManufacturerCodeUndheimSystems                               ManufacturerCodeConst = 824
	ManufacturerCodeLewmarInc                                    ManufacturerCodeConst = 826
	ManufacturerCodeTeamSurv                                     ManufacturerCodeConst = 838
	ManufacturerCodeFellMarine                                   ManufacturerCodeConst = 844
	ManufacturerCodeOceanvolt                                    ManufacturerCodeConst = 847
	ManufacturerCodeProspec                                      ManufacturerCodeConst = 862
	ManufacturerCodeDataPanelCorp                                ManufacturerCodeConst = 868
	ManufacturerCodeL3Technologies                               ManufacturerCodeConst = 890
	ManufacturerCodeRhodanMarineSystems                          ManufacturerCodeConst = 894
	ManufacturerCodeNexfourSolutions                             ManufacturerCodeConst = 896
	ManufacturerCodeASAElectronics                               ManufacturerCodeConst = 905
	ManufacturerCodeMarinesCoSouthKorea                          ManufacturerCodeConst = 909
	ManufacturerCodeNauticOn                                     ManufacturerCodeConst = 911
	ManufacturerCodeSentinel                                     ManufacturerCodeConst = 917
	ManufacturerCodeJLMarineYstems                               ManufacturerCodeConst = 929
	ManufacturerCodeEcotronix                                    ManufacturerCodeConst = 930
	ManufacturerCodeZontisaMarine                                ManufacturerCodeConst = 944
	ManufacturerCodeEXORInternational                            ManufacturerCodeConst = 951
	ManufacturerCodeTimbolierIndustries                          ManufacturerCodeConst = 962
	ManufacturerCodeTJCMicro                                     ManufacturerCodeConst = 963
	ManufacturerCodeCoxPowertrain                                ManufacturerCodeConst = 968
	ManufacturerCodeBlueSeas                                     ManufacturerCodeConst = 969
	ManufacturerCodeKobeltManufacturingCoLtd                     ManufacturerCodeConst = 981
	ManufacturerCodeBlueOceanIOT                                 ManufacturerCodeConst = 992
	ManufacturerCodeXentaSystems                                 ManufacturerCodeConst = 997
	ManufacturerCodeSignalK                                      ManufacturerCodeConst = 999
	ManufacturerCodeUltraflexSpA                                 ManufacturerCodeConst = 1004
	ManufacturerCodeLintestSmartBoat                             ManufacturerCodeConst = 1008
	ManufacturerCodeSoundmax                                     ManufacturerCodeConst = 1011
	ManufacturerCodeTeamItaliaMarineOnyxMarineAutomationSRL      ManufacturerCodeConst = 1020
	ManufacturerCodeEntratech                                    ManufacturerCodeConst = 1021
	ManufacturerCodeITCInc                                       ManufacturerCodeConst = 1022
	ManufacturerCodeTheMarineGuardianLLC                         ManufacturerCodeConst = 1029
	ManufacturerCodeSonicCorporation                             ManufacturerCodeConst = 1047
	ManufacturerCodeProNav                                       ManufacturerCodeConst = 1051
	ManufacturerCodeVetusMaxwellINC                              ManufacturerCodeConst = 1053
	ManufacturerCodeLithiumPros                                  ManufacturerCodeConst = 1056
	ManufacturerCodeBoatrax                                      ManufacturerCodeConst = 1059
	ManufacturerCodeMarolCoLtd                                   ManufacturerCodeConst = 1062
	ManufacturerCodeCALYPSOInstruments                           ManufacturerCodeConst = 1065
	ManufacturerCodeSpotZeroWater                                ManufacturerCodeConst = 1066
	ManufacturerCodeLithionicsBatteryLLC                         ManufacturerCodeConst = 1069
	ManufacturerCodeQuickTeckElectronicsLtd                      ManufacturerCodeConst = 1070
	ManufacturerCodeUnidenAmerica                                ManufacturerCodeConst = 1075
	ManufacturerCodeNauticoncept                                 ManufacturerCodeConst = 1083
	ManufacturerCodeShadowCasterLEDLightingLLC                   ManufacturerCodeConst = 1084
	ManufacturerCodeWetSoundsLLC                                 ManufacturerCodeConst = 1085
	ManufacturerCodeETACircuitBreakers                           ManufacturerCodeConst = 1088
	ManufacturerCodeScheiber                                     ManufacturerCodeConst = 1092
	ManufacturerCodeSmartYachtsInternationalLimited              ManufacturerCodeConst = 1100
	ManufacturerCodeDockmate                                     ManufacturerCodeConst = 1109
	ManufacturerCodeBobsMachine                                  ManufacturerCodeConst = 1114
	ManufacturerCodeL3HarrisASV                                  ManufacturerCodeConst = 1118
	ManufacturerCodeBalmarLLC                                    ManufacturerCodeConst = 1119
	ManufacturerCodeElettromediaSpa                              ManufacturerCodeConst = 1120
	ManufacturerCodeElectromaax                                  ManufacturerCodeConst = 1127
	ManufacturerCodeAcrossOceansSystemsLtd                       ManufacturerCodeConst = 1140
	ManufacturerCodeKiwiYachting                                 ManufacturerCodeConst = 1145
	ManufacturerCodeBSBArtificialIntelligenceGmbH                ManufacturerCodeConst = 1150
	ManufacturerCodeOrcaTechnologoesAS                           ManufacturerCodeConst = 1151
	ManufacturerCodeTBSElectronicsBV                             ManufacturerCodeConst = 1154
	ManufacturerCodeTechnotonElectroics                          ManufacturerCodeConst = 1158
	ManufacturerCodeMGEnergySystemsBV                            ManufacturerCodeConst = 1160
	ManufacturerCodeSeaMacineRoboticsInc                         ManufacturerCodeConst = 1169
	ManufacturerCodeVistaManufacturing                           ManufacturerCodeConst = 1171
	ManufacturerCodeZipwake                                      ManufacturerCodeConst = 1183
	ManufacturerCodeSailmonBV                                    ManufacturerCodeConst = 1186
	ManufacturerCodeAirmoniqProKft                               ManufacturerCodeConst = 1192
	ManufacturerCodeSierraMarine                                 ManufacturerCodeConst = 1194
	ManufacturerCodeXinuoInformationTechnologyXiamen             ManufacturerCodeConst = 1200
	ManufacturerCodeSeptentrio                                   ManufacturerCodeConst = 1218
	ManufacturerCodeNKEMarineElecronics                          ManufacturerCodeConst = 1233
	ManufacturerCodeSuperTrackAps                                ManufacturerCodeConst = 1238
	ManufacturerCodeHondaElectronicsCoLTD                        ManufacturerCodeConst = 1239
	ManufacturerCodeRaritanEngineeringCompanyInc                 ManufacturerCodeConst = 1245
	ManufacturerCodeIntegratedPowerSolutionsAG                   ManufacturerCodeConst = 1249
	ManufacturerCodeInteractiveTechnologiesInc                   ManufacturerCodeConst = 1260
	ManufacturerCodeLTGTech                                      ManufacturerCodeConst = 1283
	ManufacturerCodeEnergySolutionsUKLTD                         ManufacturerCodeConst = 1299
	ManufacturerCodeWATTFuelCellCorp                             ManufacturerCodeConst = 1300
	ManufacturerCodeProMainer                                    ManufacturerCodeConst = 1302
	ManufacturerCodeDragonflyEnergy                              ManufacturerCodeConst = 1305
	ManufacturerCodeKodenElectronicsCoLtd                        ManufacturerCodeConst = 1306
	ManufacturerCodeHumphreeAB                                   ManufacturerCodeConst = 1311
	ManufacturerCodeHinkleyYachts                                ManufacturerCodeConst = 1316
	ManufacturerCodeGlobalMarineManagementGmbHGMM                ManufacturerCodeConst = 1317
	ManufacturerCodeTriskelMarineLtd                             ManufacturerCodeConst = 1320
	ManufacturerCodeWarwickControlTechnologies                   ManufacturerCodeConst = 1330
	ManufacturerCodeDolphinCharger                               ManufacturerCodeConst = 1331
	ManufacturerCodeBarnacleSystemsInc                           ManufacturerCodeConst = 1337
	ManufacturerCodeRadianIoTInc                                 ManufacturerCodeConst = 1348
	ManufacturerCodeOceanLEDMarineLtd                            ManufacturerCodeConst = 1353
	ManufacturerCodeBluNav                                       ManufacturerCodeConst = 1359
	ManufacturerCodeOVANantongSaiyangElectronicsCoLtd            ManufacturerCodeConst = 1361
	ManufacturerCodeRADPropulsion                                ManufacturerCodeConst = 1368
	ManufacturerCodeElectricYacht                                ManufacturerCodeConst = 1369
	ManufacturerCodeElcoMotorYachts                              ManufacturerCodeConst = 1372
	ManufacturerCodeTecnosealFoundrySRL                          ManufacturerCodeConst = 1384
	ManufacturerCodeProChargingSystemsLLC                        ManufacturerCodeConst = 1385
	ManufacturerCodeEVEXCoLTD                                    ManufacturerCodeConst = 1389
	ManufacturerCodeGobiusSensorTechnologyAB                     ManufacturerCodeConst = 1398
	ManufacturerCodeArcoMarine                                   ManufacturerCodeConst = 1403
	ManufacturerCodeLencoMarineInc                               ManufacturerCodeConst = 1408
	ManufacturerCodeNaocontrolSL                                 ManufacturerCodeConst = 1413
	ManufacturerCodeRevatek                                      ManufacturerCodeConst = 1417
	ManufacturerCodeAeolionics                                   ManufacturerCodeConst = 1438
	ManufacturerCodePredictWindLtd                               ManufacturerCodeConst = 1439
	ManufacturerCodeEgisMobileElectric                           ManufacturerCodeConst = 1440
	ManufacturerCodeStarboardYachtGroup                          ManufacturerCodeConst = 1445
	ManufacturerCodeRoswellMarine                                ManufacturerCodeConst = 1446
	ManufacturerCodeEPropulsionGuangdongEPropulsionTechnologyLtd ManufacturerCodeConst = 1451
	ManufacturerCodeMicroAirLLC                                  ManufacturerCodeConst = 1452
	ManufacturerCodeVitalBattery                                 ManufacturerCodeConst = 1453
	ManufacturerCodeRideControllerLLC                            ManufacturerCodeConst = 1458
	ManufacturerCodeTocaroBlue                                   ManufacturerCodeConst = 1460
	ManufacturerCodeVanquishYachts                               ManufacturerCodeConst = 1461
	ManufacturerCodeFTTechnologies                               ManufacturerCodeConst = 1471
	ManufacturerCodeAlpsAlpineCoLtd                              ManufacturerCodeConst = 1478
	ManufacturerCodeEForceMarine                                 ManufacturerCodeConst = 1481
	ManufacturerCodeCMCMarine                                    ManufacturerCodeConst = 1482
	ManufacturerCodeNanjingSandemarineInformationTechnologyCoLtd ManufacturerCodeConst = 1483
	ManufacturerCodeTeleflexMarineSeaStarSolutions               ManufacturerCodeConst = 1850
	ManufacturerCodeRaymarine                                    ManufacturerCodeConst = 1851
	ManufacturerCodeNavionics                                    ManufacturerCodeConst = 1852
	ManufacturerCodeJapanRadioCo                                 ManufacturerCodeConst = 1853
	ManufacturerCodeNorthstarTechnologies                        ManufacturerCodeConst = 1854
	ManufacturerCodeFuruno                                       ManufacturerCodeConst = 1855
	ManufacturerCodeTrimble                                      ManufacturerCodeConst = 1856
	ManufacturerCodeSimrad                                       ManufacturerCodeConst = 1857
	ManufacturerCodeLitton                                       ManufacturerCodeConst = 1858
	ManufacturerCodeKvasarAB                                     ManufacturerCodeConst = 1859
	ManufacturerCodeMMP                                          ManufacturerCodeConst = 1860
	ManufacturerCodeVectorCantech                                ManufacturerCodeConst = 1861
	ManufacturerCodeYamahaMarine                                 ManufacturerCodeConst = 1862
	ManufacturerCodeFariaInstruments                             ManufacturerCodeConst = 1863
)

func (ManufacturerCodeConst) GoString

func (e ManufacturerCodeConst) GoString() string

func (ManufacturerCodeConst) String

func (e ManufacturerCodeConst) String() string

type Maretron010V

type Maretron010V struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"4"`
	DataInstance     *uint64     `json:"dataInstance,omitempty" n2k:"5"`
	Pgn010VData      *uint64     `json:"010VData,omitempty" n2k:"6"`
}

func (*Maretron010V) Clone added in v1.3.0

func (m *Maretron010V) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Maretron010V) DecodePayload

func (m *Maretron010V) DecodePayload(payload []uint8) error

func (*Maretron010V) EncodePayload

func (m *Maretron010V) EncodePayload() ([]uint8, error)

func (*Maretron010V) MessageInfo

func (m *Maretron010V) MessageInfo() MessageInfo

func (*Maretron010V) PGNNumber

func (m *Maretron010V) PGNNumber() uint32

func (*Maretron010V) Pgn010VDataValue

func (m *Maretron010V) Pgn010VDataValue() (float64, bool)

Pgn010VDataValue returns Pgn010VData as a physical value (value = raw * 0.000244141). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Maretron010V) SetMessageInfo

func (m *Maretron010V) SetMessageInfo(info MessageInfo)

func (*Maretron010V) SetPgn010VDataValue

func (m *Maretron010V) SetPgn010VDataValue(v float64)

SetPgn010VDataValue sets Pgn010VData from a physical value, rounded to the nearest wire tick of 0.000244141.

type Maretron420Ma

type Maretron420Ma struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"4"`
	DataInstance     *uint64     `json:"dataInstance,omitempty" n2k:"5"`
	Pgn420MaData     *uint64     `json:"420MaData,omitempty" n2k:"6"`
}

func (*Maretron420Ma) Clone added in v1.3.0

func (m *Maretron420Ma) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Maretron420Ma) DecodePayload

func (m *Maretron420Ma) DecodePayload(payload []uint8) error

func (*Maretron420Ma) EncodePayload

func (m *Maretron420Ma) EncodePayload() ([]uint8, error)

func (*Maretron420Ma) MessageInfo

func (m *Maretron420Ma) MessageInfo() MessageInfo

func (*Maretron420Ma) PGNNumber

func (m *Maretron420Ma) PGNNumber() uint32

func (*Maretron420Ma) SetMessageInfo

func (m *Maretron420Ma) SetMessageInfo(info MessageInfo)

type MaretronAlertControl

type MaretronAlertControl struct {
	Info                    MessageInfo `json:"info"`
	ManufacturerCode        *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode            *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AlertType               *uint64     `json:"alertType,omitempty" n2k:"4"`
	AlertCategory           *uint64     `json:"alertCategory,omitempty" n2k:"5"`
	AlertSystem             *uint64     `json:"alertSystem,omitempty" n2k:"6"`
	AlertSubSystem          *uint64     `json:"alertSubSystem,omitempty" n2k:"7"`
	AlertId                 *uint64     `json:"alertId,omitempty" n2k:"8"`
	DataSourceNetworkIdName *uint64     `json:"dataSourceNetworkIdName,omitempty" n2k:"9"`
	DataSourceInstance      *uint64     `json:"dataSourceInstance,omitempty" n2k:"10"`
	DataSourceIndexSource   *uint64     `json:"dataSourceIndexSource,omitempty" n2k:"11"`
	AlertOccurrenceNumber   *uint64     `json:"alertOccurrenceNumber,omitempty" n2k:"12"`
	MaretronExtension       []uint8     `json:"maretronExtension,omitempty" n2k:"13"`
}

func (*MaretronAlertControl) Clone added in v1.3.0

func (m *MaretronAlertControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronAlertControl) DecodePayload

func (m *MaretronAlertControl) DecodePayload(payload []uint8) error

func (*MaretronAlertControl) EncodePayload

func (m *MaretronAlertControl) EncodePayload() ([]uint8, error)

func (*MaretronAlertControl) MessageInfo

func (m *MaretronAlertControl) MessageInfo() MessageInfo

func (*MaretronAlertControl) PGNNumber

func (m *MaretronAlertControl) PGNNumber() uint32

func (*MaretronAlertControl) SetMessageInfo

func (m *MaretronAlertControl) SetMessageInfo(info MessageInfo)

type MaretronAlertResponse

type MaretronAlertResponse struct {
	Info                           MessageInfo `json:"info"`
	ManufacturerCode               *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode                   *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AlertType                      *uint64     `json:"alertType,omitempty" n2k:"4"`
	AlertCategory                  *uint64     `json:"alertCategory,omitempty" n2k:"5"`
	AlertSystem                    *uint64     `json:"alertSystem,omitempty" n2k:"6"`
	AlertSubSystem                 *uint64     `json:"alertSubSystem,omitempty" n2k:"7"`
	AlertId                        *uint64     `json:"alertId,omitempty" n2k:"8"`
	DataSourceNetworkIdName        *uint64     `json:"dataSourceNetworkIdName,omitempty" n2k:"9"`
	DataSourceInstance             *uint64     `json:"dataSourceInstance,omitempty" n2k:"10"`
	DataSourceIndexSource          *uint64     `json:"dataSourceIndexSource,omitempty" n2k:"11"`
	AlertOccurrenceNumber          *uint64     `json:"alertOccurrenceNumber,omitempty" n2k:"12"`
	AcknowledgeSourceNetworkIdName *uint64     `json:"acknowledgeSourceNetworkIdName,omitempty" n2k:"13"`
	ResponseCommand                *uint64     `json:"responseCommand,omitempty" n2k:"14"`
}

func (*MaretronAlertResponse) Clone added in v1.3.0

func (m *MaretronAlertResponse) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronAlertResponse) DecodePayload

func (m *MaretronAlertResponse) DecodePayload(payload []uint8) error

func (*MaretronAlertResponse) EncodePayload

func (m *MaretronAlertResponse) EncodePayload() ([]uint8, error)

func (*MaretronAlertResponse) MessageInfo

func (m *MaretronAlertResponse) MessageInfo() MessageInfo

func (*MaretronAlertResponse) PGNNumber

func (m *MaretronAlertResponse) PGNNumber() uint32

func (*MaretronAlertResponse) SetMessageInfo

func (m *MaretronAlertResponse) SetMessageInfo(info MessageInfo)

type MaretronAlertText

type MaretronAlertText struct {
	Info                         MessageInfo `json:"info"`
	ManufacturerCode             *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode                 *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AlertType                    *uint64     `json:"alertType,omitempty" n2k:"4"`
	AlertCategory                *uint64     `json:"alertCategory,omitempty" n2k:"5"`
	AlertSystem                  *uint64     `json:"alertSystem,omitempty" n2k:"6"`
	AlertSubSystem               *uint64     `json:"alertSubSystem,omitempty" n2k:"7"`
	AlertId                      *uint64     `json:"alertId,omitempty" n2k:"8"`
	DataSourceNetworkIdName      *uint64     `json:"dataSourceNetworkIdName,omitempty" n2k:"9"`
	DataSourceInstance           *uint64     `json:"dataSourceInstance,omitempty" n2k:"10"`
	DataSourceIndexSource        *uint64     `json:"dataSourceIndexSource,omitempty" n2k:"11"`
	AlertOccurrenceNumber        *uint64     `json:"alertOccurrenceNumber,omitempty" n2k:"12"`
	LanguageId                   *uint64     `json:"languageId,omitempty" n2k:"13"`
	AlertTextDescription         string      `json:"alertTextDescription,omitempty" n2k:"14"`
	AlertLocationTextDescription string      `json:"alertLocationTextDescription,omitempty" n2k:"15"`
}

func (*MaretronAlertText) Clone added in v1.3.0

func (m *MaretronAlertText) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronAlertText) DecodePayload

func (m *MaretronAlertText) DecodePayload(payload []uint8) error

func (*MaretronAlertText) EncodePayload

func (m *MaretronAlertText) EncodePayload() ([]uint8, error)

func (*MaretronAlertText) MessageInfo

func (m *MaretronAlertText) MessageInfo() MessageInfo

func (*MaretronAlertText) PGNNumber

func (m *MaretronAlertText) PGNNumber() uint32

func (*MaretronAlertText) SetMessageInfo

func (m *MaretronAlertText) SetMessageInfo(info MessageInfo)

type MaretronAlertTransmission

type MaretronAlertTransmission struct {
	Info                    MessageInfo `json:"info"`
	ManufacturerCode        *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode            *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AlertType               *uint64     `json:"alertType,omitempty" n2k:"4"`
	AlertCategory           *uint64     `json:"alertCategory,omitempty" n2k:"5"`
	AlertSystem             *uint64     `json:"alertSystem,omitempty" n2k:"6"`
	AlertSubSystem          *uint64     `json:"alertSubSystem,omitempty" n2k:"7"`
	AlertId                 *uint64     `json:"alertId,omitempty" n2k:"8"`
	DataSourceNetworkIdName *uint64     `json:"dataSourceNetworkIdName,omitempty" n2k:"9"`
	DataSourceInstance      *uint64     `json:"dataSourceInstance,omitempty" n2k:"10"`
	DataSourceIndexSource   *uint64     `json:"dataSourceIndexSource,omitempty" n2k:"11"`
	AlertOccurrenceNumber   *uint64     `json:"alertOccurrenceNumber,omitempty" n2k:"12"`
	MaretronExtension       []uint8     `json:"maretronExtension,omitempty" n2k:"13"`
}

func (*MaretronAlertTransmission) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronAlertTransmission) DecodePayload

func (m *MaretronAlertTransmission) DecodePayload(payload []uint8) error

func (*MaretronAlertTransmission) EncodePayload

func (m *MaretronAlertTransmission) EncodePayload() ([]uint8, error)

func (*MaretronAlertTransmission) MessageInfo

func (m *MaretronAlertTransmission) MessageInfo() MessageInfo

func (*MaretronAlertTransmission) PGNNumber

func (m *MaretronAlertTransmission) PGNNumber() uint32

func (*MaretronAlertTransmission) SetMessageInfo

func (m *MaretronAlertTransmission) SetMessageInfo(info MessageInfo)

type MaretronAnnunciator

type MaretronAnnunciator struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Field4           *uint64     `json:"field4,omitempty" n2k:"4"`
	Field5           *uint64     `json:"field5,omitempty" n2k:"5"`
	Field6           *uint64     `json:"field6,omitempty" n2k:"6"`
	Field7           *uint64     `json:"field7,omitempty" n2k:"7"`
	Field8           *uint64     `json:"field8,omitempty" n2k:"8"`
}

func (*MaretronAnnunciator) Clone added in v1.3.0

func (m *MaretronAnnunciator) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronAnnunciator) DecodePayload

func (m *MaretronAnnunciator) DecodePayload(payload []uint8) error

func (*MaretronAnnunciator) EncodePayload

func (m *MaretronAnnunciator) EncodePayload() ([]uint8, error)

func (*MaretronAnnunciator) MessageInfo

func (m *MaretronAnnunciator) MessageInfo() MessageInfo

func (*MaretronAnnunciator) PGNNumber

func (m *MaretronAnnunciator) PGNNumber() uint32

func (*MaretronAnnunciator) SetMessageInfo

func (m *MaretronAnnunciator) SetMessageInfo(info MessageInfo)

type MaretronAnnunciatorCapabilities

type MaretronAnnunciatorCapabilities struct {
	Info                MessageInfo                                 `json:"info"`
	ManufacturerCode    *uint64                                     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode        *uint64                                     `json:"industryCode,omitempty" n2k:"3"`
	AnnunciatorInstance *uint64                                     `json:"annunciatorInstance,omitempty" n2k:"4"`
	NumberOfTones       *uint64                                     `json:"numberOfTones,omitempty" n2k:"5"`
	Repeating1          []MaretronAnnunciatorCapabilitiesRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*MaretronAnnunciatorCapabilities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronAnnunciatorCapabilities) DecodePayload

func (m *MaretronAnnunciatorCapabilities) DecodePayload(payload []uint8) error

func (*MaretronAnnunciatorCapabilities) EncodePayload

func (m *MaretronAnnunciatorCapabilities) EncodePayload() ([]uint8, error)

func (*MaretronAnnunciatorCapabilities) MessageInfo

func (*MaretronAnnunciatorCapabilities) PGNNumber

func (m *MaretronAnnunciatorCapabilities) PGNNumber() uint32

func (*MaretronAnnunciatorCapabilities) SetMessageInfo

func (m *MaretronAnnunciatorCapabilities) SetMessageInfo(info MessageInfo)

type MaretronAnnunciatorCapabilitiesRepeating1

type MaretronAnnunciatorCapabilitiesRepeating1 struct {
	Tone *uint64 `json:"tone,omitempty" n2k:"6"`
}

type MaretronAutomationFunctionMaster

type MaretronAutomationFunctionMaster struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MaretronAutomationFunctionMaster) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronAutomationFunctionMaster) DecodePayload

func (m *MaretronAutomationFunctionMaster) DecodePayload(payload []uint8) error

func (*MaretronAutomationFunctionMaster) EncodePayload

func (m *MaretronAutomationFunctionMaster) EncodePayload() ([]uint8, error)

func (*MaretronAutomationFunctionMaster) MessageInfo

func (*MaretronAutomationFunctionMaster) PGNNumber

func (*MaretronAutomationFunctionMaster) SetMessageInfo

func (m *MaretronAutomationFunctionMaster) SetMessageInfo(info MessageInfo)

type MaretronBatteryAmpHourRecord

type MaretronBatteryAmpHourRecord struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MaretronBatteryAmpHourRecord) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronBatteryAmpHourRecord) DecodePayload

func (m *MaretronBatteryAmpHourRecord) DecodePayload(payload []uint8) error

func (*MaretronBatteryAmpHourRecord) EncodePayload

func (m *MaretronBatteryAmpHourRecord) EncodePayload() ([]uint8, error)

func (*MaretronBatteryAmpHourRecord) MessageInfo

func (m *MaretronBatteryAmpHourRecord) MessageInfo() MessageInfo

func (*MaretronBatteryAmpHourRecord) PGNNumber

func (m *MaretronBatteryAmpHourRecord) PGNNumber() uint32

func (*MaretronBatteryAmpHourRecord) SetMessageInfo

func (m *MaretronBatteryAmpHourRecord) SetMessageInfo(info MessageInfo)

type MaretronBnwas

type MaretronBnwas struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MaretronBnwas) Clone added in v1.3.0

func (m *MaretronBnwas) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronBnwas) DecodePayload

func (m *MaretronBnwas) DecodePayload(payload []uint8) error

func (*MaretronBnwas) EncodePayload

func (m *MaretronBnwas) EncodePayload() ([]uint8, error)

func (*MaretronBnwas) MessageInfo

func (m *MaretronBnwas) MessageInfo() MessageInfo

func (*MaretronBnwas) PGNNumber

func (m *MaretronBnwas) PGNNumber() uint32

func (*MaretronBnwas) SetMessageInfo

func (m *MaretronBnwas) SetMessageInfo(info MessageInfo)

type MaretronCanFrameForwarding

type MaretronCanFrameForwarding struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MaretronCanFrameForwarding) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronCanFrameForwarding) DecodePayload

func (m *MaretronCanFrameForwarding) DecodePayload(payload []uint8) error

func (*MaretronCanFrameForwarding) EncodePayload

func (m *MaretronCanFrameForwarding) EncodePayload() ([]uint8, error)

func (*MaretronCanFrameForwarding) MessageInfo

func (m *MaretronCanFrameForwarding) MessageInfo() MessageInfo

func (*MaretronCanFrameForwarding) PGNNumber

func (m *MaretronCanFrameForwarding) PGNNumber() uint32

func (*MaretronCanFrameForwarding) SetMessageInfo

func (m *MaretronCanFrameForwarding) SetMessageInfo(info MessageInfo)

type MaretronCommandConst added in v1.3.0

type MaretronCommandConst uint8
const (
	MaretronCommandDeviationCalibration MaretronCommandConst = 80
)

func (MaretronCommandConst) GoString added in v1.3.0

func (e MaretronCommandConst) GoString() string

func (MaretronCommandConst) String added in v1.3.0

func (e MaretronCommandConst) String() string

type MaretronDataInstanceChannelCorrelation

type MaretronDataInstanceChannelCorrelation struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Pgn              *uint64     `json:"pgn,omitempty" n2k:"4"`
	HardwareChannel  *uint64     `json:"hardwareChannel,omitempty" n2k:"5"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"6"`
	DataSource       *uint64     `json:"dataSource,omitempty" n2k:"7"`
	DataIndicator    *uint64     `json:"dataIndicator,omitempty" n2k:"8"`
}

func (*MaretronDataInstanceChannelCorrelation) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronDataInstanceChannelCorrelation) DecodePayload

func (m *MaretronDataInstanceChannelCorrelation) DecodePayload(payload []uint8) error

func (*MaretronDataInstanceChannelCorrelation) EncodePayload

func (m *MaretronDataInstanceChannelCorrelation) EncodePayload() ([]uint8, error)

func (*MaretronDataInstanceChannelCorrelation) MessageInfo

func (*MaretronDataInstanceChannelCorrelation) PGNNumber

func (*MaretronDataInstanceChannelCorrelation) SetMessageInfo

func (m *MaretronDataInstanceChannelCorrelation) SetMessageInfo(info MessageInfo)

type MaretronDcEnergy

type MaretronDcEnergy struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MaretronDcEnergy) Clone added in v1.3.0

func (m *MaretronDcEnergy) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronDcEnergy) DecodePayload

func (m *MaretronDcEnergy) DecodePayload(payload []uint8) error

func (*MaretronDcEnergy) EncodePayload

func (m *MaretronDcEnergy) EncodePayload() ([]uint8, error)

func (*MaretronDcEnergy) MessageInfo

func (m *MaretronDcEnergy) MessageInfo() MessageInfo

func (*MaretronDcEnergy) PGNNumber

func (m *MaretronDcEnergy) PGNNumber() uint32

func (*MaretronDcEnergy) SetMessageInfo

func (m *MaretronDcEnergy) SetMessageInfo(info MessageInfo)

type MaretronDeviationCalibrationResponse

type MaretronDeviationCalibrationResponse struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProductCode      *uint64     `json:"productCode,omitempty" n2k:"4"`
	SoftwareCode     *uint64     `json:"softwareCode,omitempty" n2k:"5"`
	Command          *uint64     `json:"command,omitempty" n2k:"6"`
	Status           *uint64     `json:"status,omitempty" n2k:"7"`
}

func (*MaretronDeviationCalibrationResponse) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronDeviationCalibrationResponse) DecodePayload

func (m *MaretronDeviationCalibrationResponse) DecodePayload(payload []uint8) error

func (*MaretronDeviationCalibrationResponse) EncodePayload

func (m *MaretronDeviationCalibrationResponse) EncodePayload() ([]uint8, error)

func (*MaretronDeviationCalibrationResponse) MessageInfo

func (*MaretronDeviationCalibrationResponse) PGNNumber

func (*MaretronDeviationCalibrationResponse) SetMessageInfo

func (m *MaretronDeviationCalibrationResponse) SetMessageInfo(info MessageInfo)

type MaretronDometicHvacControlStatus

type MaretronDometicHvacControlStatus struct {
	Info                        MessageInfo `json:"info"`
	ManufacturerCode            *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode                *uint64     `json:"industryCode,omitempty" n2k:"3"`
	CanId                       *uint64     `json:"canId,omitempty" n2k:"4"`
	ConfigurationMode           *uint64     `json:"configurationMode,omitempty" n2k:"5"`
	Status                      *uint64     `json:"status,omitempty" n2k:"6"`
	FanModeSpeed                *uint64     `json:"fanModeSpeed,omitempty" n2k:"7"`
	SetpointTemperature         *uint64     `json:"setpointTemperature,omitempty" n2k:"8"`
	AmbientTemperature          *uint64     `json:"ambientTemperature,omitempty" n2k:"9"`
	OutdoorTemperature          *uint64     `json:"outdoorTemperature,omitempty" n2k:"10"`
	FaultStatus                 *uint64     `json:"faultStatus,omitempty" n2k:"11"`
	AdditionalSensorTemperature *uint64     `json:"additionalSensorTemperature,omitempty" n2k:"12"`
}

func (*MaretronDometicHvacControlStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronDometicHvacControlStatus) DecodePayload

func (m *MaretronDometicHvacControlStatus) DecodePayload(payload []uint8) error

func (*MaretronDometicHvacControlStatus) EncodePayload

func (m *MaretronDometicHvacControlStatus) EncodePayload() ([]uint8, error)

func (*MaretronDometicHvacControlStatus) MessageInfo

func (*MaretronDometicHvacControlStatus) PGNNumber

func (*MaretronDometicHvacControlStatus) SetMessageInfo

func (m *MaretronDometicHvacControlStatus) SetMessageInfo(info MessageInfo)

type MaretronDometicHvacStatus

type MaretronDometicHvacStatus struct {
	Info                        MessageInfo `json:"info"`
	ManufacturerCode            *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode                *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AdditionalSensorTemperature *uint64     `json:"additionalSensorTemperature,omitempty" n2k:"4"`
	CanId                       *uint64     `json:"canId,omitempty" n2k:"5"`
	State                       *uint64     `json:"state,omitempty" n2k:"6"`
	HardwareStatus              *uint64     `json:"hardwareStatus,omitempty" n2k:"7"`
	Faults                      *uint64     `json:"faults,omitempty" n2k:"8"`
	LineVoltage                 *uint64     `json:"lineVoltage,omitempty" n2k:"9"`
	CompressorCurrent           *uint64     `json:"compressorCurrent,omitempty" n2k:"10"`
}

func (*MaretronDometicHvacStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronDometicHvacStatus) DecodePayload

func (m *MaretronDometicHvacStatus) DecodePayload(payload []uint8) error

func (*MaretronDometicHvacStatus) EncodePayload

func (m *MaretronDometicHvacStatus) EncodePayload() ([]uint8, error)

func (*MaretronDometicHvacStatus) MessageInfo

func (m *MaretronDometicHvacStatus) MessageInfo() MessageInfo

func (*MaretronDometicHvacStatus) PGNNumber

func (m *MaretronDometicHvacStatus) PGNNumber() uint32

func (*MaretronDometicHvacStatus) SetMessageInfo

func (m *MaretronDometicHvacStatus) SetMessageInfo(info MessageInfo)

type MaretronFluidFlowRate

type MaretronFluidFlowRate struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"4"`
	FlowRateInstance *uint64     `json:"flowRateInstance,omitempty" n2k:"5"`
	FluidType        *uint64     `json:"fluidType,omitempty" n2k:"6"`
	FluidFlowRate    *int64      `json:"fluidFlowRate,omitempty" n2k:"8"`
}

func (*MaretronFluidFlowRate) Clone added in v1.3.0

func (m *MaretronFluidFlowRate) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronFluidFlowRate) DecodePayload

func (m *MaretronFluidFlowRate) DecodePayload(payload []uint8) error

func (*MaretronFluidFlowRate) EncodePayload

func (m *MaretronFluidFlowRate) EncodePayload() ([]uint8, error)

func (*MaretronFluidFlowRate) FluidFlowRateValue

func (m *MaretronFluidFlowRate) FluidFlowRateValue() (float64, bool)

FluidFlowRateValue returns FluidFlowRate as a physical value (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronFluidFlowRate) MessageInfo

func (m *MaretronFluidFlowRate) MessageInfo() MessageInfo

func (*MaretronFluidFlowRate) PGNNumber

func (m *MaretronFluidFlowRate) PGNNumber() uint32

func (*MaretronFluidFlowRate) SetFluidFlowRateValue

func (m *MaretronFluidFlowRate) SetFluidFlowRateValue(v float64)

SetFluidFlowRateValue sets FluidFlowRate from a physical value, rounded to the nearest wire tick of 0.0001.

func (*MaretronFluidFlowRate) SetMessageInfo

func (m *MaretronFluidFlowRate) SetMessageInfo(info MessageInfo)

type MaretronGenericSensor

type MaretronGenericSensor struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	DataInstance     *uint64     `json:"dataInstance,omitempty" n2k:"4"`
	DataFormat       *uint64     `json:"dataFormat,omitempty" n2k:"5"`
	Value            []uint8     `json:"value,omitempty" n2k:"6"`
}

func (*MaretronGenericSensor) Clone added in v1.3.0

func (m *MaretronGenericSensor) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronGenericSensor) DecodePayload

func (m *MaretronGenericSensor) DecodePayload(payload []uint8) error

func (*MaretronGenericSensor) EncodePayload

func (m *MaretronGenericSensor) EncodePayload() ([]uint8, error)

func (*MaretronGenericSensor) MessageInfo

func (m *MaretronGenericSensor) MessageInfo() MessageInfo

func (*MaretronGenericSensor) PGNNumber

func (m *MaretronGenericSensor) PGNNumber() uint32

func (*MaretronGenericSensor) SetMessageInfo

func (m *MaretronGenericSensor) SetMessageInfo(info MessageInfo)

type MaretronKeelPosition

type MaretronKeelPosition struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MaretronKeelPosition) Clone added in v1.3.0

func (m *MaretronKeelPosition) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronKeelPosition) DecodePayload

func (m *MaretronKeelPosition) DecodePayload(payload []uint8) error

func (*MaretronKeelPosition) EncodePayload

func (m *MaretronKeelPosition) EncodePayload() ([]uint8, error)

func (*MaretronKeelPosition) MessageInfo

func (m *MaretronKeelPosition) MessageInfo() MessageInfo

func (*MaretronKeelPosition) PGNNumber

func (m *MaretronKeelPosition) PGNNumber() uint32

func (*MaretronKeelPosition) SetMessageInfo

func (m *MaretronKeelPosition) SetMessageInfo(info MessageInfo)

type MaretronLabel

type MaretronLabel struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"4"`
	DataSource       *uint64     `json:"dataSource,omitempty" n2k:"5"`
	DataIndicator    *uint64     `json:"dataIndicator,omitempty" n2k:"6"`
	Label            string      `json:"label,omitempty" n2k:"7"`
	HardwareChannel  *uint64     `json:"hardwareChannel,omitempty" n2k:"8"`
}

func (*MaretronLabel) Clone added in v1.3.0

func (m *MaretronLabel) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronLabel) DecodePayload

func (m *MaretronLabel) DecodePayload(payload []uint8) error

func (*MaretronLabel) EncodePayload

func (m *MaretronLabel) EncodePayload() ([]uint8, error)

func (*MaretronLabel) MessageInfo

func (m *MaretronLabel) MessageInfo() MessageInfo

func (*MaretronLabel) PGNNumber

func (m *MaretronLabel) PGNNumber() uint32

func (*MaretronLabel) SetMessageInfo

func (m *MaretronLabel) SetMessageInfo(info MessageInfo)

type MaretronNumberOfChannels

type MaretronNumberOfChannels struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Pgn              *uint64     `json:"pgn,omitempty" n2k:"4"`
	NumberOfChannels *uint64     `json:"numberOfChannels,omitempty" n2k:"5"`
}

func (*MaretronNumberOfChannels) Clone added in v1.3.0

func (m *MaretronNumberOfChannels) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronNumberOfChannels) DecodePayload

func (m *MaretronNumberOfChannels) DecodePayload(payload []uint8) error

func (*MaretronNumberOfChannels) EncodePayload

func (m *MaretronNumberOfChannels) EncodePayload() ([]uint8, error)

func (*MaretronNumberOfChannels) MessageInfo

func (m *MaretronNumberOfChannels) MessageInfo() MessageInfo

func (*MaretronNumberOfChannels) PGNNumber

func (m *MaretronNumberOfChannels) PGNNumber() uint32

func (*MaretronNumberOfChannels) SetMessageInfo

func (m *MaretronNumberOfChannels) SetMessageInfo(info MessageInfo)

type MaretronOpcodeConst added in v1.3.0

type MaretronOpcodeConst uint8
const (
	MaretronOpcodeReadAll                    MaretronOpcodeConst = 0
	MaretronOpcodeWriteRegister              MaretronOpcodeConst = 1
	MaretronOpcodeReadConfig                 MaretronOpcodeConst = 2
	MaretronOpcodeWriteConfig                MaretronOpcodeConst = 3
	MaretronOpcodeCalibrate                  MaretronOpcodeConst = 4
	MaretronOpcodeClearCalibration           MaretronOpcodeConst = 5
	MaretronOpcodeStatus                     MaretronOpcodeConst = 6
	MaretronOpcodeClearStatus                MaretronOpcodeConst = 7
	MaretronOpcodeResetFactoryDefault        MaretronOpcodeConst = 8
	MaretronOpcodeDebug                      MaretronOpcodeConst = 9
	MaretronOpcodeWriteInstance              MaretronOpcodeConst = 16
	MaretronOpcodeReadInstance               MaretronOpcodeConst = 17
	MaretronOpcodeWriteLabel                 MaretronOpcodeConst = 32
	MaretronOpcodeReadLabel                  MaretronOpcodeConst = 33
	MaretronOpcodeWriteSwitchConfig          MaretronOpcodeConst = 48
	MaretronOpcodeReadSwitchConfig           MaretronOpcodeConst = 49
	MaretronOpcodeWriteAlertConfig           MaretronOpcodeConst = 64
	MaretronOpcodeReadAlertConfig            MaretronOpcodeConst = 65
	MaretronOpcodeWriteChannelConfig         MaretronOpcodeConst = 80
	MaretronOpcodeReadChannelConfig          MaretronOpcodeConst = 81
	MaretronOpcodeReadChannelConfigExtended  MaretronOpcodeConst = 86
	MaretronOpcodeWriteChannelConfigExtended MaretronOpcodeConst = 87
)

func (MaretronOpcodeConst) GoString added in v1.3.0

func (e MaretronOpcodeConst) GoString() string

func (MaretronOpcodeConst) String added in v1.3.0

func (e MaretronOpcodeConst) String() string

type MaretronProductCodeConst added in v1.3.0

type MaretronProductCodeConst uint16
const (
	MaretronProductCodeSSC200   MaretronProductCodeConst = 434
	MaretronProductCodeSMS100   MaretronProductCodeConst = 1047
	MaretronProductCodeMBB200C  MaretronProductCodeConst = 1151
	MaretronProductCodeDST110   MaretronProductCodeConst = 1534
	MaretronProductCodeGPS100   MaretronProductCodeConst = 1776
	MaretronProductCodeCLM100   MaretronProductCodeConst = 2606
	MaretronProductCodeSSC300   MaretronProductCodeConst = 2686
	MaretronProductCodeTLA100   MaretronProductCodeConst = 2781
	MaretronProductCodeGPS200   MaretronProductCodeConst = 3373
	MaretronProductCodeDST100   MaretronProductCodeConst = 3563
	MaretronProductCodeFFM100   MaretronProductCodeConst = 3637
	MaretronProductCodeNBE100   MaretronProductCodeConst = 3979
	MaretronProductCodeRAA100   MaretronProductCodeConst = 4018
	MaretronProductCodeRIM100   MaretronProductCodeConst = 4078
	MaretronProductCodeJ2K100   MaretronProductCodeConst = 4319
	MaretronProductCodeALM100   MaretronProductCodeConst = 8165
	MaretronProductCodeIPG100   MaretronProductCodeConst = 9339
	MaretronProductCodeDCM100   MaretronProductCodeConst = 9375
	MaretronProductCodeEMS100   MaretronProductCodeConst = 9845
	MaretronProductCodeCLMD16   MaretronProductCodeConst = 12337
	MaretronProductCodeDSM250   MaretronProductCodeConst = 16434
	MaretronProductCodeTMP100   MaretronProductCodeConst = 20067
	MaretronProductCodeDSM150   MaretronProductCodeConst = 20298
	MaretronProductCodeFPM100   MaretronProductCodeConst = 21703
	MaretronProductCodeDCR100   MaretronProductCodeConst = 22585
	MaretronProductCodeSIM100   MaretronProductCodeConst = 23603
	MaretronProductCodeACM100   MaretronProductCodeConst = 26493
	MaretronProductCodeMBB300C  MaretronProductCodeConst = 27244
	MaretronProductCodeMConnect MaretronProductCodeConst = 28077
)

func (MaretronProductCodeConst) GoString added in v1.3.0

func (e MaretronProductCodeConst) GoString() string

func (MaretronProductCodeConst) String added in v1.3.0

func (e MaretronProductCodeConst) String() string

type MaretronProprietaryConfiguration

type MaretronProprietaryConfiguration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProductCode      *uint64     `json:"productCode,omitempty" n2k:"4"`
	SoftwareCode     *uint64     `json:"softwareCode,omitempty" n2k:"5"`
	Opcode           *uint64     `json:"opcode,omitempty" n2k:"6"`
	Payload          []uint8     `json:"payload,omitempty" n2k:"7"`
}

func (*MaretronProprietaryConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronProprietaryConfiguration) DecodePayload

func (m *MaretronProprietaryConfiguration) DecodePayload(payload []uint8) error

func (*MaretronProprietaryConfiguration) EncodePayload

func (m *MaretronProprietaryConfiguration) EncodePayload() ([]uint8, error)

func (*MaretronProprietaryConfiguration) MessageInfo

func (*MaretronProprietaryConfiguration) PGNNumber

func (*MaretronProprietaryConfiguration) SetMessageInfo

func (m *MaretronProprietaryConfiguration) SetMessageInfo(info MessageInfo)

type MaretronProprietaryDcBreakerCurrent

type MaretronProprietaryDcBreakerCurrent struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	BankInstance     *uint64     `json:"bankInstance,omitempty" n2k:"4"`
	IndicatorNumber  *uint64     `json:"indicatorNumber,omitempty" n2k:"5"`
	BreakerCurrent   *int64      `json:"breakerCurrent,omitempty" n2k:"6"`
}

func (*MaretronProprietaryDcBreakerCurrent) BreakerCurrentValue

func (m *MaretronProprietaryDcBreakerCurrent) BreakerCurrentValue() (float64, bool)

BreakerCurrentValue returns BreakerCurrent as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronProprietaryDcBreakerCurrent) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronProprietaryDcBreakerCurrent) DecodePayload

func (m *MaretronProprietaryDcBreakerCurrent) DecodePayload(payload []uint8) error

func (*MaretronProprietaryDcBreakerCurrent) EncodePayload

func (m *MaretronProprietaryDcBreakerCurrent) EncodePayload() ([]uint8, error)

func (*MaretronProprietaryDcBreakerCurrent) MessageInfo

func (*MaretronProprietaryDcBreakerCurrent) PGNNumber

func (*MaretronProprietaryDcBreakerCurrent) SetBreakerCurrentValue

func (m *MaretronProprietaryDcBreakerCurrent) SetBreakerCurrentValue(v float64)

SetBreakerCurrentValue sets BreakerCurrent from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*MaretronProprietaryDcBreakerCurrent) SetMessageInfo

func (m *MaretronProprietaryDcBreakerCurrent) SetMessageInfo(info MessageInfo)

type MaretronProprietaryTemperatureHighRange

type MaretronProprietaryTemperatureHighRange struct {
	Info              MessageInfo `json:"info"`
	ManufacturerCode  *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode      *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid               *uint64     `json:"sid,omitempty" n2k:"4"`
	Instance          *uint64     `json:"instance,omitempty" n2k:"5"`
	Source            *uint64     `json:"source,omitempty" n2k:"6"`
	ActualTemperature *uint64     `json:"actualTemperature,omitempty" n2k:"7"`
	SetTemperature    *uint64     `json:"setTemperature,omitempty" n2k:"8"`
}

func (*MaretronProprietaryTemperatureHighRange) ActualTemperatureValue

func (m *MaretronProprietaryTemperatureHighRange) ActualTemperatureValue() (float64, bool)

ActualTemperatureValue returns ActualTemperature as a physical value in K (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronProprietaryTemperatureHighRange) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronProprietaryTemperatureHighRange) DecodePayload

func (m *MaretronProprietaryTemperatureHighRange) DecodePayload(payload []uint8) error

func (*MaretronProprietaryTemperatureHighRange) EncodePayload

func (m *MaretronProprietaryTemperatureHighRange) EncodePayload() ([]uint8, error)

func (*MaretronProprietaryTemperatureHighRange) MessageInfo

func (*MaretronProprietaryTemperatureHighRange) PGNNumber

func (*MaretronProprietaryTemperatureHighRange) SetActualTemperatureValue

func (m *MaretronProprietaryTemperatureHighRange) SetActualTemperatureValue(v float64)

SetActualTemperatureValue sets ActualTemperature from a physical value in K, rounded to the nearest wire tick of 0.1.

func (*MaretronProprietaryTemperatureHighRange) SetMessageInfo

func (m *MaretronProprietaryTemperatureHighRange) SetMessageInfo(info MessageInfo)

func (*MaretronProprietaryTemperatureHighRange) SetSetTemperatureValue

func (m *MaretronProprietaryTemperatureHighRange) SetSetTemperatureValue(v float64)

SetSetTemperatureValue sets SetTemperature from a physical value in K, rounded to the nearest wire tick of 0.1.

func (*MaretronProprietaryTemperatureHighRange) SetTemperatureValue

func (m *MaretronProprietaryTemperatureHighRange) SetTemperatureValue() (float64, bool)

SetTemperatureValue returns SetTemperature as a physical value in K (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

type MaretronResistance

type MaretronResistance struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"4"`
	DataInstance     *uint64     `json:"dataInstance,omitempty" n2k:"5"`
	Resistance       *uint64     `json:"resistance,omitempty" n2k:"6"`
}

func (*MaretronResistance) Clone added in v1.3.0

func (m *MaretronResistance) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronResistance) DecodePayload

func (m *MaretronResistance) DecodePayload(payload []uint8) error

func (*MaretronResistance) EncodePayload

func (m *MaretronResistance) EncodePayload() ([]uint8, error)

func (*MaretronResistance) MessageInfo

func (m *MaretronResistance) MessageInfo() MessageInfo

func (*MaretronResistance) PGNNumber

func (m *MaretronResistance) PGNNumber() uint32

func (*MaretronResistance) ResistanceValue

func (m *MaretronResistance) ResistanceValue() (float64, bool)

ResistanceValue returns Resistance as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronResistance) SetMessageInfo

func (m *MaretronResistance) SetMessageInfo(info MessageInfo)

func (*MaretronResistance) SetResistanceValue

func (m *MaretronResistance) SetResistanceValue(v float64)

SetResistanceValue sets Resistance from a physical value, rounded to the nearest wire tick of 0.01.

type MaretronRotationalRate

type MaretronRotationalRate struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"4"`
	DataInstance     *uint64     `json:"dataInstance,omitempty" n2k:"5"`
	RotationalRate   *int64      `json:"rotationalRate,omitempty" n2k:"6"`
}

func (*MaretronRotationalRate) Clone added in v1.3.0

func (m *MaretronRotationalRate) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronRotationalRate) DecodePayload

func (m *MaretronRotationalRate) DecodePayload(payload []uint8) error

func (*MaretronRotationalRate) EncodePayload

func (m *MaretronRotationalRate) EncodePayload() ([]uint8, error)

func (*MaretronRotationalRate) MessageInfo

func (m *MaretronRotationalRate) MessageInfo() MessageInfo

func (*MaretronRotationalRate) PGNNumber

func (m *MaretronRotationalRate) PGNNumber() uint32

func (*MaretronRotationalRate) RotationalRateValue

func (m *MaretronRotationalRate) RotationalRateValue() (float64, bool)

RotationalRateValue returns RotationalRate as a physical value (value = raw * 0.25). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronRotationalRate) SetMessageInfo

func (m *MaretronRotationalRate) SetMessageInfo(info MessageInfo)

func (*MaretronRotationalRate) SetRotationalRateValue

func (m *MaretronRotationalRate) SetRotationalRateValue(v float64)

SetRotationalRateValue sets RotationalRate from a physical value, rounded to the nearest wire tick of 0.25.

type MaretronSmsStatus

type MaretronSmsStatus struct {
	Info                MessageInfo `json:"info"`
	ManufacturerCode    *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode        *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SimCardStatus       *uint64     `json:"simCardStatus,omitempty" n2k:"4"`
	GsmBand             *uint64     `json:"gsmBand,omitempty" n2k:"5"`
	SignalStrength      *uint64     `json:"signalStrength,omitempty" n2k:"6"`
	BitErrorRate        *uint64     `json:"bitErrorRate,omitempty" n2k:"7"`
	SimCardPhoneNumber  string      `json:"simCardPhoneNumber,omitempty" n2k:"8"`
	NetworkOperatorName string      `json:"networkOperatorName,omitempty" n2k:"9"`
}

func (*MaretronSmsStatus) Clone added in v1.3.0

func (m *MaretronSmsStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronSmsStatus) DecodePayload

func (m *MaretronSmsStatus) DecodePayload(payload []uint8) error

func (*MaretronSmsStatus) EncodePayload

func (m *MaretronSmsStatus) EncodePayload() ([]uint8, error)

func (*MaretronSmsStatus) MessageInfo

func (m *MaretronSmsStatus) MessageInfo() MessageInfo

func (*MaretronSmsStatus) PGNNumber

func (m *MaretronSmsStatus) PGNNumber() uint32

func (*MaretronSmsStatus) SetMessageInfo

func (m *MaretronSmsStatus) SetMessageInfo(info MessageInfo)

type MaretronSmsTextMessage

type MaretronSmsTextMessage struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageType      *uint64     `json:"messageType,omitempty" n2k:"4"`
	PhoneNumber      string      `json:"phoneNumber,omitempty" n2k:"5"`
	Message          string      `json:"message,omitempty" n2k:"6"`
}

func (*MaretronSmsTextMessage) Clone added in v1.3.0

func (m *MaretronSmsTextMessage) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronSmsTextMessage) DecodePayload

func (m *MaretronSmsTextMessage) DecodePayload(payload []uint8) error

func (*MaretronSmsTextMessage) EncodePayload

func (m *MaretronSmsTextMessage) EncodePayload() ([]uint8, error)

func (*MaretronSmsTextMessage) MessageInfo

func (m *MaretronSmsTextMessage) MessageInfo() MessageInfo

func (*MaretronSmsTextMessage) PGNNumber

func (m *MaretronSmsTextMessage) PGNNumber() uint32

func (*MaretronSmsTextMessage) SetMessageInfo

func (m *MaretronSmsTextMessage) SetMessageInfo(info MessageInfo)

type MaretronSoftwareCodeConst added in v1.3.0

type MaretronSoftwareCodeConst uint16
const (
	MaretronSoftwareCodeVersion1 MaretronSoftwareCodeConst = 1
)

func (MaretronSoftwareCodeConst) GoString added in v1.3.0

func (e MaretronSoftwareCodeConst) GoString() string

func (MaretronSoftwareCodeConst) String added in v1.3.0

func (e MaretronSoftwareCodeConst) String() string

type MaretronStatusDeviationConst added in v1.3.0

type MaretronStatusDeviationConst uint8
const (
	MaretronStatusDeviationStarted               MaretronStatusDeviationConst = 1
	MaretronStatusDeviationCompletedSuccessfully MaretronStatusDeviationConst = 2
	MaretronStatusDeviationFailedToComplete      MaretronStatusDeviationConst = 3
	MaretronStatusDeviationTurningTooFast        MaretronStatusDeviationConst = 4
	MaretronStatusDeviationTurningTooSlow        MaretronStatusDeviationConst = 5
	MaretronStatusDeviationInvalidMovement       MaretronStatusDeviationConst = 6
)

func (MaretronStatusDeviationConst) GoString added in v1.3.0

func (e MaretronStatusDeviationConst) GoString() string

func (MaretronStatusDeviationConst) String added in v1.3.0

type MaretronSwitchIndicatorStatus

type MaretronSwitchIndicatorStatus struct {
	Info                  MessageInfo                               `json:"info"`
	ManufacturerCode      *uint64                                   `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode          *uint64                                   `json:"industryCode,omitempty" n2k:"3"`
	IndicatorBankInstance *uint64                                   `json:"indicatorBankInstance,omitempty" n2k:"4"`
	NumberOfStatusFields  *uint64                                   `json:"numberOfStatusFields,omitempty" n2k:"5"`
	Repeating1            []MaretronSwitchIndicatorStatusRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*MaretronSwitchIndicatorStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronSwitchIndicatorStatus) DecodePayload

func (m *MaretronSwitchIndicatorStatus) DecodePayload(payload []uint8) error

func (*MaretronSwitchIndicatorStatus) EncodePayload

func (m *MaretronSwitchIndicatorStatus) EncodePayload() ([]uint8, error)

func (*MaretronSwitchIndicatorStatus) MessageInfo

func (m *MaretronSwitchIndicatorStatus) MessageInfo() MessageInfo

func (*MaretronSwitchIndicatorStatus) PGNNumber

func (m *MaretronSwitchIndicatorStatus) PGNNumber() uint32

func (*MaretronSwitchIndicatorStatus) SetMessageInfo

func (m *MaretronSwitchIndicatorStatus) SetMessageInfo(info MessageInfo)

type MaretronSwitchIndicatorStatusRepeating1

type MaretronSwitchIndicatorStatusRepeating1 struct {
	IndicatorStatus *uint64 `json:"indicatorStatus,omitempty" n2k:"6"`
}

type MaretronSwitchStatusCounter

type MaretronSwitchStatusCounter struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"4"`
	IndicatorNumber  *uint64     `json:"indicatorNumber,omitempty" n2k:"5"`
	StartDate        *uint64     `json:"startDate,omitempty" n2k:"6"`
	StartTime        *uint64     `json:"startTime,omitempty" n2k:"7"`
	OffCounter       *uint64     `json:"offCounter,omitempty" n2k:"8"`
	OnCounter        *uint64     `json:"onCounter,omitempty" n2k:"9"`
	ErrorCounter     *uint64     `json:"errorCounter,omitempty" n2k:"10"`
	SwitchStatus     *uint64     `json:"switchStatus,omitempty" n2k:"11"`
}

func (*MaretronSwitchStatusCounter) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronSwitchStatusCounter) DecodePayload

func (m *MaretronSwitchStatusCounter) DecodePayload(payload []uint8) error

func (*MaretronSwitchStatusCounter) EncodePayload

func (m *MaretronSwitchStatusCounter) EncodePayload() ([]uint8, error)

func (*MaretronSwitchStatusCounter) MessageInfo

func (m *MaretronSwitchStatusCounter) MessageInfo() MessageInfo

func (*MaretronSwitchStatusCounter) PGNNumber

func (m *MaretronSwitchStatusCounter) PGNNumber() uint32

func (*MaretronSwitchStatusCounter) SetMessageInfo

func (m *MaretronSwitchStatusCounter) SetMessageInfo(info MessageInfo)

func (*MaretronSwitchStatusCounter) SetStartDateValue

func (m *MaretronSwitchStatusCounter) SetStartDateValue(v float64)

SetStartDateValue sets StartDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*MaretronSwitchStatusCounter) SetStartTimeValue

func (m *MaretronSwitchStatusCounter) SetStartTimeValue(v float64)

SetStartTimeValue sets StartTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*MaretronSwitchStatusCounter) StartDateValue

func (m *MaretronSwitchStatusCounter) StartDateValue() (float64, bool)

StartDateValue returns StartDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronSwitchStatusCounter) StartTimeValue

func (m *MaretronSwitchStatusCounter) StartTimeValue() (float64, bool)

StartTimeValue returns StartTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type MaretronSwitchStatusTimer

type MaretronSwitchStatusTimer struct {
	Info                   MessageInfo `json:"info"`
	ManufacturerCode       *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode           *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Instance               *uint64     `json:"instance,omitempty" n2k:"4"`
	IndicatorNumber        *uint64     `json:"indicatorNumber,omitempty" n2k:"5"`
	StartDate              *uint64     `json:"startDate,omitempty" n2k:"6"`
	StartTime              *uint64     `json:"startTime,omitempty" n2k:"7"`
	AccumulatedOffPeriod   *uint64     `json:"accumulatedOffPeriod,omitempty" n2k:"8"`
	AccumulatedOnPeriod    *uint64     `json:"accumulatedOnPeriod,omitempty" n2k:"9"`
	AccumulatedErrorPeriod *uint64     `json:"accumulatedErrorPeriod,omitempty" n2k:"10"`
	SwitchStatus           *uint64     `json:"switchStatus,omitempty" n2k:"11"`
}

func (*MaretronSwitchStatusTimer) AccumulatedErrorPeriodValue

func (m *MaretronSwitchStatusTimer) AccumulatedErrorPeriodValue() (float64, bool)

AccumulatedErrorPeriodValue returns AccumulatedErrorPeriod as a physical value in s (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronSwitchStatusTimer) AccumulatedOffPeriodValue

func (m *MaretronSwitchStatusTimer) AccumulatedOffPeriodValue() (float64, bool)

AccumulatedOffPeriodValue returns AccumulatedOffPeriod as a physical value in s (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronSwitchStatusTimer) AccumulatedOnPeriodValue

func (m *MaretronSwitchStatusTimer) AccumulatedOnPeriodValue() (float64, bool)

AccumulatedOnPeriodValue returns AccumulatedOnPeriod as a physical value in s (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronSwitchStatusTimer) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronSwitchStatusTimer) DecodePayload

func (m *MaretronSwitchStatusTimer) DecodePayload(payload []uint8) error

func (*MaretronSwitchStatusTimer) EncodePayload

func (m *MaretronSwitchStatusTimer) EncodePayload() ([]uint8, error)

func (*MaretronSwitchStatusTimer) MessageInfo

func (m *MaretronSwitchStatusTimer) MessageInfo() MessageInfo

func (*MaretronSwitchStatusTimer) PGNNumber

func (m *MaretronSwitchStatusTimer) PGNNumber() uint32

func (*MaretronSwitchStatusTimer) SetAccumulatedErrorPeriodValue

func (m *MaretronSwitchStatusTimer) SetAccumulatedErrorPeriodValue(v float64)

SetAccumulatedErrorPeriodValue sets AccumulatedErrorPeriod from a physical value in s, rounded to the nearest wire tick of 1.

func (*MaretronSwitchStatusTimer) SetAccumulatedOffPeriodValue

func (m *MaretronSwitchStatusTimer) SetAccumulatedOffPeriodValue(v float64)

SetAccumulatedOffPeriodValue sets AccumulatedOffPeriod from a physical value in s, rounded to the nearest wire tick of 1.

func (*MaretronSwitchStatusTimer) SetAccumulatedOnPeriodValue

func (m *MaretronSwitchStatusTimer) SetAccumulatedOnPeriodValue(v float64)

SetAccumulatedOnPeriodValue sets AccumulatedOnPeriod from a physical value in s, rounded to the nearest wire tick of 1.

func (*MaretronSwitchStatusTimer) SetMessageInfo

func (m *MaretronSwitchStatusTimer) SetMessageInfo(info MessageInfo)

func (*MaretronSwitchStatusTimer) SetStartDateValue

func (m *MaretronSwitchStatusTimer) SetStartDateValue(v float64)

SetStartDateValue sets StartDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*MaretronSwitchStatusTimer) SetStartTimeValue

func (m *MaretronSwitchStatusTimer) SetStartTimeValue(v float64)

SetStartTimeValue sets StartTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*MaretronSwitchStatusTimer) StartDateValue

func (m *MaretronSwitchStatusTimer) StartDateValue() (float64, bool)

StartDateValue returns StartDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MaretronSwitchStatusTimer) StartTimeValue

func (m *MaretronSwitchStatusTimer) StartTimeValue() (float64, bool)

StartTimeValue returns StartTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type MaretronTripVolume

type MaretronTripVolume struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"4"`
	VolumeInstance   *uint64     `json:"volumeInstance,omitempty" n2k:"5"`
	FluidType        *uint64     `json:"fluidType,omitempty" n2k:"6"`
	TripVolume       *uint64     `json:"tripVolume,omitempty" n2k:"8"`
}

func (*MaretronTripVolume) Clone added in v1.3.0

func (m *MaretronTripVolume) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronTripVolume) DecodePayload

func (m *MaretronTripVolume) DecodePayload(payload []uint8) error

func (*MaretronTripVolume) EncodePayload

func (m *MaretronTripVolume) EncodePayload() ([]uint8, error)

func (*MaretronTripVolume) MessageInfo

func (m *MaretronTripVolume) MessageInfo() MessageInfo

func (*MaretronTripVolume) PGNNumber

func (m *MaretronTripVolume) PGNNumber() uint32

func (*MaretronTripVolume) SetMessageInfo

func (m *MaretronTripVolume) SetMessageInfo(info MessageInfo)

func (*MaretronTripVolume) SetTripVolumeValue

func (m *MaretronTripVolume) SetTripVolumeValue(v float64)

SetTripVolumeValue sets TripVolume from a physical value, rounded to the nearest wire tick of 0.001.

func (*MaretronTripVolume) TripVolumeValue

func (m *MaretronTripVolume) TripVolumeValue() (float64, bool)

TripVolumeValue returns TripVolume as a physical value (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

type MaretronUniversalConfigurationFp

type MaretronUniversalConfigurationFp struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MaretronUniversalConfigurationFp) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronUniversalConfigurationFp) DecodePayload

func (m *MaretronUniversalConfigurationFp) DecodePayload(payload []uint8) error

func (*MaretronUniversalConfigurationFp) EncodePayload

func (m *MaretronUniversalConfigurationFp) EncodePayload() ([]uint8, error)

func (*MaretronUniversalConfigurationFp) MessageInfo

func (*MaretronUniversalConfigurationFp) PGNNumber

func (*MaretronUniversalConfigurationFp) SetMessageInfo

func (m *MaretronUniversalConfigurationFp) SetMessageInfo(info MessageInfo)

type MaretronUniversalConfigurationSf

type MaretronUniversalConfigurationSf struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MaretronUniversalConfigurationSf) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronUniversalConfigurationSf) DecodePayload

func (m *MaretronUniversalConfigurationSf) DecodePayload(payload []uint8) error

func (*MaretronUniversalConfigurationSf) EncodePayload

func (m *MaretronUniversalConfigurationSf) EncodePayload() ([]uint8, error)

func (*MaretronUniversalConfigurationSf) MessageInfo

func (*MaretronUniversalConfigurationSf) PGNNumber

func (*MaretronUniversalConfigurationSf) SetMessageInfo

func (m *MaretronUniversalConfigurationSf) SetMessageInfo(info MessageInfo)

type MaretronVesselDataRecorderStatus

type MaretronVesselDataRecorderStatus struct {
	Info               MessageInfo `json:"info"`
	ManufacturerCode   *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode       *uint64     `json:"industryCode,omitempty" n2k:"3"`
	VdrRecordingStatus *uint64     `json:"vdrRecordingStatus,omitempty" n2k:"4"`
	MemoryCapacity     *uint64     `json:"memoryCapacity,omitempty" n2k:"5"`
	MemoryUsed         *uint64     `json:"memoryUsed,omitempty" n2k:"6"`
}

func (*MaretronVesselDataRecorderStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronVesselDataRecorderStatus) DecodePayload

func (m *MaretronVesselDataRecorderStatus) DecodePayload(payload []uint8) error

func (*MaretronVesselDataRecorderStatus) EncodePayload

func (m *MaretronVesselDataRecorderStatus) EncodePayload() ([]uint8, error)

func (*MaretronVesselDataRecorderStatus) MessageInfo

func (*MaretronVesselDataRecorderStatus) PGNNumber

func (*MaretronVesselDataRecorderStatus) SetMessageInfo

func (m *MaretronVesselDataRecorderStatus) SetMessageInfo(info MessageInfo)

type MaretronVesselOperatingMode

type MaretronVesselOperatingMode struct {
	Info                   MessageInfo `json:"info"`
	ManufacturerCode       *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode           *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AlertSystem            *uint64     `json:"alertSystem,omitempty" n2k:"4"`
	AlertSubSystem         *uint64     `json:"alertSubSystem,omitempty" n2k:"5"`
	AlertSystemInstance    *uint64     `json:"alertSystemInstance,omitempty" n2k:"6"`
	OperatingMode          *uint64     `json:"operatingMode,omitempty" n2k:"7"`
	GeneratingGlobalAlerts *uint64     `json:"generatingGlobalAlerts,omitempty" n2k:"8"`
	UserChanged            *uint64     `json:"userChanged,omitempty" n2k:"9"`
	InIndependentMode      *uint64     `json:"inIndependentMode,omitempty" n2k:"10"`
}

func (*MaretronVesselOperatingMode) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronVesselOperatingMode) DecodePayload

func (m *MaretronVesselOperatingMode) DecodePayload(payload []uint8) error

func (*MaretronVesselOperatingMode) EncodePayload

func (m *MaretronVesselOperatingMode) EncodePayload() ([]uint8, error)

func (*MaretronVesselOperatingMode) MessageInfo

func (m *MaretronVesselOperatingMode) MessageInfo() MessageInfo

func (*MaretronVesselOperatingMode) PGNNumber

func (m *MaretronVesselOperatingMode) PGNNumber() uint32

func (*MaretronVesselOperatingMode) SetMessageInfo

func (m *MaretronVesselOperatingMode) SetMessageInfo(info MessageInfo)

type MaretronWindlassControlCommand

type MaretronWindlassControlCommand struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MaretronWindlassControlCommand) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronWindlassControlCommand) DecodePayload

func (m *MaretronWindlassControlCommand) DecodePayload(payload []uint8) error

func (*MaretronWindlassControlCommand) EncodePayload

func (m *MaretronWindlassControlCommand) EncodePayload() ([]uint8, error)

func (*MaretronWindlassControlCommand) MessageInfo

func (*MaretronWindlassControlCommand) PGNNumber

func (m *MaretronWindlassControlCommand) PGNNumber() uint32

func (*MaretronWindlassControlCommand) SetMessageInfo

func (m *MaretronWindlassControlCommand) SetMessageInfo(info MessageInfo)

type MaretronWindlassOperatingStatus

type MaretronWindlassOperatingStatus struct {
	Info                     MessageInfo `json:"info"`
	ManufacturerCode         *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode             *uint64     `json:"industryCode,omitempty" n2k:"3"`
	WindlassOperatingEvents  *uint64     `json:"windlassOperatingEvents,omitempty" n2k:"4"`
	WindlassInstance         *uint64     `json:"windlassInstance,omitempty" n2k:"5"`
	WindlassDirectionControl *uint64     `json:"windlassDirectionControl,omitempty" n2k:"6"`
	SpeedControl             *uint64     `json:"speedControl,omitempty" n2k:"7"`
	PowerEnable              *uint64     `json:"powerEnable,omitempty" n2k:"8"`
	MechanicalEnable         *uint64     `json:"mechanicalEnable,omitempty" n2k:"9"`
	AnchorDockingControl     *uint64     `json:"anchorDockingControl,omitempty" n2k:"10"`
	DeckAndAnchorWash        *uint64     `json:"deckAndAnchorWash,omitempty" n2k:"11"`
	AnchorLight              *uint64     `json:"anchorLight,omitempty" n2k:"12"`
	AuxiliaryAControl        *uint64     `json:"auxiliaryAControl,omitempty" n2k:"13"`
	AuxiliaryBControl        *uint64     `json:"auxiliaryBControl,omitempty" n2k:"14"`
	AuxiliaryCControl        *uint64     `json:"auxiliaryCControl,omitempty" n2k:"15"`
	AuxiliaryDControl        *uint64     `json:"auxiliaryDControl,omitempty" n2k:"16"`
}

func (*MaretronWindlassOperatingStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MaretronWindlassOperatingStatus) DecodePayload

func (m *MaretronWindlassOperatingStatus) DecodePayload(payload []uint8) error

func (*MaretronWindlassOperatingStatus) EncodePayload

func (m *MaretronWindlassOperatingStatus) EncodePayload() ([]uint8, error)

func (*MaretronWindlassOperatingStatus) MessageInfo

func (*MaretronWindlassOperatingStatus) PGNNumber

func (m *MaretronWindlassOperatingStatus) PGNNumber() uint32

func (*MaretronWindlassOperatingStatus) SetMessageInfo

func (m *MaretronWindlassOperatingStatus) SetMessageInfo(info MessageInfo)

type MarkTypeConst

type MarkTypeConst uint8
const (
	MarkTypeCollision    MarkTypeConst = 0
	MarkTypeTurningPoint MarkTypeConst = 1
	MarkTypeReference    MarkTypeConst = 2
	MarkTypeWheelover    MarkTypeConst = 3
	MarkTypeWaypoint     MarkTypeConst = 4
)

func (MarkTypeConst) GoString

func (e MarkTypeConst) GoString() string

func (MarkTypeConst) String

func (e MarkTypeConst) String() string

type MercuryBamDigitalDataProxy

type MercuryBamDigitalDataProxy struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Type             *uint64     `json:"type,omitempty" n2k:"4"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"5"`
	Field4           *uint64     `json:"field4,omitempty" n2k:"6"`
	Flag             *uint64     `json:"flag,omitempty" n2k:"8"`
	Data             []uint8     `json:"data,omitempty" n2k:"9"`
}

func (*MercuryBamDigitalDataProxy) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MercuryBamDigitalDataProxy) DecodePayload

func (m *MercuryBamDigitalDataProxy) DecodePayload(payload []uint8) error

func (*MercuryBamDigitalDataProxy) EncodePayload

func (m *MercuryBamDigitalDataProxy) EncodePayload() ([]uint8, error)

func (*MercuryBamDigitalDataProxy) MessageInfo

func (m *MercuryBamDigitalDataProxy) MessageInfo() MessageInfo

func (*MercuryBamDigitalDataProxy) PGNNumber

func (m *MercuryBamDigitalDataProxy) PGNNumber() uint32

func (*MercuryBamDigitalDataProxy) SetMessageInfo

func (m *MercuryBamDigitalDataProxy) SetMessageInfo(info MessageInfo)

type MercuryCommandOpcodeConst added in v1.3.0

type MercuryCommandOpcodeConst uint8
const (
	MercuryCommandOpcodeHornControl              MercuryCommandOpcodeConst = 0
	MercuryCommandOpcodeMaintenanceResetCommand  MercuryCommandOpcodeConst = 1
	MercuryCommandOpcodeMaintenanceResetResponse MercuryCommandOpcodeConst = 2
	MercuryCommandOpcodeCruiseControl            MercuryCommandOpcodeConst = 4
	MercuryCommandOpcodeGlobalBrightness         MercuryCommandOpcodeConst = 5
	MercuryCommandOpcodeActiveTrimCommand        MercuryCommandOpcodeConst = 6
	MercuryCommandOpcodeActiveTrimStatus         MercuryCommandOpcodeConst = 7
	MercuryCommandOpcodeAutopilotCommand         MercuryCommandOpcodeConst = 8
	MercuryCommandOpcodeActiveExhaust            MercuryCommandOpcodeConst = 9
	MercuryCommandOpcodeOilLevelCheckCommand     MercuryCommandOpcodeConst = 12
	MercuryCommandOpcodeOilLevelResetResponse    MercuryCommandOpcodeConst = 13
)

func (MercuryCommandOpcodeConst) GoString added in v1.3.0

func (e MercuryCommandOpcodeConst) GoString() string

func (MercuryCommandOpcodeConst) String added in v1.3.0

func (e MercuryCommandOpcodeConst) String() string

type MercuryCommandResponse

type MercuryCommandResponse struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Opcode           *uint64     `json:"opcode,omitempty" n2k:"4"`
	Data             []uint8     `json:"data,omitempty" n2k:"5"`
}

func (*MercuryCommandResponse) Clone added in v1.3.0

func (m *MercuryCommandResponse) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MercuryCommandResponse) DecodePayload

func (m *MercuryCommandResponse) DecodePayload(payload []uint8) error

func (*MercuryCommandResponse) EncodePayload

func (m *MercuryCommandResponse) EncodePayload() ([]uint8, error)

func (*MercuryCommandResponse) MessageInfo

func (m *MercuryCommandResponse) MessageInfo() MessageInfo

func (*MercuryCommandResponse) PGNNumber

func (m *MercuryCommandResponse) PGNNumber() uint32

func (*MercuryCommandResponse) SetMessageInfo

func (m *MercuryCommandResponse) SetMessageInfo(info MessageInfo)

type MercuryCruiseControlData

type MercuryCruiseControlData struct {
	Info                MessageInfo `json:"info"`
	ManufacturerCode    *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode        *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Opcode              *uint64     `json:"opcode,omitempty" n2k:"4"`
	EngineInstance      *uint64     `json:"engineInstance,omitempty" n2k:"5"`
	CruiseState         *uint64     `json:"cruiseState,omitempty" n2k:"7"`
	CruiseRpmSetpoint   *uint64     `json:"cruiseRpmSetpoint,omitempty" n2k:"8"`
	CruiseSpeedSetpoint *uint64     `json:"cruiseSpeedSetpoint,omitempty" n2k:"9"`
}

func (*MercuryCruiseControlData) Clone added in v1.3.0

func (m *MercuryCruiseControlData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MercuryCruiseControlData) CruiseRpmSetpointValue

func (m *MercuryCruiseControlData) CruiseRpmSetpointValue() (float64, bool)

CruiseRpmSetpointValue returns CruiseRpmSetpoint as a physical value in rpm (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MercuryCruiseControlData) CruiseSpeedSetpointValue

func (m *MercuryCruiseControlData) CruiseSpeedSetpointValue() (float64, bool)

CruiseSpeedSetpointValue returns CruiseSpeedSetpoint as a physical value in km/h (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MercuryCruiseControlData) DecodePayload

func (m *MercuryCruiseControlData) DecodePayload(payload []uint8) error

func (*MercuryCruiseControlData) EncodePayload

func (m *MercuryCruiseControlData) EncodePayload() ([]uint8, error)

func (*MercuryCruiseControlData) MessageInfo

func (m *MercuryCruiseControlData) MessageInfo() MessageInfo

func (*MercuryCruiseControlData) PGNNumber

func (m *MercuryCruiseControlData) PGNNumber() uint32

func (*MercuryCruiseControlData) SetCruiseRpmSetpointValue

func (m *MercuryCruiseControlData) SetCruiseRpmSetpointValue(v float64)

SetCruiseRpmSetpointValue sets CruiseRpmSetpoint from a physical value in rpm, rounded to the nearest wire tick of 1.

func (*MercuryCruiseControlData) SetCruiseSpeedSetpointValue

func (m *MercuryCruiseControlData) SetCruiseSpeedSetpointValue(v float64)

SetCruiseSpeedSetpointValue sets CruiseSpeedSetpoint from a physical value in km/h, rounded to the nearest wire tick of 0.01.

func (*MercuryCruiseControlData) SetMessageInfo

func (m *MercuryCruiseControlData) SetMessageInfo(info MessageInfo)

type MercuryEngineData

type MercuryEngineData struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*MercuryEngineData) Clone added in v1.3.0

func (m *MercuryEngineData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MercuryEngineData) DecodePayload

func (m *MercuryEngineData) DecodePayload(payload []uint8) error

func (*MercuryEngineData) EncodePayload

func (m *MercuryEngineData) EncodePayload() ([]uint8, error)

func (*MercuryEngineData) MessageInfo

func (m *MercuryEngineData) MessageInfo() MessageInfo

func (*MercuryEngineData) PGNNumber

func (m *MercuryEngineData) PGNNumber() uint32

func (*MercuryEngineData) SetMessageInfo

func (m *MercuryEngineData) SetMessageInfo(info MessageInfo)

type MercuryEngineKeyValueData

type MercuryEngineKeyValueData struct {
	Info             MessageInfo                           `json:"info"`
	ManufacturerCode *uint64                               `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64                               `json:"industryCode,omitempty" n2k:"3"`
	Repeating1       []MercuryEngineKeyValueDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*MercuryEngineKeyValueData) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MercuryEngineKeyValueData) DecodePayload

func (m *MercuryEngineKeyValueData) DecodePayload(payload []uint8) error

func (*MercuryEngineKeyValueData) EncodePayload

func (m *MercuryEngineKeyValueData) EncodePayload() ([]uint8, error)

func (*MercuryEngineKeyValueData) MessageInfo

func (m *MercuryEngineKeyValueData) MessageInfo() MessageInfo

func (*MercuryEngineKeyValueData) PGNNumber

func (m *MercuryEngineKeyValueData) PGNNumber() uint32

func (*MercuryEngineKeyValueData) SetMessageInfo

func (m *MercuryEngineKeyValueData) SetMessageInfo(info MessageInfo)

type MercuryEngineKeyValueDataRepeating1

type MercuryEngineKeyValueDataRepeating1 struct {
	Key    *uint64 `json:"key,omitempty" n2k:"4"`
	Length *uint64 `json:"length,omitempty" n2k:"5"`
	Value  []uint8 `json:"value,omitempty" n2k:"6"`
}

type MercuryEngineStatus

type MercuryEngineStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	FieldA           []uint8     `json:"fieldA,omitempty" n2k:"5"`
	SubHelm          []uint8     `json:"subHelm,omitempty" n2k:"6"`
	Helm             []uint8     `json:"helm,omitempty" n2k:"7"`
	Capabilities     []uint8     `json:"capabilities,omitempty" n2k:"8"`
}

func (*MercuryEngineStatus) Clone added in v1.3.0

func (m *MercuryEngineStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MercuryEngineStatus) DecodePayload

func (m *MercuryEngineStatus) DecodePayload(payload []uint8) error

func (*MercuryEngineStatus) EncodePayload

func (m *MercuryEngineStatus) EncodePayload() ([]uint8, error)

func (*MercuryEngineStatus) MessageInfo

func (m *MercuryEngineStatus) MessageInfo() MessageInfo

func (*MercuryEngineStatus) PGNNumber

func (m *MercuryEngineStatus) PGNNumber() uint32

func (*MercuryEngineStatus) SetMessageInfo

func (m *MercuryEngineStatus) SetMessageInfo(info MessageInfo)

type MercuryEngineTelemetryLowSpeed

type MercuryEngineTelemetryLowSpeed struct {
	Info                  MessageInfo `json:"info"`
	ManufacturerCode      *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode          *uint64     `json:"industryCode,omitempty" n2k:"3"`
	EngineInstance        *uint64     `json:"engineInstance,omitempty" n2k:"4"`
	MalfunctionIndicator  *uint64     `json:"malfunctionIndicator,omitempty" n2k:"5"`
	IntakeAirTemperature  *uint64     `json:"intakeAirTemperature,omitempty" n2k:"6"`
	ExhaustGasTemperature *uint64     `json:"exhaustGasTemperature,omitempty" n2k:"7"`
	Gpl                   *uint64     `json:"gpl,omitempty" n2k:"8"`
	EngineState           *uint64     `json:"engineState,omitempty" n2k:"9"`
}

func (*MercuryEngineTelemetryLowSpeed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MercuryEngineTelemetryLowSpeed) DecodePayload

func (m *MercuryEngineTelemetryLowSpeed) DecodePayload(payload []uint8) error

func (*MercuryEngineTelemetryLowSpeed) EncodePayload

func (m *MercuryEngineTelemetryLowSpeed) EncodePayload() ([]uint8, error)

func (*MercuryEngineTelemetryLowSpeed) MessageInfo

func (*MercuryEngineTelemetryLowSpeed) PGNNumber

func (m *MercuryEngineTelemetryLowSpeed) PGNNumber() uint32

func (*MercuryEngineTelemetryLowSpeed) SetMessageInfo

func (m *MercuryEngineTelemetryLowSpeed) SetMessageInfo(info MessageInfo)

type MercuryKeyValueConst added in v1.3.0

type MercuryKeyValueConst uint16
const (
	MercuryKeyValueSmartContextualState                MercuryKeyValueConst = 5
	MercuryKeyValueEngine0Distance                     MercuryKeyValueConst = 8
	MercuryKeyValueTripTime                            MercuryKeyValueConst = 9
	MercuryKeyValueWaterDistance                       MercuryKeyValueConst = 10
	MercuryKeyValueTripSpeedAvg                        MercuryKeyValueConst = 11
	MercuryKeyValueTripSpeedMax                        MercuryKeyValueConst = 12
	MercuryKeyValueEngine1Distance                     MercuryKeyValueConst = 13
	MercuryKeyValueTripMaxSpeedRPM                     MercuryKeyValueConst = 14
	MercuryKeyValueTrollAndActiveTrimActiveHelm        MercuryKeyValueConst = 17
	MercuryKeyValueEngine0IntakeTemp                   MercuryKeyValueConst = 256
	MercuryKeyValueEngine1IntakeTemp                   MercuryKeyValueConst = 257
	MercuryKeyValueEngine0PredictiveGeneralMaintenance MercuryKeyValueConst = 272
	MercuryKeyValueEngine1PredictiveGeneralMaintenance MercuryKeyValueConst = 273
	MercuryKeyValueEngine0Throttle                     MercuryKeyValueConst = 288
	MercuryKeyValueEngine1Throttle                     MercuryKeyValueConst = 289
	MercuryKeyValueEngine0TrimStatus                   MercuryKeyValueConst = 336
	MercuryKeyValueEngine1TrimStatus                   MercuryKeyValueConst = 337
	MercuryKeyValueEngine0TransGear                    MercuryKeyValueConst = 352
	MercuryKeyValueEngine0MalfunctionIndicatorLight    MercuryKeyValueConst = 368
	MercuryKeyValueEngine1MalfunctionIndicatorLight    MercuryKeyValueConst = 369
	MercuryKeyValueEngine0EngineWarningFlags           MercuryKeyValueConst = 384
	MercuryKeyValueEngine1EngineWarningFlags           MercuryKeyValueConst = 385
	MercuryKeyValueEngine0EngineControlFlags           MercuryKeyValueConst = 400
	MercuryKeyValueEngine1EngineControlFlags           MercuryKeyValueConst = 401
	MercuryKeyValueEngine0IdleRPMSetpoint              MercuryKeyValueConst = 416
	MercuryKeyValueEngine1IdleRPMSetpoint              MercuryKeyValueConst = 417
	MercuryKeyValueEngine0FuelUsed                     MercuryKeyValueConst = 432
	MercuryKeyValueEngine1FuelUsed                     MercuryKeyValueConst = 433
	MercuryKeyValueEngine0FuelUsedTrip                 MercuryKeyValueConst = 448
	MercuryKeyValueEngine1FuelUsedTrip                 MercuryKeyValueConst = 449
	MercuryKeyValueEngine0FuelUsedSeason               MercuryKeyValueConst = 464
	MercuryKeyValueEngine1FuelUsedSeason               MercuryKeyValueConst = 465
	MercuryKeyValueEngine0EngineType                   MercuryKeyValueConst = 480
	MercuryKeyValueEngine1EngineType                   MercuryKeyValueConst = 481
	MercuryKeyValueEngine0FourStrokeEngineOil          MercuryKeyValueConst = 496
	MercuryKeyValueEngine1FourStrokeEngineOil          MercuryKeyValueConst = 497
	MercuryKeyValueEngine0ExhaustValve                 MercuryKeyValueConst = 512
	MercuryKeyValueEngine1ExhaustValve                 MercuryKeyValueConst = 513
	MercuryKeyValueEngine0ExhaustStatus                MercuryKeyValueConst = 528
	MercuryKeyValueEngine1ExhaustStatus                MercuryKeyValueConst = 529
)

func (MercuryKeyValueConst) GoString added in v1.3.0

func (e MercuryKeyValueConst) GoString() string

func (MercuryKeyValueConst) String added in v1.3.0

func (e MercuryKeyValueConst) String() string

type Message

type Message interface {
	PGNNumber() uint32
}

func CloneMessage added in v1.3.0

func CloneMessage(msg Message) (Message, error)

CloneMessage copies a message at an ownership boundary. Generated messages own all fields and retained wire bytes in the result. Custom message types can participate by implementing Clone() Message with the same ownership contract; types without that contract return an error.

type Message0x1ed000x1ee00StandardizedFastPacketAddressed

type Message0x1ed000x1ee00StandardizedFastPacketAddressed struct {
	Info MessageInfo `json:"info"`
	Data []uint8     `json:"data,omitempty" n2k:"1"`
}

func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) DecodePayload

func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) EncodePayload

func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) MessageInfo

func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) PGNNumber

func (*Message0x1ed000x1ee00StandardizedFastPacketAddressed) SetMessageInfo

type Message0x1ef00ManufacturerProprietaryFastPacketAddressed

type Message0x1ef00ManufacturerProprietaryFastPacketAddressed struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) DecodePayload

func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) EncodePayload

func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) MessageInfo

func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) PGNNumber

func (*Message0x1ef00ManufacturerProprietaryFastPacketAddressed) SetMessageInfo

type Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed

type Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed struct {
	Info MessageInfo `json:"info"`
	Data []uint8     `json:"data,omitempty" n2k:"1"`
}

func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) DecodePayload

func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) EncodePayload

func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) MessageInfo

func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) PGNNumber

func (*Message0x1f0000x1feffStandardizedMixedSingleFastPacketNonAddressed) SetMessageInfo

type Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed

type Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) DecodePayload

func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) EncodePayload

func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) MessageInfo

func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) PGNNumber

func (*Message0x1ff000x1ffffManufacturerSpecificFastPacketNonAddressed) SetMessageInfo

type Message0xe8000xee00StandardizedSingleFrameAddressed

type Message0xe8000xee00StandardizedSingleFrameAddressed struct {
	Info MessageInfo `json:"info"`
	Data []uint8     `json:"data,omitempty" n2k:"1"`
}

func (*Message0xe8000xee00StandardizedSingleFrameAddressed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Message0xe8000xee00StandardizedSingleFrameAddressed) DecodePayload

func (*Message0xe8000xee00StandardizedSingleFrameAddressed) EncodePayload

func (*Message0xe8000xee00StandardizedSingleFrameAddressed) MessageInfo

func (*Message0xe8000xee00StandardizedSingleFrameAddressed) PGNNumber

func (*Message0xe8000xee00StandardizedSingleFrameAddressed) SetMessageInfo

type Message0xef00ManufacturerProprietarySingleFrameAddressed

type Message0xef00ManufacturerProprietarySingleFrameAddressed struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) DecodePayload

func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) EncodePayload

func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) MessageInfo

func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) PGNNumber

func (*Message0xef00ManufacturerProprietarySingleFrameAddressed) SetMessageInfo

type Message0xf0000xfeffStandardizedSingleFrameNonAddressed

type Message0xf0000xfeffStandardizedSingleFrameNonAddressed struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) DecodePayload

func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) EncodePayload

func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) MessageInfo

func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) PGNNumber

func (*Message0xf0000xfeffStandardizedSingleFrameNonAddressed) SetMessageInfo

type Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed

type Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) DecodePayload

func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) EncodePayload

func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) MessageInfo

func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) PGNNumber

func (*Message0xff000xffffManufacturerProprietarySingleFrameNonAddressed) SetMessageInfo

type MessageInfo

type MessageInfo struct {
	Timestamp             time.Time     `json:"timestamp"`
	ReceivedAt            time.Time     `json:"receivedAt,omitempty"`
	TransportTimestamp    time.Duration `json:"transportTimestamp,omitempty"`
	HasTransportTimestamp bool          `json:"hasTransportTimestamp,omitempty"`
	AdapterID             string        `json:"adapterId,omitempty"`
	NetworkID             string        `json:"networkId,omitempty"`
	Direction             raw.Direction `json:"direction,omitempty"`
	ConnectionEpoch       uint64        `json:"connectionEpoch,omitempty"`
	ClaimEpoch            uint64        `json:"claimEpoch,omitempty"`
	// DecodeIssues makes partial decoding explicit while retained wire bytes
	// continue to support unchanged forwarding.
	DecodeIssues []string `json:"decodeIssues,omitempty"`
	Priority     *uint8   `json:"priority"`
	PGN          uint32   `json:"pgn"`
	SourceId     uint8    `json:"sourceId"`
	TargetId     *uint8   `json:"targetId"`
	// contains filtered or unexported fields
}

MessageInfo carries the CAN bus header metadata that accompanies every NMEA 2000 message. It is extracted from the CAN frame's 29-bit identifier and timestamp before the payload is passed to a PGN decoder. Every PGN struct embeds a MessageInfo as its "info" field, with an exported MessageInfo() accessor.

func (MessageInfo) Clone added in v1.3.0

func (info MessageInfo) Clone() MessageInfo

Clone returns independently owned metadata, including retained wire bytes.

type MeteorologicalStationData

type MeteorologicalStationData struct {
	Info                MessageInfo `json:"info"`
	Mode                *uint64     `json:"mode,omitempty" n2k:"1"`
	MeasurementDate     *uint64     `json:"measurementDate,omitempty" n2k:"3"`
	MeasurementTime     *uint64     `json:"measurementTime,omitempty" n2k:"4"`
	StationLatitude     *int64      `json:"stationLatitude,omitempty" n2k:"5"`
	StationLongitude    *int64      `json:"stationLongitude,omitempty" n2k:"6"`
	WindSpeed           *uint64     `json:"windSpeed,omitempty" n2k:"7"`
	WindDirection       *uint64     `json:"windDirection,omitempty" n2k:"8"`
	WindReference       *uint64     `json:"windReference,omitempty" n2k:"9"`
	WindGusts           *uint64     `json:"windGusts,omitempty" n2k:"11"`
	AtmosphericPressure *uint64     `json:"atmosphericPressure,omitempty" n2k:"12"`
	AmbientTemperature  *uint64     `json:"ambientTemperature,omitempty" n2k:"13"`
	StationId           string      `json:"stationId,omitempty" n2k:"14"`
	StationName         string      `json:"stationName,omitempty" n2k:"15"`
}

func (*MeteorologicalStationData) AmbientTemperatureValue

func (m *MeteorologicalStationData) AmbientTemperatureValue() (float64, bool)

AmbientTemperatureValue returns AmbientTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MeteorologicalStationData) AtmosphericPressureValue

func (m *MeteorologicalStationData) AtmosphericPressureValue() (float64, bool)

AtmosphericPressureValue returns AtmosphericPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MeteorologicalStationData) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*MeteorologicalStationData) DecodePayload

func (m *MeteorologicalStationData) DecodePayload(payload []uint8) error

func (*MeteorologicalStationData) EncodePayload

func (m *MeteorologicalStationData) EncodePayload() ([]uint8, error)

func (*MeteorologicalStationData) MeasurementDateValue

func (m *MeteorologicalStationData) MeasurementDateValue() (float64, bool)

MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MeteorologicalStationData) MeasurementTimeValue

func (m *MeteorologicalStationData) MeasurementTimeValue() (float64, bool)

MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MeteorologicalStationData) MessageInfo

func (m *MeteorologicalStationData) MessageInfo() MessageInfo

func (*MeteorologicalStationData) PGNNumber

func (m *MeteorologicalStationData) PGNNumber() uint32

func (*MeteorologicalStationData) SetAmbientTemperatureValue

func (m *MeteorologicalStationData) SetAmbientTemperatureValue(v float64)

SetAmbientTemperatureValue sets AmbientTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*MeteorologicalStationData) SetAtmosphericPressureValue

func (m *MeteorologicalStationData) SetAtmosphericPressureValue(v float64)

SetAtmosphericPressureValue sets AtmosphericPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*MeteorologicalStationData) SetMeasurementDateValue

func (m *MeteorologicalStationData) SetMeasurementDateValue(v float64)

SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*MeteorologicalStationData) SetMeasurementTimeValue

func (m *MeteorologicalStationData) SetMeasurementTimeValue(v float64)

SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*MeteorologicalStationData) SetMessageInfo

func (m *MeteorologicalStationData) SetMessageInfo(info MessageInfo)

func (*MeteorologicalStationData) SetStationLatitudeValue

func (m *MeteorologicalStationData) SetStationLatitudeValue(v float64)

SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*MeteorologicalStationData) SetStationLongitudeValue

func (m *MeteorologicalStationData) SetStationLongitudeValue(v float64)

SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*MeteorologicalStationData) SetWindDirectionValue

func (m *MeteorologicalStationData) SetWindDirectionValue(v float64)

SetWindDirectionValue sets WindDirection from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*MeteorologicalStationData) SetWindGustsValue

func (m *MeteorologicalStationData) SetWindGustsValue(v float64)

SetWindGustsValue sets WindGusts from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*MeteorologicalStationData) SetWindSpeedValue

func (m *MeteorologicalStationData) SetWindSpeedValue(v float64)

SetWindSpeedValue sets WindSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*MeteorologicalStationData) StationLatitudeValue

func (m *MeteorologicalStationData) StationLatitudeValue() (float64, bool)

StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MeteorologicalStationData) StationLongitudeValue

func (m *MeteorologicalStationData) StationLongitudeValue() (float64, bool)

StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MeteorologicalStationData) WindDirectionValue

func (m *MeteorologicalStationData) WindDirectionValue() (float64, bool)

WindDirectionValue returns WindDirection as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MeteorologicalStationData) WindGustsValue

func (m *MeteorologicalStationData) WindGustsValue() (float64, bool)

WindGustsValue returns WindGusts as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MeteorologicalStationData) WindSpeedValue

func (m *MeteorologicalStationData) WindSpeedValue() (float64, bool)

WindSpeedValue returns WindSpeed as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type MobPositionSourceConst

type MobPositionSourceConst uint8
const (
	MobPositionSourcePositionEstimatedByTheVessel MobPositionSourceConst = 0
	MobPositionSourcePositionReportedByMOBEmitter MobPositionSourceConst = 1
)

func (MobPositionSourceConst) GoString

func (e MobPositionSourceConst) GoString() string

func (MobPositionSourceConst) String

func (e MobPositionSourceConst) String() string

type MobStatusConst

type MobStatusConst uint8
const (
	MobStatusMOBEmitterActivated              MobStatusConst = 0
	MobStatusManualOnBoardMOBButtonActivation MobStatusConst = 1
	MobStatusTestMode                         MobStatusConst = 2
	MobStatusMOBNotActive                     MobStatusConst = 3
)

func (MobStatusConst) GoString

func (e MobStatusConst) GoString() string

func (MobStatusConst) String

func (e MobStatusConst) String() string

type MooredBuoyStationData

type MooredBuoyStationData struct {
	Info                 MessageInfo `json:"info"`
	Mode                 *uint64     `json:"mode,omitempty" n2k:"1"`
	MeasurementDate      *uint64     `json:"measurementDate,omitempty" n2k:"3"`
	MeasurementTime      *uint64     `json:"measurementTime,omitempty" n2k:"4"`
	StationLatitude      *int64      `json:"stationLatitude,omitempty" n2k:"5"`
	StationLongitude     *int64      `json:"stationLongitude,omitempty" n2k:"6"`
	WindSpeed            *uint64     `json:"windSpeed,omitempty" n2k:"7"`
	WindDirection        *uint64     `json:"windDirection,omitempty" n2k:"8"`
	WindReference        *uint64     `json:"windReference,omitempty" n2k:"9"`
	WindGusts            *uint64     `json:"windGusts,omitempty" n2k:"11"`
	WaveHeight           *uint64     `json:"waveHeight,omitempty" n2k:"12"`
	DominantWavePeriod   *uint64     `json:"dominantWavePeriod,omitempty" n2k:"13"`
	AtmosphericPressure  *uint64     `json:"atmosphericPressure,omitempty" n2k:"14"`
	PressureTendencyRate *int64      `json:"pressureTendencyRate,omitempty" n2k:"15"`
	AirTemperature       *uint64     `json:"airTemperature,omitempty" n2k:"16"`
	WaterTemperature     *uint64     `json:"waterTemperature,omitempty" n2k:"17"`
	StationId            string      `json:"stationId,omitempty" n2k:"18"`
}

func (*MooredBuoyStationData) AirTemperatureValue

func (m *MooredBuoyStationData) AirTemperatureValue() (float64, bool)

AirTemperatureValue returns AirTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) AtmosphericPressureValue

func (m *MooredBuoyStationData) AtmosphericPressureValue() (float64, bool)

AtmosphericPressureValue returns AtmosphericPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) Clone added in v1.3.0

func (m *MooredBuoyStationData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*MooredBuoyStationData) DecodePayload

func (m *MooredBuoyStationData) DecodePayload(payload []uint8) error

func (*MooredBuoyStationData) DominantWavePeriodValue

func (m *MooredBuoyStationData) DominantWavePeriodValue() (float64, bool)

DominantWavePeriodValue returns DominantWavePeriod as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) EncodePayload

func (m *MooredBuoyStationData) EncodePayload() ([]uint8, error)

func (*MooredBuoyStationData) MeasurementDateValue

func (m *MooredBuoyStationData) MeasurementDateValue() (float64, bool)

MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) MeasurementTimeValue

func (m *MooredBuoyStationData) MeasurementTimeValue() (float64, bool)

MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) MessageInfo

func (m *MooredBuoyStationData) MessageInfo() MessageInfo

func (*MooredBuoyStationData) PGNNumber

func (m *MooredBuoyStationData) PGNNumber() uint32

func (*MooredBuoyStationData) PressureTendencyRateValue

func (m *MooredBuoyStationData) PressureTendencyRateValue() (float64, bool)

PressureTendencyRateValue returns PressureTendencyRate as a physical value in Pa/hr (value = raw * 10). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) SetAirTemperatureValue

func (m *MooredBuoyStationData) SetAirTemperatureValue(v float64)

SetAirTemperatureValue sets AirTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*MooredBuoyStationData) SetAtmosphericPressureValue

func (m *MooredBuoyStationData) SetAtmosphericPressureValue(v float64)

SetAtmosphericPressureValue sets AtmosphericPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*MooredBuoyStationData) SetDominantWavePeriodValue

func (m *MooredBuoyStationData) SetDominantWavePeriodValue(v float64)

SetDominantWavePeriodValue sets DominantWavePeriod from a physical value in s, rounded to the nearest wire tick of 0.01.

func (*MooredBuoyStationData) SetMeasurementDateValue

func (m *MooredBuoyStationData) SetMeasurementDateValue(v float64)

SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*MooredBuoyStationData) SetMeasurementTimeValue

func (m *MooredBuoyStationData) SetMeasurementTimeValue(v float64)

SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*MooredBuoyStationData) SetMessageInfo

func (m *MooredBuoyStationData) SetMessageInfo(info MessageInfo)

func (*MooredBuoyStationData) SetPressureTendencyRateValue

func (m *MooredBuoyStationData) SetPressureTendencyRateValue(v float64)

SetPressureTendencyRateValue sets PressureTendencyRate from a physical value in Pa/hr, rounded to the nearest wire tick of 10.

func (*MooredBuoyStationData) SetStationLatitudeValue

func (m *MooredBuoyStationData) SetStationLatitudeValue(v float64)

SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*MooredBuoyStationData) SetStationLongitudeValue

func (m *MooredBuoyStationData) SetStationLongitudeValue(v float64)

SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*MooredBuoyStationData) SetWaterTemperatureValue

func (m *MooredBuoyStationData) SetWaterTemperatureValue(v float64)

SetWaterTemperatureValue sets WaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*MooredBuoyStationData) SetWaveHeightValue

func (m *MooredBuoyStationData) SetWaveHeightValue(v float64)

SetWaveHeightValue sets WaveHeight from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*MooredBuoyStationData) SetWindDirectionValue

func (m *MooredBuoyStationData) SetWindDirectionValue(v float64)

SetWindDirectionValue sets WindDirection from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*MooredBuoyStationData) SetWindGustsValue

func (m *MooredBuoyStationData) SetWindGustsValue(v float64)

SetWindGustsValue sets WindGusts from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*MooredBuoyStationData) SetWindSpeedValue

func (m *MooredBuoyStationData) SetWindSpeedValue(v float64)

SetWindSpeedValue sets WindSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*MooredBuoyStationData) StationLatitudeValue

func (m *MooredBuoyStationData) StationLatitudeValue() (float64, bool)

StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) StationLongitudeValue

func (m *MooredBuoyStationData) StationLongitudeValue() (float64, bool)

StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) WaterTemperatureValue

func (m *MooredBuoyStationData) WaterTemperatureValue() (float64, bool)

WaterTemperatureValue returns WaterTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) WaveHeightValue

func (m *MooredBuoyStationData) WaveHeightValue() (float64, bool)

WaveHeightValue returns WaveHeight as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) WindDirectionValue

func (m *MooredBuoyStationData) WindDirectionValue() (float64, bool)

WindDirectionValue returns WindDirection as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) WindGustsValue

func (m *MooredBuoyStationData) WindGustsValue() (float64, bool)

WindGustsValue returns WindGusts as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*MooredBuoyStationData) WindSpeedValue

func (m *MooredBuoyStationData) WindSpeedValue() (float64, bool)

WindSpeedValue returns WindSpeed as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type NavStatusConst uint8
const (
	NavStatusUnderWayUsingEngine                            NavStatusConst = 0
	NavStatusAtAnchor                                       NavStatusConst = 1
	NavStatusNotUnderCommand                                NavStatusConst = 2
	NavStatusRestrictedManeuverability                      NavStatusConst = 3
	NavStatusConstrainedByHerDraught                        NavStatusConst = 4
	NavStatusMoored                                         NavStatusConst = 5
	NavStatusAground                                        NavStatusConst = 6
	NavStatusEngagedInFishing                               NavStatusConst = 7
	NavStatusUnderWaySailing                                NavStatusConst = 8
	NavStatusHazardousMaterialHighSpeed                     NavStatusConst = 9
	NavStatusHazardousMaterialWingInGround                  NavStatusConst = 10
	NavStatusPowerDrivenVesselTowingAstern                  NavStatusConst = 11
	NavStatusPowerDrivenVesselPushingAheadOrTowingAlongside NavStatusConst = 12
	NavStatusAISSART                                        NavStatusConst = 14
)
func (e NavStatusConst) GoString() string
func (e NavStatusConst) String() string
type NavicoAlarm struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"4"`
	RecordId         *uint64     `json:"recordId,omitempty" n2k:"5"`
	AlarmType        *uint64     `json:"alarmType,omitempty" n2k:"6"`
	AlarmId          *uint64     `json:"alarmId,omitempty" n2k:"7"`
	AlarmState       *uint64     `json:"alarmState,omitempty" n2k:"8"`
	ActionFlag       *uint64     `json:"actionFlag,omitempty" n2k:"9"`
	AlarmSeverity    *uint64     `json:"alarmSeverity,omitempty" n2k:"10"`
	Value            *uint64     `json:"value,omitempty" n2k:"11"`
}
func (m *NavicoAlarm) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoAlarm) DecodePayload(payload []uint8) error
func (m *NavicoAlarm) EncodePayload() ([]uint8, error)
func (m *NavicoAlarm) MessageInfo() MessageInfo
func (m *NavicoAlarm) PGNNumber() uint32
func (m *NavicoAlarm) SetMessageInfo(info MessageInfo)
type NavicoAsciiData struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	A                *uint64     `json:"a,omitempty" n2k:"4"`
	Message          string      `json:"message,omitempty" n2k:"5"`
}
func (m *NavicoAsciiData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoAsciiData) DecodePayload(payload []uint8) error
func (m *NavicoAsciiData) EncodePayload() ([]uint8, error)
func (m *NavicoAsciiData) MessageInfo() MessageInfo
func (m *NavicoAsciiData) PGNNumber() uint32
func (m *NavicoAsciiData) SetMessageInfo(info MessageInfo)
type NavicoAsciiIdentifier struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Identifier       string      `json:"identifier,omitempty" n2k:"4"`
}
func (m *NavicoAsciiIdentifier) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoAsciiIdentifier) DecodePayload(payload []uint8) error
func (m *NavicoAsciiIdentifier) EncodePayload() ([]uint8, error)
func (m *NavicoAsciiIdentifier) MessageInfo() MessageInfo
func (m *NavicoAsciiIdentifier) PGNNumber() uint32
func (m *NavicoAsciiIdentifier) SetMessageInfo(info MessageInfo)
type NavicoBoatSpeedPolarTable struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ReportType       *uint64     `json:"reportType,omitempty" n2k:"6"`
	Part             *uint64     `json:"part,omitempty" n2k:"7"`
	Data             []uint8     `json:"data,omitempty" n2k:"9"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoBoatSpeedPolarTable) DecodePayload(payload []uint8) error
func (m *NavicoBoatSpeedPolarTable) EncodePayload() ([]uint8, error)
func (m *NavicoBoatSpeedPolarTable) MessageInfo() MessageInfo
func (m *NavicoBoatSpeedPolarTable) PGNNumber() uint32
func (m *NavicoBoatSpeedPolarTable) SetMessageInfo(info MessageInfo)
type NavicoConfigurationSet struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Marker           *uint64     `json:"marker,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Address          *uint64     `json:"address,omitempty" n2k:"7"`
	Section          *uint64     `json:"section,omitempty" n2k:"8"`
	Item             *uint64     `json:"item,omitempty" n2k:"9"`
	SourceSettingId  *uint64     `json:"sourceSettingId,omitempty" n2k:"11"`
	Token            *uint64     `json:"token,omitempty" n2k:"13"`
	Length           *uint64     `json:"length,omitempty" n2k:"14"`
	Value            []uint8     `json:"value,omitempty" n2k:"15"`
}
func (m *NavicoConfigurationSet) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoConfigurationSet) DecodePayload(payload []uint8) error
func (m *NavicoConfigurationSet) EncodePayload() ([]uint8, error)
func (m *NavicoConfigurationSet) MessageInfo() MessageInfo
func (m *NavicoConfigurationSet) PGNNumber() uint32
func (m *NavicoConfigurationSet) SetMessageInfo(info MessageInfo)
type NavicoDataTypeConst uint16
const (
	NavicoDataTypeAltitude                                    NavicoDataTypeConst = 0
	NavicoDataTypePosition                                    NavicoDataTypeConst = 1
	NavicoDataTypePositionError                               NavicoDataTypeConst = 2
	NavicoDataTypeHDOP                                        NavicoDataTypeConst = 3
	NavicoDataTypeVDOP                                        NavicoDataTypeConst = 4
	NavicoDataTypeTDOP                                        NavicoDataTypeConst = 5
	NavicoDataTypePDOP                                        NavicoDataTypeConst = 6
	NavicoDataTypeGeoidalSeperation                           NavicoDataTypeConst = 7
	NavicoDataTypeCOG                                         NavicoDataTypeConst = 8
	NavicoDataTypePositionQuality                             NavicoDataTypeConst = 9
	NavicoDataTypePositionIntegrity                           NavicoDataTypeConst = 10
	NavicoDataTypeSatsInView                                  NavicoDataTypeConst = 11
	NavicoDataTypeWaasStatus                                  NavicoDataTypeConst = 12
	NavicoDataTypeBearing                                     NavicoDataTypeConst = 13
	NavicoDataTypeCourse                                      NavicoDataTypeConst = 14
	NavicoDataTypeCDIGraphic                                  NavicoDataTypeConst = 15
	NavicoDataTypeCourseToSteer                               NavicoDataTypeConst = 16
	NavicoDataTypeCrossTrack                                  NavicoDataTypeConst = 17
	NavicoDataTypeVelocityMadeGood                            NavicoDataTypeConst = 18
	NavicoDataTypeDestination                                 NavicoDataTypeConst = 19
	NavicoDataTypeDistanceToTurn                              NavicoDataTypeConst = 20
	NavicoDataTypeDistanceToDest                              NavicoDataTypeConst = 21
	NavicoDataTypeTimeToTurn                                  NavicoDataTypeConst = 22
	NavicoDataTypeTimeToDest                                  NavicoDataTypeConst = 23
	NavicoDataTypeETAAtTurn                                   NavicoDataTypeConst = 24
	NavicoDataTypeETAAtDest                                   NavicoDataTypeConst = 25
	NavicoDataTypeTotalDistance                               NavicoDataTypeConst = 26
	NavicoDataTypeSteerArrow                                  NavicoDataTypeConst = 27
	NavicoDataTypeOdometer                                    NavicoDataTypeConst = 28
	NavicoDataTypeTripDistance                                NavicoDataTypeConst = 29
	NavicoDataTypeTripTime                                    NavicoDataTypeConst = 30
	NavicoDataTypeDate                                        NavicoDataTypeConst = 31
	NavicoDataTypeTime                                        NavicoDataTypeConst = 32
	NavicoDataTypeUTCDate                                     NavicoDataTypeConst = 33
	NavicoDataTypeUTCTime                                     NavicoDataTypeConst = 34
	NavicoDataTypeLocalTimeOffset                             NavicoDataTypeConst = 35
	NavicoDataTypeHeading                                     NavicoDataTypeConst = 36
	NavicoDataTypeWasVoltage                                  NavicoDataTypeConst = 37
	NavicoDataTypeCurrentSet                                  NavicoDataTypeConst = 38
	NavicoDataTypeCurrentDrift                                NavicoDataTypeConst = 39
	NavicoDataTypeSpeedSOG                                    NavicoDataTypeConst = 40
	NavicoDataTypeSpeedWater                                  NavicoDataTypeConst = 41
	NavicoDataTypeSpeedPitot                                  NavicoDataTypeConst = 42
	NavicoDataTypeSpeedTripAvg                                NavicoDataTypeConst = 43
	NavicoDataTypeSpeedTripMax                                NavicoDataTypeConst = 44
	NavicoDataTypeSpeedWindApp                                NavicoDataTypeConst = 45
	NavicoDataTypeSpeedWindTrue                               NavicoDataTypeConst = 46
	NavicoDataTypeTempWater                                   NavicoDataTypeConst = 47
	NavicoDataTypeTempOutside                                 NavicoDataTypeConst = 48
	NavicoDataTypeTempInside                                  NavicoDataTypeConst = 49
	NavicoDataTypeTempEngineRoom                              NavicoDataTypeConst = 50
	NavicoDataTypeTempMainCabin                               NavicoDataTypeConst = 51
	NavicoDataTypeTempLiveWell                                NavicoDataTypeConst = 52
	NavicoDataTypeTempBaitWell                                NavicoDataTypeConst = 53
	NavicoDataTypeTempRefrigeration                           NavicoDataTypeConst = 54
	NavicoDataTypeTempHeatingSystem                           NavicoDataTypeConst = 55
	NavicoDataTypeTempDewPoint                                NavicoDataTypeConst = 56
	NavicoDataTypeTempWindChillApp                            NavicoDataTypeConst = 57
	NavicoDataTypeTempWindChillTheoretic                      NavicoDataTypeConst = 58
	NavicoDataTypeTempHeatIndex                               NavicoDataTypeConst = 59
	NavicoDataTypeTempFreezer                                 NavicoDataTypeConst = 60
	NavicoDataTypeEngineTemp                                  NavicoDataTypeConst = 61
	NavicoDataTypeEngineAirTemp                               NavicoDataTypeConst = 62
	NavicoDataTypeEngineOilTemp                               NavicoDataTypeConst = 63
	NavicoDataTypeTempBattery                                 NavicoDataTypeConst = 64
	NavicoDataTypePressureAtmospheric                         NavicoDataTypeConst = 65
	NavicoDataTypeEngineBoostPres                             NavicoDataTypeConst = 66
	NavicoDataTypeEngineOilPres                               NavicoDataTypeConst = 67
	NavicoDataTypeEngineWaterPres                             NavicoDataTypeConst = 68
	NavicoDataTypeEngineFuelPres                              NavicoDataTypeConst = 69
	NavicoDataTypeEngineManifoldPres                          NavicoDataTypeConst = 70
	NavicoDataTypePressureSteam                               NavicoDataTypeConst = 71
	NavicoDataTypePressureComprAir                            NavicoDataTypeConst = 72
	NavicoDataTypePressureHydraulic                           NavicoDataTypeConst = 73
	NavicoDataTypeWasGenericPressureLo                        NavicoDataTypeConst = 74
	NavicoDataTypeWasGenericPressureHi                        NavicoDataTypeConst = 75
	NavicoDataTypeDepth                                       NavicoDataTypeConst = 76
	NavicoDataTypeWaterDistance                               NavicoDataTypeConst = 77
	NavicoDataTypeEngineRPM                                   NavicoDataTypeConst = 78
	NavicoDataTypeEngineTrim                                  NavicoDataTypeConst = 79
	NavicoDataTypeEngineAlternatorPotential                   NavicoDataTypeConst = 80
	NavicoDataTypeEngineFuelRate                              NavicoDataTypeConst = 81
	NavicoDataTypeEnginePercentLoad                           NavicoDataTypeConst = 82
	NavicoDataTypeEnginePercentTorque                         NavicoDataTypeConst = 83
	NavicoDataTypeWasSuzukiAlarmLevLo                         NavicoDataTypeConst = 84
	NavicoDataTypeWasSuzukiAlarmLevHigh                       NavicoDataTypeConst = 85
	NavicoDataTypeTankFuelLevel                               NavicoDataTypeConst = 86
	NavicoDataTypeFluidLevelFreshWater                        NavicoDataTypeConst = 87
	NavicoDataTypeFluidLevelGrayWater                         NavicoDataTypeConst = 88
	NavicoDataTypeFluidLevelLiveWell                          NavicoDataTypeConst = 89
	NavicoDataTypeFluidLevelOil                               NavicoDataTypeConst = 90
	NavicoDataTypeFluidLevelBlackWater                        NavicoDataTypeConst = 91
	NavicoDataTypeTankFuelRemaining                           NavicoDataTypeConst = 92
	NavicoDataTypeFluidVolumeFreshWater                       NavicoDataTypeConst = 93
	NavicoDataTypeFluidVolumeGrayWater                        NavicoDataTypeConst = 94
	NavicoDataTypeFluidVolumeLiveWell                         NavicoDataTypeConst = 95
	NavicoDataTypeFluidVolumeOil                              NavicoDataTypeConst = 96
	NavicoDataTypeFluidVolumeBlackWater                       NavicoDataTypeConst = 97
	NavicoDataTypeGenFluidVolume                              NavicoDataTypeConst = 98
	NavicoDataTypeWasTankFuelLevelLo                          NavicoDataTypeConst = 99
	NavicoDataTypeWasFluidLevelLoFreshWater                   NavicoDataTypeConst = 100
	NavicoDataTypeWasFluidLevelLoGrayWater                    NavicoDataTypeConst = 101
	NavicoDataTypeWasFluidLevelLoLiveWell                     NavicoDataTypeConst = 102
	NavicoDataTypeWasFluidLevelLoOil                          NavicoDataTypeConst = 103
	NavicoDataTypeGenTankCapacity                             NavicoDataTypeConst = 104
	NavicoDataTypeTankFuelCapacity                            NavicoDataTypeConst = 105
	NavicoDataTypeTankCapacityFreshWater                      NavicoDataTypeConst = 106
	NavicoDataTypeTankCapacityGrayWater                       NavicoDataTypeConst = 107
	NavicoDataTypeTankCapacityLiveWell                        NavicoDataTypeConst = 108
	NavicoDataTypeTankCapacityOil                             NavicoDataTypeConst = 109
	NavicoDataTypeTankCapacityBlackWater                      NavicoDataTypeConst = 110
	NavicoDataTypeWasTankFuelUsed                             NavicoDataTypeConst = 111
	NavicoDataTypeEngineFuelUsed                              NavicoDataTypeConst = 112
	NavicoDataTypeEngineFuelUsedTrip                          NavicoDataTypeConst = 113
	NavicoDataTypeEngineFuelUsedSeasonal                      NavicoDataTypeConst = 114
	NavicoDataTypeEngineFuelKValue                            NavicoDataTypeConst = 115
	NavicoDataTypeBatteryPotential                            NavicoDataTypeConst = 116
	NavicoDataTypeBatteryCurrent                              NavicoDataTypeConst = 117
	NavicoDataTypeTrimTab                                     NavicoDataTypeConst = 118
	NavicoDataTypeWasTrimStbdTab                              NavicoDataTypeConst = 119
	NavicoDataTypeRateOfTurn                                  NavicoDataTypeConst = 120
	NavicoDataTypeAttitudeYaw                                 NavicoDataTypeConst = 121
	NavicoDataTypeAttitudePitch                               NavicoDataTypeConst = 122
	NavicoDataTypeAttitudeRoll                                NavicoDataTypeConst = 123
	NavicoDataTypeMagneticVariation                           NavicoDataTypeConst = 124
	NavicoDataTypeDeviation                                   NavicoDataTypeConst = 125
	NavicoDataTypeFuelEconomyWtr                              NavicoDataTypeConst = 126
	NavicoDataTypeFuelEconomyGPS                              NavicoDataTypeConst = 127
	NavicoDataTypeWasFuelRemaining                            NavicoDataTypeConst = 128
	NavicoDataTypeWasFuelRangeWtr                             NavicoDataTypeConst = 129
	NavicoDataTypeWasFuelRangeGPS                             NavicoDataTypeConst = 130
	NavicoDataTypeEngineHoursUsed                             NavicoDataTypeConst = 131
	NavicoDataTypeEngineType                                  NavicoDataTypeConst = 132
	NavicoDataTypeVesselFuelRate                              NavicoDataTypeConst = 133
	NavicoDataTypeVesselFuelEconomyWtr                        NavicoDataTypeConst = 134
	NavicoDataTypeVesselFuelEconomyGPS                        NavicoDataTypeConst = 135
	NavicoDataTypeVesselFuelRemaining                         NavicoDataTypeConst = 136
	NavicoDataTypeVesselFuelRangeWtr                          NavicoDataTypeConst = 137
	NavicoDataTypeVesselFuelRangeGPS                          NavicoDataTypeConst = 138
	NavicoDataTypeWindAppAngle                                NavicoDataTypeConst = 139
	NavicoDataTypeWindTrueAngle                               NavicoDataTypeConst = 140
	NavicoDataTypeWindTrueDirection                           NavicoDataTypeConst = 141
	NavicoDataTypeHumidityInside                              NavicoDataTypeConst = 142
	NavicoDataTypeHumidityOutside                             NavicoDataTypeConst = 143
	NavicoDataTypeSetHumidity                                 NavicoDataTypeConst = 144
	NavicoDataTypeRudderAngle                                 NavicoDataTypeConst = 145
	NavicoDataTypeTransGear                                   NavicoDataTypeConst = 146
	NavicoDataTypeTransOilPressure                            NavicoDataTypeConst = 147
	NavicoDataTypeTransOilTemp                                NavicoDataTypeConst = 148
	NavicoDataTypeCmdRudderAngle                              NavicoDataTypeConst = 149
	NavicoDataTypeRudderLimit                                 NavicoDataTypeConst = 150
	NavicoDataTypeOffHeadingLim                               NavicoDataTypeConst = 151
	NavicoDataTypeRadiusOfTurnOrder                           NavicoDataTypeConst = 152
	NavicoDataTypeRateOfTurnOrder                             NavicoDataTypeConst = 153
	NavicoDataTypeOffTrackLim                                 NavicoDataTypeConst = 154
	NavicoDataTypeLoggingTimeRemaining                        NavicoDataTypeConst = 155
	NavicoDataTypePositionFixType                             NavicoDataTypeConst = 156
	NavicoDataTypeEngineDiscreteStatus                        NavicoDataTypeConst = 157
	NavicoDataTypeTransmissionDiscreteStatus                  NavicoDataTypeConst = 158
	NavicoDataTypeGPSBestOfFourSnr                            NavicoDataTypeConst = 159
	NavicoDataTypeGenFluidLevel                               NavicoDataTypeConst = 160
	NavicoDataTypeGenPressure                                 NavicoDataTypeConst = 161
	NavicoDataTypeGenTemperature                              NavicoDataTypeConst = 162
	NavicoDataTypeInternalVoltage                             NavicoDataTypeConst = 163
	NavicoDataTypeDepthOffset                                 NavicoDataTypeConst = 164
	NavicoDataTypeStructureDepth                              NavicoDataTypeConst = 165
	NavicoDataTypeLoranPosition                               NavicoDataTypeConst = 166
	NavicoDataTypeVesselStatus                                NavicoDataTypeConst = 167
	NavicoDataTypeBatteryDCType                               NavicoDataTypeConst = 168
	NavicoDataTypeBatteryStateOfCharge                        NavicoDataTypeConst = 169
	NavicoDataTypeBatteryStateOfHealth                        NavicoDataTypeConst = 170
	NavicoDataTypeBatteryTimeRemaining                        NavicoDataTypeConst = 171
	NavicoDataTypeBatteryRippleVoltage                        NavicoDataTypeConst = 172
	NavicoDataTypeAc1Acceptability                            NavicoDataTypeConst = 173
	NavicoDataTypeAc2Acceptability                            NavicoDataTypeConst = 174
	NavicoDataTypeAc3Acceptability                            NavicoDataTypeConst = 175
	NavicoDataTypeAc1Voltage                                  NavicoDataTypeConst = 176
	NavicoDataTypeAc2Voltage                                  NavicoDataTypeConst = 177
	NavicoDataTypeAc3Voltage                                  NavicoDataTypeConst = 178
	NavicoDataTypeAc1Current                                  NavicoDataTypeConst = 179
	NavicoDataTypeAc2Current                                  NavicoDataTypeConst = 180
	NavicoDataTypeAc3Current                                  NavicoDataTypeConst = 181
	NavicoDataTypeAc1Frequency                                NavicoDataTypeConst = 182
	NavicoDataTypeAc2Frequency                                NavicoDataTypeConst = 183
	NavicoDataTypeAc3Frequency                                NavicoDataTypeConst = 184
	NavicoDataTypeAc1BreakerSize                              NavicoDataTypeConst = 185
	NavicoDataTypeAc2BreakerSize                              NavicoDataTypeConst = 186
	NavicoDataTypeAc3BreakerSize                              NavicoDataTypeConst = 187
	NavicoDataTypeAc1RealPower                                NavicoDataTypeConst = 188
	NavicoDataTypeAc2RealPower                                NavicoDataTypeConst = 189
	NavicoDataTypeAc3RealPower                                NavicoDataTypeConst = 190
	NavicoDataTypeAc1ReactivePower                            NavicoDataTypeConst = 191
	NavicoDataTypeAc2ReactivePower                            NavicoDataTypeConst = 192
	NavicoDataTypeAc3ReactivePower                            NavicoDataTypeConst = 193
	NavicoDataTypeAc1PowerFactor                              NavicoDataTypeConst = 194
	NavicoDataTypeAc2PowerFactor                              NavicoDataTypeConst = 195
	NavicoDataTypeAc3PowerFactor                              NavicoDataTypeConst = 196
	NavicoDataTypeSwitchState                                 NavicoDataTypeConst = 197
	NavicoDataTypeSwitchCurrent                               NavicoDataTypeConst = 198
	NavicoDataTypeSwitchFault                                 NavicoDataTypeConst = 199
	NavicoDataTypeSwitchDimLevel                              NavicoDataTypeConst = 200
	NavicoDataTypePreviousCmdHeading                          NavicoDataTypeConst = 201
	NavicoDataTypeCmdWindAngle                                NavicoDataTypeConst = 202
	NavicoDataTypeWasCmdBearingOffset                         NavicoDataTypeConst = 203
	NavicoDataTypeCmdBearing                                  NavicoDataTypeConst = 204
	NavicoDataTypeCmdDepthContour                             NavicoDataTypeConst = 205
	NavicoDataTypeCmdCourseChange                             NavicoDataTypeConst = 206
	NavicoDataTypePilotDrift                                  NavicoDataTypeConst = 207
	NavicoDataTypePilotDistanceToTurn                         NavicoDataTypeConst = 208
	NavicoDataTypePilotTimeToTurn                             NavicoDataTypeConst = 209
	NavicoDataTypePilotReferencePosition                      NavicoDataTypeConst = 210
	NavicoDataTypeDCStatus                                    NavicoDataTypeConst = 211
	NavicoDataTypeAc1Status                                   NavicoDataTypeConst = 212
	NavicoDataTypeWasSwitchVoltage                            NavicoDataTypeConst = 213
	NavicoDataTypeBatteryCapacityRemaining                    NavicoDataTypeConst = 214
	NavicoDataTypePilotHeadingReference                       NavicoDataTypeConst = 215
	NavicoDataTypeBAndGLinear1                                NavicoDataTypeConst = 216
	NavicoDataTypeBAndGLinear2                                NavicoDataTypeConst = 217
	NavicoDataTypeBAndGLinear3                                NavicoDataTypeConst = 218
	NavicoDataTypeBoomPosition                                NavicoDataTypeConst = 219
	NavicoDataTypeSailingCourse                               NavicoDataTypeConst = 220
	NavicoDataTypeDaggerboardPosition                         NavicoDataTypeConst = 221
	NavicoDataTypeBAndGLinear4                                NavicoDataTypeConst = 222
	NavicoDataTypeHeadingOnNextTack                           NavicoDataTypeConst = 223
	NavicoDataTypeKeelAngle                                   NavicoDataTypeConst = 224
	NavicoDataTypeLeeway                                      NavicoDataTypeConst = 225
	NavicoDataTypeMastAngle                                   NavicoDataTypeConst = 226
	NavicoDataTypeTargetTrueWindAngle                         NavicoDataTypeConst = 227
	NavicoDataTypeKeelTrimTab                                 NavicoDataTypeConst = 228
	NavicoDataTypeRaceTimer                                   NavicoDataTypeConst = 229
	NavicoDataTypeCanardAngle                                 NavicoDataTypeConst = 230
	NavicoDataTypeNextLegApparentWindAngle                    NavicoDataTypeConst = 231
	NavicoDataTypeNextLegApparentWindSpeed                    NavicoDataTypeConst = 232
	NavicoDataTypeTargetBoatSpeed                             NavicoDataTypeConst = 233
	NavicoDataTypeVMGToWind                                   NavicoDataTypeConst = 234
	NavicoDataTypeTimeToLaylines                              NavicoDataTypeConst = 235
	NavicoDataTypeDistanceToLaylines                          NavicoDataTypeConst = 236
	NavicoDataTypeAftDepth                                    NavicoDataTypeConst = 237
	NavicoDataTypeForestay                                    NavicoDataTypeConst = 238
	NavicoDataTypePolarSpeed                                  NavicoDataTypeConst = 239
	NavicoDataTypePolarPerformance                            NavicoDataTypeConst = 240
	NavicoDataTypeTackingPerformance                          NavicoDataTypeConst = 241
	NavicoDataTypeWindAngleToMast                             NavicoDataTypeConst = 242
	NavicoDataTypeCanBusVoltage                               NavicoDataTypeConst = 243
	NavicoDataTypeInternalTemperature                         NavicoDataTypeConst = 244
	NavicoDataTypeEngageCurrent                               NavicoDataTypeConst = 245
	NavicoDataTypeUrefVoltage                                 NavicoDataTypeConst = 246
	NavicoDataTypeSupplyVoltage                               NavicoDataTypeConst = 247
	NavicoDataTypeDestinationPosition                         NavicoDataTypeConst = 248
	NavicoDataTypeCompassHeadingReference                     NavicoDataTypeConst = 249
	NavicoDataTypeCmdRudderDirection                          NavicoDataTypeConst = 250
	NavicoDataTypeWasEngineSyncState                          NavicoDataTypeConst = 251
	NavicoDataTypeEngineGeneralMaintenance                    NavicoDataTypeConst = 252
	NavicoDataTypeEnginePercentThrottle                       NavicoDataTypeConst = 253
	NavicoDataTypeEngineSteeringAngle                         NavicoDataTypeConst = 254
	NavicoDataTypeEngineBreakInReqd                           NavicoDataTypeConst = 255
	NavicoDataTypeGPSAll                                      NavicoDataTypeConst = 256
	NavicoDataTypeEngineBreakInAccum                          NavicoDataTypeConst = 257
	NavicoDataTypeEngineTrimStatus                            NavicoDataTypeConst = 258
	NavicoDataTypePilotPresent                                NavicoDataTypeConst = 259
	NavicoDataTypeAc1OutWaveform                              NavicoDataTypeConst = 260
	NavicoDataTypeAc2OutWaveform                              NavicoDataTypeConst = 261
	NavicoDataTypeAc3OutWaveform                              NavicoDataTypeConst = 262
	NavicoDataTypeAc1OutVoltage                               NavicoDataTypeConst = 263
	NavicoDataTypeAc2OutVoltage                               NavicoDataTypeConst = 264
	NavicoDataTypeAc3OutVoltage                               NavicoDataTypeConst = 265
	NavicoDataTypeAc1OutCurrent                               NavicoDataTypeConst = 266
	NavicoDataTypeAc2OutCurrent                               NavicoDataTypeConst = 267
	NavicoDataTypeAc3OutCurrent                               NavicoDataTypeConst = 268
	NavicoDataTypeAc1OutFrequency                             NavicoDataTypeConst = 269
	NavicoDataTypeAc2OutFrequency                             NavicoDataTypeConst = 270
	NavicoDataTypeAc3OutFrequency                             NavicoDataTypeConst = 271
	NavicoDataTypeAc1OutBreakerSize                           NavicoDataTypeConst = 272
	NavicoDataTypeAc2OutBreakerSize                           NavicoDataTypeConst = 273
	NavicoDataTypeAc3OutBreakerSize                           NavicoDataTypeConst = 274
	NavicoDataTypeAc1OutRealPower                             NavicoDataTypeConst = 275
	NavicoDataTypeAc2OutRealPower                             NavicoDataTypeConst = 276
	NavicoDataTypeAc3OutRealPower                             NavicoDataTypeConst = 277
	NavicoDataTypeAc1OutReactivePower                         NavicoDataTypeConst = 278
	NavicoDataTypeAc2OutReactivePower                         NavicoDataTypeConst = 279
	NavicoDataTypeAc3OutReactivePower                         NavicoDataTypeConst = 280
	NavicoDataTypeAc1OutPowerFactor                           NavicoDataTypeConst = 281
	NavicoDataTypeAc2OutPowerFactor                           NavicoDataTypeConst = 282
	NavicoDataTypeAc3OutPowerFactor                           NavicoDataTypeConst = 283
	NavicoDataTypeAc2Status                                   NavicoDataTypeConst = 284
	NavicoDataTypeAc3Status                                   NavicoDataTypeConst = 285
	NavicoDataTypeAc1OutStatus                                NavicoDataTypeConst = 286
	NavicoDataTypeAc2OutStatus                                NavicoDataTypeConst = 287
	NavicoDataTypeAc3OutStatus                                NavicoDataTypeConst = 288
	NavicoDataTypeSwitchManualOverride                        NavicoDataTypeConst = 289
	NavicoDataTypeSwitchReversePolarity                       NavicoDataTypeConst = 290
	NavicoDataTypeSwitchAcsourceAvailable                     NavicoDataTypeConst = 291
	NavicoDataTypeSwitchAccontactorSystemsonstate             NavicoDataTypeConst = 292
	NavicoDataTypeChargerBatteryInstance                      NavicoDataTypeConst = 293
	NavicoDataTypeChargerOperatingState                       NavicoDataTypeConst = 294
	NavicoDataTypeChargerMode                                 NavicoDataTypeConst = 295
	NavicoDataTypeChargerEnabled                              NavicoDataTypeConst = 296
	NavicoDataTypeChargerEqualizationPending                  NavicoDataTypeConst = 297
	NavicoDataTypeChargerEqualizationTimeRemaining            NavicoDataTypeConst = 298
	NavicoDataTypeInverterACInstance                          NavicoDataTypeConst = 299
	NavicoDataTypeInverterDCInstance                          NavicoDataTypeConst = 300
	NavicoDataTypeInverterOperatingState                      NavicoDataTypeConst = 301
	NavicoDataTypeInverterEnabled                             NavicoDataTypeConst = 302
	NavicoDataTypeThrusterPower                               NavicoDataTypeConst = 303
	NavicoDataTypeFuelToTurn                                  NavicoDataTypeConst = 304
	NavicoDataTypeEngineMil                                   NavicoDataTypeConst = 305
	NavicoDataTypeEngineWarningFlags                          NavicoDataTypeConst = 306
	NavicoDataTypeSpeedStw                                    NavicoDataTypeConst = 307
	NavicoDataTypeEnginePerformanceSOG                        NavicoDataTypeConst = 308
	NavicoDataTypeEnginePerformanceStw                        NavicoDataTypeConst = 309
	NavicoDataTypeEngineControlFlags                          NavicoDataTypeConst = 310
	NavicoDataTypeEngineTrollRPMSetpoint                      NavicoDataTypeConst = 311
	NavicoDataTypeActiveHelm                                  NavicoDataTypeConst = 312
	NavicoDataTypeCruiseRPMSetpoint                           NavicoDataTypeConst = 313
	NavicoDataTypeCruiseSpeedSetpoint                         NavicoDataTypeConst = 314
	NavicoDataTypeCmdPatternDir                               NavicoDataTypeConst = 315
	NavicoDataTypeSmartContextual                             NavicoDataTypeConst = 316
	NavicoDataTypeSailingTimeToWaypoint                       NavicoDataTypeConst = 317
	NavicoDataTypeSailingDistanceToWaypoint                   NavicoDataTypeConst = 318
	NavicoDataTypeSailingETA                                  NavicoDataTypeConst = 319
	NavicoDataTypeGeneratorTemp                               NavicoDataTypeConst = 320
	NavicoDataTypeGeneratorOilTemp                            NavicoDataTypeConst = 321
	NavicoDataTypeGeneratorOilPres                            NavicoDataTypeConst = 322
	NavicoDataTypeGeneratorWaterPres                          NavicoDataTypeConst = 323
	NavicoDataTypeGeneratorFuelPres                           NavicoDataTypeConst = 324
	NavicoDataTypeGeneratorFuelRate                           NavicoDataTypeConst = 325
	NavicoDataTypeGeneratorHoursUsed                          NavicoDataTypeConst = 326
	NavicoDataTypeGeneratorDiscreteStatus                     NavicoDataTypeConst = 327
	NavicoDataTypeGeneratorPercentLoad                        NavicoDataTypeConst = 328
	NavicoDataTypeGeneratorPercentTorque                      NavicoDataTypeConst = 329
	NavicoDataTypeGeneratorBatteryVoltage                     NavicoDataTypeConst = 330
	NavicoDataTypeGeneratorAverageVoltage                     NavicoDataTypeConst = 331
	NavicoDataTypeGeneratorAverageFrequency                   NavicoDataTypeConst = 332
	NavicoDataTypeGeneratorAverageCurrent                     NavicoDataTypeConst = 333
	NavicoDataTypePilotMode                                   NavicoDataTypeConst = 334
	NavicoDataTypePilotResponseLevel                          NavicoDataTypeConst = 335
	NavicoDataTypeCruiseSmarttowOvershoot                     NavicoDataTypeConst = 336
	NavicoDataTypePilotCmdHeading                             NavicoDataTypeConst = 337
	NavicoDataTypeMOBDrPosition                               NavicoDataTypeConst = 338
	NavicoDataTypeMOBDrRange                                  NavicoDataTypeConst = 339
	NavicoDataTypeMOBDrBearing                                NavicoDataTypeConst = 340
	NavicoDataTypeBowPosition                                 NavicoDataTypeConst = 341
	NavicoDataTypeStartLineBearing                            NavicoDataTypeConst = 342
	NavicoDataTypeStartLineBias                               NavicoDataTypeConst = 343
	NavicoDataTypeDistanceToStartLine                         NavicoDataTypeConst = 344
	NavicoDataTypeDistanceToStartLinePortEnd                  NavicoDataTypeConst = 345
	NavicoDataTypeDistanceToStartLineStbdEnd                  NavicoDataTypeConst = 346
	NavicoDataTypeStartLinePortPosition                       NavicoDataTypeConst = 347
	NavicoDataTypeStartLineStbdPosition                       NavicoDataTypeConst = 348
	NavicoDataTypeStartLineBoatLengthAdvantage                NavicoDataTypeConst = 349
	NavicoDataTypeDistanceToStartLineBoatLengths              NavicoDataTypeConst = 350
	NavicoDataTypeBackstay                                    NavicoDataTypeConst = 351
	NavicoDataTypeBoomAngle                                   NavicoDataTypeConst = 352
	NavicoDataTypeBoomVang                                    NavicoDataTypeConst = 353
	NavicoDataTypeChainLength                                 NavicoDataTypeConst = 354
	NavicoDataTypeCunningham                                  NavicoDataTypeConst = 355
	NavicoDataTypeInnerForestayLoad                           NavicoDataTypeConst = 356
	NavicoDataTypeInnerForestayHalyardLoad                    NavicoDataTypeConst = 357
	NavicoDataTypeJibFurl                                     NavicoDataTypeConst = 358
	NavicoDataTypeJibHalyardLoad                              NavicoDataTypeConst = 359
	NavicoDataTypeOptimumWindAngle                            NavicoDataTypeConst = 360
	NavicoDataTypeOuthaulLoad                                 NavicoDataTypeConst = 361
	NavicoDataTypePitchRate                                   NavicoDataTypeConst = 362
	NavicoDataTypePlowAngle                                   NavicoDataTypeConst = 363
	NavicoDataTypeRollRate                                    NavicoDataTypeConst = 364
	NavicoDataTypeVMGPerformance                              NavicoDataTypeConst = 365
	NavicoDataTypeBAndGLinear5                                NavicoDataTypeConst = 366
	NavicoDataTypeBAndGLinear6                                NavicoDataTypeConst = 367
	NavicoDataTypeBAndGLinear7                                NavicoDataTypeConst = 368
	NavicoDataTypeBAndGLinear8                                NavicoDataTypeConst = 369
	NavicoDataTypeBAndGLinear9                                NavicoDataTypeConst = 370
	NavicoDataTypeBAndGLinear10                               NavicoDataTypeConst = 371
	NavicoDataTypeBAndGLinear11                               NavicoDataTypeConst = 372
	NavicoDataTypeBAndGLinear12                               NavicoDataTypeConst = 373
	NavicoDataTypeBAndGLinear13                               NavicoDataTypeConst = 374
	NavicoDataTypeBAndGLinear14                               NavicoDataTypeConst = 375
	NavicoDataTypeBAndGLinear15                               NavicoDataTypeConst = 376
	NavicoDataTypeBAndGLinear16                               NavicoDataTypeConst = 377
	NavicoDataTypeKeelDraught                                 NavicoDataTypeConst = 378
	NavicoDataTypePoolTemperature                             NavicoDataTypeConst = 379
	NavicoDataTypeJacuzziTemperature                          NavicoDataTypeConst = 380
	NavicoDataTypeTripDrBearing                               NavicoDataTypeConst = 381
	NavicoDataTypeTripDrDistance                              NavicoDataTypeConst = 382
	NavicoDataTypeCodeZeroLoad                                NavicoDataTypeConst = 383
	NavicoDataTypeBAndGMOBPosition                            NavicoDataTypeConst = 384
	NavicoDataTypeDistanceBehindStartLine                     NavicoDataTypeConst = 385
	NavicoDataTypeDistanceBehindStartLineBoatLengths          NavicoDataTypeConst = 386
	NavicoDataTypeBiasAdvantage                               NavicoDataTypeConst = 387
	NavicoDataTypeOppositeTackCOG                             NavicoDataTypeConst = 388
	NavicoDataTypeOppositeTackTargetHeading                   NavicoDataTypeConst = 389
	NavicoDataTypeMastRake                                    NavicoDataTypeConst = 390
	NavicoDataTypeNextLegBearing                              NavicoDataTypeConst = 391
	NavicoDataTypeNextLegTargetSpeed                          NavicoDataTypeConst = 392
	NavicoDataTypeGroundWindDirection                         NavicoDataTypeConst = 393
	NavicoDataTypeGroundWindSpeed                             NavicoDataTypeConst = 394
	NavicoDataTypeMastCantAngle                               NavicoDataTypeConst = 395
	NavicoDataTypeRudderToeIn                                 NavicoDataTypeConst = 396
	NavicoDataTypeDaggerboardPort                             NavicoDataTypeConst = 397
	NavicoDataTypeDaggerboardStarboard                        NavicoDataTypeConst = 398
	NavicoDataTypeBAndGRemote0                                NavicoDataTypeConst = 399
	NavicoDataTypeBAndGRemote1                                NavicoDataTypeConst = 400
	NavicoDataTypeBAndGRemote2                                NavicoDataTypeConst = 401
	NavicoDataTypeBAndGRemote3                                NavicoDataTypeConst = 402
	NavicoDataTypeBAndGRemote4                                NavicoDataTypeConst = 403
	NavicoDataTypeBAndGRemote5                                NavicoDataTypeConst = 404
	NavicoDataTypeBAndGRemote6                                NavicoDataTypeConst = 405
	NavicoDataTypeBAndGRemote7                                NavicoDataTypeConst = 406
	NavicoDataTypeBAndGRemote8                                NavicoDataTypeConst = 407
	NavicoDataTypeBAndGRemote9                                NavicoDataTypeConst = 408
	NavicoDataTypeForwardDepth                                NavicoDataTypeConst = 409
	NavicoDataTypeCriticalRange                               NavicoDataTypeConst = 410
	NavicoDataTypeCautionRange                                NavicoDataTypeConst = 411
	NavicoDataTypeMaxRange                                    NavicoDataTypeConst = 412
	NavicoDataTypeGeneratorAlternatorVoltage                  NavicoDataTypeConst = 413
	NavicoDataTypeTrollingPropRate                            NavicoDataTypeConst = 414
	NavicoDataTypeTrollingCruiseControlSpeed                  NavicoDataTypeConst = 415
	NavicoDataTypeVesselFuelUsed                              NavicoDataTypeConst = 416
	NavicoDataTypeSuzukiEngineBaroPressure                    NavicoDataTypeConst = 417
	NavicoDataTypeSuzukiCylinderTemperature                   NavicoDataTypeConst = 418
	NavicoDataTypeSuzukiIntakeAirTemperature                  NavicoDataTypeConst = 419
	NavicoDataTypeSuzukiIgnitionTiming                        NavicoDataTypeConst = 420
	NavicoDataTypeSuzukiFuelInjectorPulseWidth                NavicoDataTypeConst = 421
	NavicoDataTypeWasSuzukiInjectedFuelAmount                 NavicoDataTypeConst = 422
	NavicoDataTypeSuzukiIacValveDuty                          NavicoDataTypeConst = 423
	NavicoDataTypeSuzukiDiscreteStatus1                       NavicoDataTypeConst = 424
	NavicoDataTypeSuzukiDiscreteStatus2                       NavicoDataTypeConst = 425
	NavicoDataTypeSuzukiDiscreteStatus3                       NavicoDataTypeConst = 426
	NavicoDataTypeSuzukiDiscreteStatus4                       NavicoDataTypeConst = 427
	NavicoDataTypeFuelEconomyPit                              NavicoDataTypeConst = 428
	NavicoDataTypeVesselFuelEconomyPit                        NavicoDataTypeConst = 429
	NavicoDataTypeVesselFuelRangePit                          NavicoDataTypeConst = 430
	NavicoDataTypeWaypoint                                    NavicoDataTypeConst = 431
	NavicoDataTypeAverageWindDirection                        NavicoDataTypeConst = 432
	NavicoDataTypeWindPhase                                   NavicoDataTypeConst = 433
	NavicoDataTypeWindLift                                    NavicoDataTypeConst = 434
	NavicoDataTypeFuelRangeSeasonalAverage                    NavicoDataTypeConst = 435
	NavicoDataTypeFuelRangeInstantaneous                      NavicoDataTypeConst = 436
	NavicoDataTypeVesselFuelEconomy                           NavicoDataTypeConst = 437
	NavicoDataTypeAverageFuelEconomySeasonal                  NavicoDataTypeConst = 438
	NavicoDataTypeAverageFuelEconomyTrip                      NavicoDataTypeConst = 439
	NavicoDataTypeBestFuelEconomySeasonal                     NavicoDataTypeConst = 440
	NavicoDataTypeBestFuelEconomyTrip                         NavicoDataTypeConst = 441
	NavicoDataTypeVesselFuelLevel                             NavicoDataTypeConst = 442
	NavicoDataTypeVesselFuelUsedTrip                          NavicoDataTypeConst = 443
	NavicoDataTypeBAndGLinear17                               NavicoDataTypeConst = 444
	NavicoDataTypeBAndGLinear18                               NavicoDataTypeConst = 445
	NavicoDataTypeBAndGLinear19                               NavicoDataTypeConst = 446
	NavicoDataTypeBAndGLinear20                               NavicoDataTypeConst = 447
	NavicoDataTypeBAndGLinear21                               NavicoDataTypeConst = 448
	NavicoDataTypeBAndGLinear22                               NavicoDataTypeConst = 449
	NavicoDataTypeBAndGLinear23                               NavicoDataTypeConst = 450
	NavicoDataTypeBAndGLinear24                               NavicoDataTypeConst = 451
	NavicoDataTypeBAndGLinear25                               NavicoDataTypeConst = 452
	NavicoDataTypeBAndGLinear26                               NavicoDataTypeConst = 453
	NavicoDataTypeBAndGLinear27                               NavicoDataTypeConst = 454
	NavicoDataTypeBAndGLinear28                               NavicoDataTypeConst = 455
	NavicoDataTypeBAndGLinear29                               NavicoDataTypeConst = 456
	NavicoDataTypeBAndGLinear30                               NavicoDataTypeConst = 457
	NavicoDataTypeBAndGLinear31                               NavicoDataTypeConst = 458
	NavicoDataTypeBAndGLinear32                               NavicoDataTypeConst = 459
	NavicoDataTypeOriginWayPointNumber                        NavicoDataTypeConst = 460
	NavicoDataTypeDestWayPointNumber                          NavicoDataTypeConst = 461
	NavicoDataTypeArrivalNotification                         NavicoDataTypeConst = 462
	NavicoDataTypeArrivalCircleNotification                   NavicoDataTypeConst = 463
	NavicoDataTypeWasNavTerminated                            NavicoDataTypeConst = 464
	NavicoDataTypeBobstay                                     NavicoDataTypeConst = 465
	NavicoDataTypeJ1                                          NavicoDataTypeConst = 466
	NavicoDataTypeJ2                                          NavicoDataTypeConst = 467
	NavicoDataTypeJ3                                          NavicoDataTypeConst = 468
	NavicoDataTypeMastBase                                    NavicoDataTypeConst = 469
	NavicoDataTypeMainsheet                                   NavicoDataTypeConst = 470
	NavicoDataTypeD0Port                                      NavicoDataTypeConst = 471
	NavicoDataTypeD0Starboard                                 NavicoDataTypeConst = 472
	NavicoDataTypeRunnerPort                                  NavicoDataTypeConst = 473
	NavicoDataTypeRunnerStarboard                             NavicoDataTypeConst = 474
	NavicoDataTypeFoilPort                                    NavicoDataTypeConst = 475
	NavicoDataTypeFoilStarboard                               NavicoDataTypeConst = 476
	NavicoDataTypeSailtackPort                                NavicoDataTypeConst = 477
	NavicoDataTypeSailtackStarboard                           NavicoDataTypeConst = 478
	NavicoDataTypeDeflectPort                                 NavicoDataTypeConst = 479
	NavicoDataTypeDeflectStarboard                            NavicoDataTypeConst = 480
	NavicoDataTypeRudderLoadPort                              NavicoDataTypeConst = 481
	NavicoDataTypeRudderLoadStarboard                         NavicoDataTypeConst = 482
	NavicoDataTypeD1Port                                      NavicoDataTypeConst = 483
	NavicoDataTypeD1Starboard                                 NavicoDataTypeConst = 484
	NavicoDataTypeV0Port                                      NavicoDataTypeConst = 485
	NavicoDataTypeV0Starboard                                 NavicoDataTypeConst = 486
	NavicoDataTypeV1Port                                      NavicoDataTypeConst = 487
	NavicoDataTypeV1Starboard                                 NavicoDataTypeConst = 488
	NavicoDataTypeGnssSystem                                  NavicoDataTypeConst = 489
	NavicoDataTypeSvCount                                     NavicoDataTypeConst = 490
	NavicoDataTypeGnssOpMode                                  NavicoDataTypeConst = 491
	NavicoDataTypeDgnssMode                                   NavicoDataTypeConst = 492
	NavicoDataTypeSuzukiFuelPumpDuty                          NavicoDataTypeConst = 493
	NavicoDataTypeSpeedLogWaterLongitudinal                   NavicoDataTypeConst = 494
	NavicoDataTypeSpeedLogWaterTransverse                     NavicoDataTypeConst = 495
	NavicoDataTypeSpeedLogWaterResultant                      NavicoDataTypeConst = 496
	NavicoDataTypeSpeedLogWaterAngle                          NavicoDataTypeConst = 497
	NavicoDataTypeSpeedLogGroundLongitudinal                  NavicoDataTypeConst = 498
	NavicoDataTypeSpeedLogGroundTransverse                    NavicoDataTypeConst = 499
	NavicoDataTypeSpeedLogGroundResultant                     NavicoDataTypeConst = 500
	NavicoDataTypeSpeedLogGroundAngle                         NavicoDataTypeConst = 501
	NavicoDataTypeSpeedLogSternWaterTransverse                NavicoDataTypeConst = 502
	NavicoDataTypeSpeedLogSternGroundTransverse               NavicoDataTypeConst = 503
	NavicoDataTypePositionDatum                               NavicoDataTypeConst = 504
	NavicoDataTypeSpeedBoat                                   NavicoDataTypeConst = 505
	NavicoDataTypeWasEngineFuelUsedMercury                    NavicoDataTypeConst = 506
	NavicoDataTypeHeave                                       NavicoDataTypeConst = 507
	NavicoDataTypeSpeedTripMaxRPM                             NavicoDataTypeConst = 508
	NavicoDataTypeHondaEngineStatusParams                     NavicoDataTypeConst = 509
	NavicoDataTypePilotFeatures                               NavicoDataTypeConst = 510
	NavicoDataTypePilotSetpointHeading                        NavicoDataTypeConst = 511
	NavicoDataTypeIdleSpeedControlMode                        NavicoDataTypeConst = 512
	NavicoDataTypeIdleSpeedControlValue                       NavicoDataTypeConst = 513
	NavicoDataTypeTrollingMode                                NavicoDataTypeConst = 514
	NavicoDataTypeImmobilizerLockStatus                       NavicoDataTypeConst = 515
	NavicoDataTypeEngineDiscreteParams1                       NavicoDataTypeConst = 516
	NavicoDataTypeEngineDiscreteParams2                       NavicoDataTypeConst = 517
	NavicoDataTypeEngineDiscreteParams3                       NavicoDataTypeConst = 518
	NavicoDataTypeEngineDiscreteParams4                       NavicoDataTypeConst = 519
	NavicoDataTypeEngineDiscreteParams5                       NavicoDataTypeConst = 520
	NavicoDataTypeEngineDiscreteParams6                       NavicoDataTypeConst = 521
	NavicoDataTypeIdleSpeedLimitLow                           NavicoDataTypeConst = 522
	NavicoDataTypeIdleSpeedLimitHigh                          NavicoDataTypeConst = 523
	NavicoDataTypeWasTrollingVariableRPMInfo                  NavicoDataTypeConst = 524
	NavicoDataTypeIdleSpeedControlTargetRev                   NavicoDataTypeConst = 525
	NavicoDataTypeIdleControl                                 NavicoDataTypeConst = 526
	NavicoDataTypeIdleFeedback                                NavicoDataTypeConst = 527
	NavicoDataTypeImmediatelyAfterStartingControl             NavicoDataTypeConst = 528
	NavicoDataTypeGatewayParams                               NavicoDataTypeConst = 529
	NavicoDataTypeGatewayProtocol                             NavicoDataTypeConst = 530
	NavicoDataTypeEngineWallTemp                              NavicoDataTypeConst = 531
	NavicoDataTypeSubstituteBatteryVoltage                    NavicoDataTypeConst = 532
	NavicoDataTypeYamahaEngineM6DiagCode                      NavicoDataTypeConst = 533
	NavicoDataTypeWirelessSensorBatteryStatus                 NavicoDataTypeConst = 534
	NavicoDataTypeWirelessSensorBatteryChargeStatus           NavicoDataTypeConst = 535
	NavicoDataTypeWirelessSensorBatteryStatusVoltage          NavicoDataTypeConst = 536
	NavicoDataTypeWirelessSensorBatteryChargeStatusCurrent    NavicoDataTypeConst = 537
	NavicoDataTypeFluidTypeMode                               NavicoDataTypeConst = 538
	NavicoDataTypeDatetime                                    NavicoDataTypeConst = 539
	NavicoDataTypeReacherLoad                                 NavicoDataTypeConst = 540
	NavicoDataTypeBladeLoad                                   NavicoDataTypeConst = 541
	NavicoDataTypeStaysailLoad                                NavicoDataTypeConst = 542
	NavicoDataTypeTackLoad                                    NavicoDataTypeConst = 543
	NavicoDataTypeJ4Load                                      NavicoDataTypeConst = 544
	NavicoDataTypeSolentLoad                                  NavicoDataTypeConst = 545
	NavicoDataTypeTackPortLoad                                NavicoDataTypeConst = 546
	NavicoDataTypeTackStarboardLoad                           NavicoDataTypeConst = 547
	NavicoDataTypeDeflectUpperLoad                            NavicoDataTypeConst = 548
	NavicoDataTypeDeflectLowerLoad                            NavicoDataTypeConst = 549
	NavicoDataTypeWinchPortLoad                               NavicoDataTypeConst = 550
	NavicoDataTypeWinchStarboardLoad                          NavicoDataTypeConst = 551
	NavicoDataTypeSpinHalyardPortLoad                         NavicoDataTypeConst = 552
	NavicoDataTypeSpinHalyardStarboardLoad                    NavicoDataTypeConst = 553
	NavicoDataTypeMainHalyward                                NavicoDataTypeConst = 554
	NavicoDataTypeLoad1Load                                   NavicoDataTypeConst = 555
	NavicoDataTypeLoad2Load                                   NavicoDataTypeConst = 556
	NavicoDataTypeMastBase2Load                               NavicoDataTypeConst = 557
	NavicoDataTypePilotActivePerfMode                         NavicoDataTypeConst = 558
	NavicoDataTypePilotGust                                   NavicoDataTypeConst = 559
	NavicoDataTypePilotTwsResponse                            NavicoDataTypeConst = 560
	NavicoDataTypePilotHeelComp                               NavicoDataTypeConst = 561
	NavicoDataTypePilotNetCourse                              NavicoDataTypeConst = 562
	NavicoDataTypePilotTargetWindAngle                        NavicoDataTypeConst = 563
	NavicoDataTypePilotWeatherHelm                            NavicoDataTypeConst = 564
	NavicoDataTypePilotMeanHeel                               NavicoDataTypeConst = 565
	NavicoDataTypePropellerShaftPitchAngle                    NavicoDataTypeConst = 566
	NavicoDataTypePropellerShaftPitchPercent                  NavicoDataTypeConst = 567
	NavicoDataTypePropellerShaftRPM                           NavicoDataTypeConst = 568
	NavicoDataTypeThrusterPitchAngle                          NavicoDataTypeConst = 569
	NavicoDataTypeThrusterPitchPercent                        NavicoDataTypeConst = 570
	NavicoDataTypeGroundWindAngle                             NavicoDataTypeConst = 571
	NavicoDataTypeFuelFlowOffset                              NavicoDataTypeConst = 572
	NavicoDataTypeFluidLevelGasoline                          NavicoDataTypeConst = 573
	NavicoDataTypeFluidVolumeGasoline                         NavicoDataTypeConst = 574
	NavicoDataTypeTankCapacityGasoline                        NavicoDataTypeConst = 575
	NavicoDataTypeCmdXteOffset                                NavicoDataTypeConst = 576
	NavicoDataTypeEngine4StrokeOil                            NavicoDataTypeConst = 577
	NavicoDataTypeWirelessSensorSignalStrength                NavicoDataTypeConst = 578
	NavicoDataTypeWirelessSensorSoftwareUpdateProgress        NavicoDataTypeConst = 579
	NavicoDataTypeTrollingStatus                              NavicoDataTypeConst = 580
	NavicoDataTypeMercuryExhaustValve                         NavicoDataTypeConst = 581
	NavicoDataTypeMercuryExhaustStatus                        NavicoDataTypeConst = 582
	NavicoDataTypeYanmarEngineEcuAlarms                       NavicoDataTypeConst = 583
	NavicoDataTypeYanmarHelmEcuAlarms                         NavicoDataTypeConst = 584
	NavicoDataTypeYanmarDriveEcuAlarms                        NavicoDataTypeConst = 585
	NavicoDataTypeDgpsCorrectionData                          NavicoDataTypeConst = 586
	NavicoDataTypeDgpsReferenceStationId                      NavicoDataTypeConst = 587
	NavicoDataTypeDgpsReferenceStationHealth                  NavicoDataTypeConst = 588
	NavicoDataTypeDgpsSignalSnr                               NavicoDataTypeConst = 589
	NavicoDataTypeDgpsSignalFrequency                         NavicoDataTypeConst = 590
	NavicoDataTypeDgpsSignalStrength                          NavicoDataTypeConst = 591
	NavicoDataTypeEngineFuelTemp                              NavicoDataTypeConst = 592
	NavicoDataTypeDepthQuality                                NavicoDataTypeConst = 593
	NavicoDataTypeNumberOfActiveDtc                           NavicoDataTypeConst = 594
	NavicoDataTypeYanmarFuelLevelTank1Port                    NavicoDataTypeConst = 595
	NavicoDataTypeYanmarFuelLevelTank2Port                    NavicoDataTypeConst = 596
	NavicoDataTypeYanmarFuelLevelTank1Stbd                    NavicoDataTypeConst = 597
	NavicoDataTypeYanmarFuelLevelTank2Stbd                    NavicoDataTypeConst = 598
	NavicoDataTypeYanmarFuelLevelTank1Center                  NavicoDataTypeConst = 599
	NavicoDataTypeYanmarFuelLevelTank2Center                  NavicoDataTypeConst = 600
	NavicoDataTypeYanmarFreshWaterLevelTank1Port              NavicoDataTypeConst = 601
	NavicoDataTypeYanmarFreshWaterLevelTank2Port              NavicoDataTypeConst = 602
	NavicoDataTypeYanmarFreshWaterLevelTank1Stbd              NavicoDataTypeConst = 603
	NavicoDataTypeYanmarFreshWaterLevelTank2Stbd              NavicoDataTypeConst = 604
	NavicoDataTypeYanmarFreshWaterLevelTank1Center            NavicoDataTypeConst = 605
	NavicoDataTypeYanmarFreshWaterLevelTank2Center            NavicoDataTypeConst = 606
	NavicoDataTypeYanmarGrayWaterLevelTank1Port               NavicoDataTypeConst = 607
	NavicoDataTypeYanmarGrayWaterLevelTank2Port               NavicoDataTypeConst = 608
	NavicoDataTypeYanmarGrayWaterLevelTank1Stbd               NavicoDataTypeConst = 609
	NavicoDataTypeYanmarGrayWaterLevelTank2Stbd               NavicoDataTypeConst = 610
	NavicoDataTypeYanmarGrayWaterLevelTank1Center             NavicoDataTypeConst = 611
	NavicoDataTypeYanmarGrayWaterLevelTank2Center             NavicoDataTypeConst = 612
	NavicoDataTypeRudderAnglePercentage                       NavicoDataTypeConst = 613
	NavicoDataTypeTrollActiveHelm                             NavicoDataTypeConst = 614
	NavicoDataTypeTidesGraphic                                NavicoDataTypeConst = 615
	NavicoDataTypeAnchorDistance                              NavicoDataTypeConst = 616
	NavicoDataTypeAnchorSize                                  NavicoDataTypeConst = 617
	NavicoDataTypeAnchorDepth                                 NavicoDataTypeConst = 618
	NavicoDataTypeAnchorBearing                               NavicoDataTypeConst = 619
	NavicoDataTypeHondaEngineWarningParams                    NavicoDataTypeConst = 620
	NavicoDataTypeHondaEngineDiscreteParams1                  NavicoDataTypeConst = 621
	NavicoDataTypeHondaEngineDiscreteParams2                  NavicoDataTypeConst = 622
	NavicoDataTypeHondaEngineDiscreteParams3                  NavicoDataTypeConst = 623
	NavicoDataTypeHondaEngineDiscreteParams4                  NavicoDataTypeConst = 624
	NavicoDataTypeMainsailHeadLoad                            NavicoDataTypeConst = 625
	NavicoDataTypeMainsailClewLoad                            NavicoDataTypeConst = 626
	NavicoDataTypeMainsailTackLoad                            NavicoDataTypeConst = 627
	NavicoDataTypeJ1HeadLoad                                  NavicoDataTypeConst = 628
	NavicoDataTypeJ1ClewLoad                                  NavicoDataTypeConst = 629
	NavicoDataTypeJ1TackLoad                                  NavicoDataTypeConst = 630
	NavicoDataTypeJ2HeadLoad                                  NavicoDataTypeConst = 631
	NavicoDataTypeJ2ClewLoad                                  NavicoDataTypeConst = 632
	NavicoDataTypeJ2TackLoad                                  NavicoDataTypeConst = 633
	NavicoDataTypeJ3HeadLoad                                  NavicoDataTypeConst = 634
	NavicoDataTypeJ3ClewLoad                                  NavicoDataTypeConst = 635
	NavicoDataTypeJ3TackLoad                                  NavicoDataTypeConst = 636
	NavicoDataTypeCodeZeroHeadLoad                            NavicoDataTypeConst = 637
	NavicoDataTypeCodeZeroClewLoad                            NavicoDataTypeConst = 638
	NavicoDataTypeCodeZeroTackLoad                            NavicoDataTypeConst = 639
	NavicoDataTypeSuzukiEngineAlertI                          NavicoDataTypeConst = 640
	NavicoDataTypeEngineOilLife                               NavicoDataTypeConst = 641
	NavicoDataTypeEngineOilLevelStatus                        NavicoDataTypeConst = 642
	NavicoDataTypeTransFluidStatus                            NavicoDataTypeConst = 643
	NavicoDataTypeHondaEcoStatusAllEngines                    NavicoDataTypeConst = 644
	NavicoDataTypeOutputRPM                                   NavicoDataTypeConst = 645
	NavicoDataTypeSuzukiEngineAlertA                          NavicoDataTypeConst = 646
	NavicoDataTypeSuzukiEngineAlertB                          NavicoDataTypeConst = 647
	NavicoDataTypeSuzukiEngineAlertC                          NavicoDataTypeConst = 648
	NavicoDataTypeSuzukiEngineAlertD                          NavicoDataTypeConst = 649
	NavicoDataTypeSuzukiEngineAlertE                          NavicoDataTypeConst = 650
	NavicoDataTypeSuzukiEngineAlertF                          NavicoDataTypeConst = 651
	NavicoDataTypeSuzukiEngineAlertG                          NavicoDataTypeConst = 652
	NavicoDataTypeSuzukiEngineAlertH                          NavicoDataTypeConst = 653
	NavicoDataTypeSuzukiEngineAlertJ                          NavicoDataTypeConst = 654
	NavicoDataTypeSuzukiBcmFault                              NavicoDataTypeConst = 655
	NavicoDataTypeSuzukiBcmMode                               NavicoDataTypeConst = 656
	NavicoDataTypeSuzukiEngineKlsStatus                       NavicoDataTypeConst = 657
	NavicoDataTypeSuzukiSwitchFault                           NavicoDataTypeConst = 658
	NavicoDataTypeSuzukiShiftPositionStatus                   NavicoDataTypeConst = 659
	NavicoDataTypeVesselFuelUsedSeasonal                      NavicoDataTypeConst = 660
	NavicoDataTypeVesselFuelCapacity                          NavicoDataTypeConst = 661
	NavicoDataTypeSuzukiEngineAutoTrimStatus                  NavicoDataTypeConst = 662
	NavicoDataTypeTrollingModeActive                          NavicoDataTypeConst = 663
	NavicoDataTypeTrollingModeActiveMaster                    NavicoDataTypeConst = 664
	NavicoDataTypeKeylessCommunicationState                   NavicoDataTypeConst = 665
	NavicoDataTypeLinearActuatorPosition                      NavicoDataTypeConst = 666
	NavicoDataTypeEngineExhaustTemp                           NavicoDataTypeConst = 667
	NavicoDataTypeEngineGuardianPowerLimit                    NavicoDataTypeConst = 668
	NavicoDataTypeEngineState                                 NavicoDataTypeConst = 669
	NavicoDataTypeSailingTimeToBurn                           NavicoDataTypeConst = 670
	NavicoDataTypeMastTwist                                   NavicoDataTypeConst = 671
	NavicoDataTypeVHFChannel                                  NavicoDataTypeConst = 672
	NavicoDataTypeTrollingLowerUnitDirection                  NavicoDataTypeConst = 673
	NavicoDataTypePropulsionBatteryStatus                     NavicoDataTypeConst = 674
	NavicoDataTypePropulsionBatteryIsolationStatus            NavicoDataTypeConst = 675
	NavicoDataTypePropulsionBatteryError                      NavicoDataTypeConst = 676
	NavicoDataTypePropulsionBatteryVoltage                    NavicoDataTypeConst = 677
	NavicoDataTypePropulsionBatteryCurrent                    NavicoDataTypeConst = 678
	NavicoDataTypePropulsionBatteryStateOfCharge              NavicoDataTypeConst = 679
	NavicoDataTypePropulsionBatteryTimeRemaining              NavicoDataTypeConst = 680
	NavicoDataTypePropulsionBatteryHighestCellTemperature     NavicoDataTypeConst = 681
	NavicoDataTypePropulsionBatteryLowestCellTemperature      NavicoDataTypeConst = 682
	NavicoDataTypePropulsionBatteryAverageCellTemperature     NavicoDataTypeConst = 683
	NavicoDataTypePropulsionBatteryMaximumDischargeCurrent    NavicoDataTypeConst = 684
	NavicoDataTypePropulsionBatteryMaximumChargeCurrent       NavicoDataTypeConst = 685
	NavicoDataTypePropulsionBatteryCoolingSystemStatus        NavicoDataTypeConst = 686
	NavicoDataTypePropulsionBatteryHeatingSystemStatus        NavicoDataTypeConst = 687
	NavicoDataTypePropulsionBatteryStorageMode                NavicoDataTypeConst = 688
	NavicoDataTypePropulsionBatteryChemistry                  NavicoDataTypeConst = 689
	NavicoDataTypePropulsionBatteryMaximumTemperatureDerating NavicoDataTypeConst = 690
	NavicoDataTypePropulsionBatteryMaximumTemperatureShutoff  NavicoDataTypeConst = 691
	NavicoDataTypePropulsionBatteryMinimumTemperatureDerating NavicoDataTypeConst = 692
	NavicoDataTypePropulsionBatteryMinimumTemperatureShutoff  NavicoDataTypeConst = 693
	NavicoDataTypePropulsionBatteryUsableEnergy               NavicoDataTypeConst = 694
	NavicoDataTypePropulsionBatteryStateOfHealth              NavicoDataTypeConst = 695
	NavicoDataTypePropulsionBatteryDischargeCyclesCount       NavicoDataTypeConst = 696
	NavicoDataTypePropulsionBatteryFullStatus                 NavicoDataTypeConst = 697
	NavicoDataTypePropulsionBatteryEmptyStatus                NavicoDataTypeConst = 698
	NavicoDataTypePropulsionBatteryMaximumChargeSoc           NavicoDataTypeConst = 699
	NavicoDataTypePropulsionBatteryMinimumDischargeSoc        NavicoDataTypeConst = 700
	NavicoDataTypeActiveMotorMode                             NavicoDataTypeConst = 701
	NavicoDataTypeMotorBrakeMode                              NavicoDataTypeConst = 702
	NavicoDataTypeMotorRotationalShaftSpeed                   NavicoDataTypeConst = 703
	NavicoDataTypeMotorVoltage                                NavicoDataTypeConst = 704
	NavicoDataTypeMotorCurrent                                NavicoDataTypeConst = 705
	NavicoDataTypeMotorOperatingMode                          NavicoDataTypeConst = 706
	NavicoDataTypeMotorTemperature                            NavicoDataTypeConst = 707
	NavicoDataTypeMotorInverterTemperature                    NavicoDataTypeConst = 708
	NavicoDataTypeMotorCoolantTemperature                     NavicoDataTypeConst = 709
	NavicoDataTypeMotorGearTemperature                        NavicoDataTypeConst = 710
	NavicoDataTypeMotorShaftTorquePercent                     NavicoDataTypeConst = 711
	NavicoDataTypeMotorVoltageType                            NavicoDataTypeConst = 712
	NavicoDataTypeMotorVoltageRating                          NavicoDataTypeConst = 713
	NavicoDataTypeMotorMaxContinuousPower                     NavicoDataTypeConst = 714
	NavicoDataTypeMotorMaxBoostPower                          NavicoDataTypeConst = 715
	NavicoDataTypeMotorMaxTemperatureRating                   NavicoDataTypeConst = 716
	NavicoDataTypeMotorRatedSpeed                             NavicoDataTypeConst = 717
	NavicoDataTypeMotorMaxControllerTemperatureRating         NavicoDataTypeConst = 718
	NavicoDataTypeMotorShaftTorqueRating                      NavicoDataTypeConst = 719
	NavicoDataTypeMotorDCVoltageDeratingThreshold             NavicoDataTypeConst = 720
	NavicoDataTypeMotorDCVoltageCutoffThreshold               NavicoDataTypeConst = 721
	NavicoDataTypeMotorRuntime                                NavicoDataTypeConst = 722
	NavicoDataTypeSailingPingTimePort                         NavicoDataTypeConst = 723
	NavicoDataTypeSailingPingTimeStbd                         NavicoDataTypeConst = 724
	NavicoDataTypeHeadingSource                               NavicoDataTypeConst = 725
	NavicoDataTypeInvalid                                     NavicoDataTypeConst = 726
)
func (e NavicoDataTypeConst) GoString() string
func (e NavicoDataTypeConst) String() string
type NavicoDataTypeSourceDirectory struct {
	Info             MessageInfo                               `json:"info"`
	ManufacturerCode *uint64                                   `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64                                   `json:"industryCode,omitempty" n2k:"3"`
	ReportType       *uint64                                   `json:"reportType,omitempty" n2k:"6"`
	Part             *uint64                                   `json:"part,omitempty" n2k:"7"`
	Repeating1       []NavicoDataTypeSourceDirectoryRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoDataTypeSourceDirectory) DecodePayload(payload []uint8) error
func (m *NavicoDataTypeSourceDirectory) EncodePayload() ([]uint8, error)
func (m *NavicoDataTypeSourceDirectory) MessageInfo() MessageInfo
func (m *NavicoDataTypeSourceDirectory) PGNNumber() uint32
func (m *NavicoDataTypeSourceDirectory) SetMessageInfo(info MessageInfo)
type NavicoDataTypeSourceDirectoryFullReport struct {
	Info             MessageInfo                                         `json:"info"`
	ManufacturerCode *uint64                                             `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64                                             `json:"industryCode,omitempty" n2k:"3"`
	ReportType       *uint64                                             `json:"reportType,omitempty" n2k:"6"`
	Part             *uint64                                             `json:"part,omitempty" n2k:"7"`
	Repeating1       []NavicoDataTypeSourceDirectoryFullReportRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoDataTypeSourceDirectoryFullReport) DecodePayload(payload []uint8) error
func (m *NavicoDataTypeSourceDirectoryFullReport) EncodePayload() ([]uint8, error)
func (m *NavicoDataTypeSourceDirectoryFullReport) SetMessageInfo(info MessageInfo)
type NavicoDataTypeSourceDirectoryFullReportRepeating1 struct {
	Length   *uint64 `json:"length,omitempty" n2k:"9"`
	Type     *uint64 `json:"type,omitempty" n2k:"10"`
	DataType *uint64 `json:"dataType,omitempty" n2k:"11"`
	Value    []uint8 `json:"value,omitempty" n2k:"12"`
}
type NavicoDataTypeSourceDirectoryRepeating1 struct {
	Length   *uint64 `json:"length,omitempty" n2k:"9"`
	Type     *uint64 `json:"type,omitempty" n2k:"10"`
	DataType *uint64 `json:"dataType,omitempty" n2k:"11"`
	Value    []uint8 `json:"value,omitempty" n2k:"12"`
}
type NavicoDepthQuality struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"4"`
	DepthQuality     *int64      `json:"depthQuality,omitempty" n2k:"5"`
}
func (m *NavicoDepthQuality) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoDepthQuality) DecodePayload(payload []uint8) error
func (m *NavicoDepthQuality) DepthQualityValue() (float64, bool)

DepthQualityValue returns DepthQuality as a physical value (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavicoDepthQuality) EncodePayload() ([]uint8, error)
func (m *NavicoDepthQuality) MessageInfo() MessageInfo
func (m *NavicoDepthQuality) PGNNumber() uint32
func (m *NavicoDepthQuality) SetDepthQualityValue(v float64)

SetDepthQualityValue sets DepthQuality from a physical value, rounded to the nearest wire tick of 0.01.

func (m *NavicoDepthQuality) SetMessageInfo(info MessageInfo)
type NavicoDeviceStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ReportType       *uint64     `json:"reportType,omitempty" n2k:"4"`
	Data             []uint8     `json:"data,omitempty" n2k:"5"`
}
func (m *NavicoDeviceStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoDeviceStatus) DecodePayload(payload []uint8) error
func (m *NavicoDeviceStatus) EncodePayload() ([]uint8, error)
func (m *NavicoDeviceStatus) MessageInfo() MessageInfo
func (m *NavicoDeviceStatus) PGNNumber() uint32
func (m *NavicoDeviceStatus) SetMessageInfo(info MessageInfo)
type NavicoDiagnosticConst uint8
const (
	NavicoDiagnosticRxMessages       NavicoDiagnosticConst = 4
	NavicoDiagnosticTxMessages       NavicoDiagnosticConst = 5
	NavicoDiagnosticFastPacketErrors NavicoDiagnosticConst = 7
)
func (e NavicoDiagnosticConst) GoString() string
func (e NavicoDiagnosticConst) String() string
type NavicoDiagnosticData struct {
	Info             MessageInfo                      `json:"info"`
	ManufacturerCode *uint64                          `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64                          `json:"industryCode,omitempty" n2k:"3"`
	Instance         *uint64                          `json:"instance,omitempty" n2k:"4"`
	Repeating1       []NavicoDiagnosticDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}
func (m *NavicoDiagnosticData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoDiagnosticData) DecodePayload(payload []uint8) error
func (m *NavicoDiagnosticData) EncodePayload() ([]uint8, error)
func (m *NavicoDiagnosticData) MessageInfo() MessageInfo
func (m *NavicoDiagnosticData) PGNNumber() uint32
func (m *NavicoDiagnosticData) SetMessageInfo(info MessageInfo)
type NavicoDiagnosticDataRepeating1 struct {
	FieldId *uint64 `json:"fieldId,omitempty" n2k:"5"`
	Length  *uint64 `json:"length,omitempty" n2k:"6"`
	Value   []uint8 `json:"value,omitempty" n2k:"7"`
}
type NavicoFeatureUnlock struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	FeatureId        *uint64     `json:"featureId,omitempty" n2k:"4"`
	RecordCount      *uint64     `json:"recordCount,omitempty" n2k:"5"`
	Data             *uint64     `json:"data,omitempty" n2k:"6"`
}
func (m *NavicoFeatureUnlock) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoFeatureUnlock) DecodePayload(payload []uint8) error
func (m *NavicoFeatureUnlock) EncodePayload() ([]uint8, error)
func (m *NavicoFeatureUnlock) MessageInfo() MessageInfo
func (m *NavicoFeatureUnlock) PGNNumber() uint32
func (m *NavicoFeatureUnlock) SetMessageInfo(info MessageInfo)
type NavicoNaviopSwitchControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoNaviopSwitchControl) DecodePayload(payload []uint8) error
func (m *NavicoNaviopSwitchControl) EncodePayload() ([]uint8, error)
func (m *NavicoNaviopSwitchControl) MessageInfo() MessageInfo
func (m *NavicoNaviopSwitchControl) PGNNumber() uint32
func (m *NavicoNaviopSwitchControl) SetMessageInfo(info MessageInfo)
type NavicoNaviopSwitchStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}
func (m *NavicoNaviopSwitchStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoNaviopSwitchStatus) DecodePayload(payload []uint8) error
func (m *NavicoNaviopSwitchStatus) EncodePayload() ([]uint8, error)
func (m *NavicoNaviopSwitchStatus) MessageInfo() MessageInfo
func (m *NavicoNaviopSwitchStatus) PGNNumber() uint32
func (m *NavicoNaviopSwitchStatus) SetMessageInfo(info MessageInfo)
type NavicoProprietary2 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}
func (m *NavicoProprietary2) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoProprietary2) DecodePayload(payload []uint8) error
func (m *NavicoProprietary2) EncodePayload() ([]uint8, error)
func (m *NavicoProprietary2) MessageInfo() MessageInfo
func (m *NavicoProprietary2) PGNNumber() uint32
func (m *NavicoProprietary2) SetMessageInfo(info MessageInfo)
type NavicoProprietaryFp struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}
func (m *NavicoProprietaryFp) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoProprietaryFp) DecodePayload(payload []uint8) error
func (m *NavicoProprietaryFp) EncodePayload() ([]uint8, error)
func (m *NavicoProprietaryFp) MessageInfo() MessageInfo
func (m *NavicoProprietaryFp) PGNNumber() uint32
func (m *NavicoProprietaryFp) SetMessageInfo(info MessageInfo)
type NavicoSourceSettingIdConst uint8
const (
	NavicoSourceSettingIdWindSourceCount          NavicoSourceSettingIdConst = 17
	NavicoSourceSettingIdWindSource1              NavicoSourceSettingIdConst = 18
	NavicoSourceSettingIdWindSource2              NavicoSourceSettingIdConst = 19
	NavicoSourceSettingIdBoatSpeedSourceCount     NavicoSourceSettingIdConst = 20
	NavicoSourceSettingIdPortBoatSpeedSource      NavicoSourceSettingIdConst = 21
	NavicoSourceSettingIdStarboardBoatSpeedSource NavicoSourceSettingIdConst = 22
	NavicoSourceSettingIdTrueWindDirectionDamping NavicoSourceSettingIdConst = 24
)
func (e NavicoSourceSettingIdConst) GoString() string
type NavicoUdbDatabaseBulkReport2 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Marker           *uint64     `json:"marker,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Address          *uint64     `json:"address,omitempty" n2k:"7"`
	Section          *uint64     `json:"section,omitempty" n2k:"8"`
	Item             *uint64     `json:"item,omitempty" n2k:"9"`
	Data             []uint8     `json:"data,omitempty" n2k:"10"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoUdbDatabaseBulkReport2) DecodePayload(payload []uint8) error
func (m *NavicoUdbDatabaseBulkReport2) EncodePayload() ([]uint8, error)
func (m *NavicoUdbDatabaseBulkReport2) MessageInfo() MessageInfo
func (m *NavicoUdbDatabaseBulkReport2) PGNNumber() uint32
func (m *NavicoUdbDatabaseBulkReport2) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseBulkReport4 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Marker           *uint64     `json:"marker,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Address          *uint64     `json:"address,omitempty" n2k:"7"`
	Section          *uint64     `json:"section,omitempty" n2k:"8"`
	Item             *uint64     `json:"item,omitempty" n2k:"9"`
	Data             []uint8     `json:"data,omitempty" n2k:"10"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoUdbDatabaseBulkReport4) DecodePayload(payload []uint8) error
func (m *NavicoUdbDatabaseBulkReport4) EncodePayload() ([]uint8, error)
func (m *NavicoUdbDatabaseBulkReport4) MessageInfo() MessageInfo
func (m *NavicoUdbDatabaseBulkReport4) PGNNumber() uint32
func (m *NavicoUdbDatabaseBulkReport4) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseObjectDump struct {
	Info             MessageInfo                             `json:"info"`
	ManufacturerCode *uint64                                 `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64                                 `json:"industryCode,omitempty" n2k:"3"`
	Marker           *uint64                                 `json:"marker,omitempty" n2k:"4"`
	Command          *uint64                                 `json:"command,omitempty" n2k:"5"`
	Address          *uint64                                 `json:"address,omitempty" n2k:"7"`
	Section          *uint64                                 `json:"section,omitempty" n2k:"8"`
	Item             *uint64                                 `json:"item,omitempty" n2k:"9"`
	ObjectValue      *uint64                                 `json:"objectValue,omitempty" n2k:"10"`
	Sub              []uint8                                 `json:"sub,omitempty" n2k:"11"`
	Token            *uint64                                 `json:"token,omitempty" n2k:"12"`
	Repeating1       []NavicoUdbDatabaseObjectDumpRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoUdbDatabaseObjectDump) DecodePayload(payload []uint8) error
func (m *NavicoUdbDatabaseObjectDump) EncodePayload() ([]uint8, error)
func (m *NavicoUdbDatabaseObjectDump) MessageInfo() MessageInfo
func (m *NavicoUdbDatabaseObjectDump) PGNNumber() uint32
func (m *NavicoUdbDatabaseObjectDump) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseObjectDumpRepeating1 struct {
	Length   *uint64 `json:"length,omitempty" n2k:"13"`
	Class    *uint64 `json:"class,omitempty" n2k:"14"`
	DataType *uint64 `json:"dataType,omitempty" n2k:"15"`
	Value    []uint8 `json:"value,omitempty" n2k:"16"`
}
type NavicoUdbDatabaseObjectPing struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Marker           *uint64     `json:"marker,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Address          *uint64     `json:"address,omitempty" n2k:"7"`
	Section          *uint64     `json:"section,omitempty" n2k:"8"`
	Item             *uint64     `json:"item,omitempty" n2k:"9"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoUdbDatabaseObjectPing) DecodePayload(payload []uint8) error
func (m *NavicoUdbDatabaseObjectPing) EncodePayload() ([]uint8, error)
func (m *NavicoUdbDatabaseObjectPing) MessageInfo() MessageInfo
func (m *NavicoUdbDatabaseObjectPing) PGNNumber() uint32
func (m *NavicoUdbDatabaseObjectPing) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseShortReport5 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Marker           *uint64     `json:"marker,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Address          *uint64     `json:"address,omitempty" n2k:"7"`
	Section          *uint64     `json:"section,omitempty" n2k:"8"`
	Item             *uint64     `json:"item,omitempty" n2k:"9"`
	Data             []uint8     `json:"data,omitempty" n2k:"10"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoUdbDatabaseShortReport5) DecodePayload(payload []uint8) error
func (m *NavicoUdbDatabaseShortReport5) EncodePayload() ([]uint8, error)
func (m *NavicoUdbDatabaseShortReport5) MessageInfo() MessageInfo
func (m *NavicoUdbDatabaseShortReport5) PGNNumber() uint32
func (m *NavicoUdbDatabaseShortReport5) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseShortReport7 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Marker           *uint64     `json:"marker,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Address          *uint64     `json:"address,omitempty" n2k:"7"`
	Section          *uint64     `json:"section,omitempty" n2k:"8"`
	Item             *uint64     `json:"item,omitempty" n2k:"9"`
	Data             []uint8     `json:"data,omitempty" n2k:"10"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoUdbDatabaseShortReport7) DecodePayload(payload []uint8) error
func (m *NavicoUdbDatabaseShortReport7) EncodePayload() ([]uint8, error)
func (m *NavicoUdbDatabaseShortReport7) MessageInfo() MessageInfo
func (m *NavicoUdbDatabaseShortReport7) PGNNumber() uint32
func (m *NavicoUdbDatabaseShortReport7) SetMessageInfo(info MessageInfo)
type NavicoUdbDatabaseSourceReport struct {
	Info                  MessageInfo `json:"info"`
	ManufacturerCode      *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode          *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Marker                *uint64     `json:"marker,omitempty" n2k:"4"`
	Command               *uint64     `json:"command,omitempty" n2k:"5"`
	Address               *uint64     `json:"address,omitempty" n2k:"7"`
	SourceSettingId       *uint64     `json:"sourceSettingId,omitempty" n2k:"8"`
	Item                  *uint64     `json:"item,omitempty" n2k:"9"`
	ObjectValue           *uint64     `json:"objectValue,omitempty" n2k:"10"`
	Instance              *uint64     `json:"instance,omitempty" n2k:"11"`
	SourceSelectionMaster *uint64     `json:"sourceSelectionMaster,omitempty" n2k:"12"`
	Sub                   []uint8     `json:"sub,omitempty" n2k:"14"`
	Token                 *uint64     `json:"token,omitempty" n2k:"15"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoUdbDatabaseSourceReport) DecodePayload(payload []uint8) error
func (m *NavicoUdbDatabaseSourceReport) EncodePayload() ([]uint8, error)
func (m *NavicoUdbDatabaseSourceReport) MessageInfo() MessageInfo
func (m *NavicoUdbDatabaseSourceReport) PGNNumber() uint32
func (m *NavicoUdbDatabaseSourceReport) SetMessageInfo(info MessageInfo)
type NavicoWirelessBatteryStatus struct {
	Info                MessageInfo `json:"info"`
	ManufacturerCode    *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode        *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Status              *uint64     `json:"status,omitempty" n2k:"4"`
	BatteryStatus       *uint64     `json:"batteryStatus,omitempty" n2k:"5"`
	BatteryChargeStatus *uint64     `json:"batteryChargeStatus,omitempty" n2k:"6"`
	A                   *int64      `json:"a,omitempty" n2k:"8"`
}
func (m *NavicoWirelessBatteryStatus) BatteryChargeStatusValue() (float64, bool)

BatteryChargeStatusValue returns BatteryChargeStatus as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavicoWirelessBatteryStatus) BatteryStatusValue() (float64, bool)

BatteryStatusValue returns BatteryStatus as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoWirelessBatteryStatus) DecodePayload(payload []uint8) error
func (m *NavicoWirelessBatteryStatus) EncodePayload() ([]uint8, error)
func (m *NavicoWirelessBatteryStatus) MessageInfo() MessageInfo
func (m *NavicoWirelessBatteryStatus) PGNNumber() uint32
func (m *NavicoWirelessBatteryStatus) SetBatteryChargeStatusValue(v float64)

SetBatteryChargeStatusValue sets BatteryChargeStatus from a physical value in %, rounded to the nearest wire tick of 1.

func (m *NavicoWirelessBatteryStatus) SetBatteryStatusValue(v float64)

SetBatteryStatusValue sets BatteryStatus from a physical value in %, rounded to the nearest wire tick of 1.

func (m *NavicoWirelessBatteryStatus) SetMessageInfo(info MessageInfo)
type NavicoWirelessSignalStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Unknown          *uint64     `json:"unknown,omitempty" n2k:"4"`
	SignalStrength   *uint64     `json:"signalStrength,omitempty" n2k:"5"`
	A                *int64      `json:"a,omitempty" n2k:"6"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavicoWirelessSignalStatus) DecodePayload(payload []uint8) error
func (m *NavicoWirelessSignalStatus) EncodePayload() ([]uint8, error)
func (m *NavicoWirelessSignalStatus) MessageInfo() MessageInfo
func (m *NavicoWirelessSignalStatus) PGNNumber() uint32
func (m *NavicoWirelessSignalStatus) SetMessageInfo(info MessageInfo)
func (m *NavicoWirelessSignalStatus) SetSignalStrengthValue(v float64)

SetSignalStrengthValue sets SignalStrength from a physical value in %, rounded to the nearest wire tick of 1.

func (m *NavicoWirelessSignalStatus) SignalStrengthValue() (float64, bool)

SignalStrengthValue returns SignalStrength as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type NavigationData struct {
	Info                                 MessageInfo `json:"info"`
	Sid                                  *uint64     `json:"sid,omitempty" n2k:"1"`
	DistanceToWaypoint                   *uint64     `json:"distanceToWaypoint,omitempty" n2k:"2"`
	CourseBearingReference               *uint64     `json:"courseBearingReference,omitempty" n2k:"3"`
	PerpendicularCrossed                 *uint64     `json:"perpendicularCrossed,omitempty" n2k:"4"`
	ArrivalCircleEntered                 *uint64     `json:"arrivalCircleEntered,omitempty" n2k:"5"`
	CalculationType                      *uint64     `json:"calculationType,omitempty" n2k:"6"`
	EtaTime                              *uint64     `json:"etaTime,omitempty" n2k:"7"`
	EtaDate                              *uint64     `json:"etaDate,omitempty" n2k:"8"`
	BearingOriginToDestinationWaypoint   *uint64     `json:"bearingOriginToDestinationWaypoint,omitempty" n2k:"9"`
	BearingPositionToDestinationWaypoint *uint64     `json:"bearingPositionToDestinationWaypoint,omitempty" n2k:"10"`
	OriginWaypointNumber                 *uint64     `json:"originWaypointNumber,omitempty" n2k:"11"`
	DestinationWaypointNumber            *uint64     `json:"destinationWaypointNumber,omitempty" n2k:"12"`
	DestinationLatitude                  *int64      `json:"destinationLatitude,omitempty" n2k:"13"`
	DestinationLongitude                 *int64      `json:"destinationLongitude,omitempty" n2k:"14"`
	WaypointClosingVelocity              *int64      `json:"waypointClosingVelocity,omitempty" n2k:"15"`
}
func (m *NavigationData) BearingOriginToDestinationWaypointValue() (float64, bool)

BearingOriginToDestinationWaypointValue returns BearingOriginToDestinationWaypoint as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavigationData) BearingPositionToDestinationWaypointValue() (float64, bool)

BearingPositionToDestinationWaypointValue returns BearingPositionToDestinationWaypoint as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavigationData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavigationData) DecodePayload(payload []uint8) error
func (m *NavigationData) DestinationLatitudeValue() (float64, bool)

DestinationLatitudeValue returns DestinationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavigationData) DestinationLongitudeValue() (float64, bool)

DestinationLongitudeValue returns DestinationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavigationData) DistanceToWaypointValue() (float64, bool)

DistanceToWaypointValue returns DistanceToWaypoint as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavigationData) EncodePayload() ([]uint8, error)
func (m *NavigationData) EtaDateValue() (float64, bool)

EtaDateValue returns EtaDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavigationData) EtaTimeValue() (float64, bool)

EtaTimeValue returns EtaTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavigationData) MessageInfo() MessageInfo
func (m *NavigationData) PGNNumber() uint32
func (m *NavigationData) SetBearingOriginToDestinationWaypointValue(v float64)

SetBearingOriginToDestinationWaypointValue sets BearingOriginToDestinationWaypoint from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (m *NavigationData) SetBearingPositionToDestinationWaypointValue(v float64)

SetBearingPositionToDestinationWaypointValue sets BearingPositionToDestinationWaypoint from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (m *NavigationData) SetDestinationLatitudeValue(v float64)

SetDestinationLatitudeValue sets DestinationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (m *NavigationData) SetDestinationLongitudeValue(v float64)

SetDestinationLongitudeValue sets DestinationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (m *NavigationData) SetDistanceToWaypointValue(v float64)

SetDistanceToWaypointValue sets DistanceToWaypoint from a physical value in m, rounded to the nearest wire tick of 0.01.

func (m *NavigationData) SetEtaDateValue(v float64)

SetEtaDateValue sets EtaDate from a physical value in d, rounded to the nearest wire tick of 1.

func (m *NavigationData) SetEtaTimeValue(v float64)

SetEtaTimeValue sets EtaTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (m *NavigationData) SetMessageInfo(info MessageInfo)
func (m *NavigationData) SetWaypointClosingVelocityValue(v float64)

SetWaypointClosingVelocityValue sets WaypointClosingVelocity from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (m *NavigationData) WaypointClosingVelocityValue() (float64, bool)

WaypointClosingVelocityValue returns WaypointClosingVelocity as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type NavigationRouteTimeToFromMark struct {
	Info       MessageInfo `json:"info"`
	Sid        *uint64     `json:"sid,omitempty" n2k:"1"`
	TimeToMark *int64      `json:"timeToMark,omitempty" n2k:"2"`
	MarkType   *uint64     `json:"markType,omitempty" n2k:"3"`
	MarkId     *uint64     `json:"markId,omitempty" n2k:"5"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavigationRouteTimeToFromMark) DecodePayload(payload []uint8) error
func (m *NavigationRouteTimeToFromMark) EncodePayload() ([]uint8, error)
func (m *NavigationRouteTimeToFromMark) MessageInfo() MessageInfo
func (m *NavigationRouteTimeToFromMark) PGNNumber() uint32
func (m *NavigationRouteTimeToFromMark) SetMessageInfo(info MessageInfo)
func (m *NavigationRouteTimeToFromMark) SetTimeToMarkValue(v float64)

SetTimeToMarkValue sets TimeToMark from a physical value in s, rounded to the nearest wire tick of 0.001.

func (m *NavigationRouteTimeToFromMark) TimeToMarkValue() (float64, bool)

TimeToMarkValue returns TimeToMark as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

type NavigationRouteWpInformation struct {
	Info                              MessageInfo                              `json:"info"`
	StartRps                          *uint64                                  `json:"startRps,omitempty" n2k:"1"`
	Nitems                            *uint64                                  `json:"nitems,omitempty" n2k:"2"`
	DatabaseId                        *uint64                                  `json:"databaseId,omitempty" n2k:"3"`
	RouteId                           *uint64                                  `json:"routeId,omitempty" n2k:"4"`
	NavigationDirectionInRoute        *uint64                                  `json:"navigationDirectionInRoute,omitempty" n2k:"5"`
	SupplementaryRouteWpDataAvailable *uint64                                  `json:"supplementaryRouteWpDataAvailable,omitempty" n2k:"6"`
	RouteName                         string                                   `json:"routeName,omitempty" n2k:"8"`
	Repeating1                        []NavigationRouteWpInformationRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

Clone returns a message owning every mutable field and retained wire byte.

func (m *NavigationRouteWpInformation) DecodePayload(payload []uint8) error
func (m *NavigationRouteWpInformation) EncodePayload() ([]uint8, error)
func (m *NavigationRouteWpInformation) MessageInfo() MessageInfo
func (m *NavigationRouteWpInformation) PGNNumber() uint32
func (m *NavigationRouteWpInformation) SetMessageInfo(info MessageInfo)
type NavigationRouteWpInformationRepeating1 struct {
	WpId        *uint64 `json:"wpId,omitempty" n2k:"10"`
	WpName      string  `json:"wpName,omitempty" n2k:"11"`
	WpLatitude  *int64  `json:"wpLatitude,omitempty" n2k:"12"`
	WpLongitude *int64  `json:"wpLongitude,omitempty" n2k:"13"`
}
func (m *NavigationRouteWpInformationRepeating1) SetWpLatitudeValue(v float64)

SetWpLatitudeValue sets WpLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (m *NavigationRouteWpInformationRepeating1) SetWpLongitudeValue(v float64)

SetWpLongitudeValue sets WpLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (m *NavigationRouteWpInformationRepeating1) WpLatitudeValue() (float64, bool)

WpLatitudeValue returns WpLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (m *NavigationRouteWpInformationRepeating1) WpLongitudeValue() (float64, bool)

WpLongitudeValue returns WpLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

type NmeaAcknowledgeGroupFunction

type NmeaAcknowledgeGroupFunction struct {
	Info                                  MessageInfo                              `json:"info"`
	FunctionCode                          *uint64                                  `json:"functionCode,omitempty" n2k:"1"`
	Pgn                                   *uint64                                  `json:"pgn,omitempty" n2k:"2"`
	PgnErrorCode                          *uint64                                  `json:"pgnErrorCode,omitempty" n2k:"3"`
	TransmissionIntervalPriorityErrorCode *uint64                                  `json:"transmissionIntervalPriorityErrorCode,omitempty" n2k:"4"`
	NumberOfParameters                    *uint64                                  `json:"numberOfParameters,omitempty" n2k:"5"`
	Repeating1                            []NmeaAcknowledgeGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*NmeaAcknowledgeGroupFunction) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*NmeaAcknowledgeGroupFunction) DecodePayload

func (m *NmeaAcknowledgeGroupFunction) DecodePayload(payload []uint8) error

func (*NmeaAcknowledgeGroupFunction) EncodePayload

func (m *NmeaAcknowledgeGroupFunction) EncodePayload() ([]uint8, error)

func (*NmeaAcknowledgeGroupFunction) MessageInfo

func (m *NmeaAcknowledgeGroupFunction) MessageInfo() MessageInfo

func (*NmeaAcknowledgeGroupFunction) PGNNumber

func (m *NmeaAcknowledgeGroupFunction) PGNNumber() uint32

func (*NmeaAcknowledgeGroupFunction) SetMessageInfo

func (m *NmeaAcknowledgeGroupFunction) SetMessageInfo(info MessageInfo)

type NmeaAcknowledgeGroupFunctionRepeating1

type NmeaAcknowledgeGroupFunctionRepeating1 struct {
	Parameter *uint64 `json:"parameter,omitempty" n2k:"6"`
}

type NmeaCommandGroupFunction

type NmeaCommandGroupFunction struct {
	Info               MessageInfo                          `json:"info"`
	FunctionCode       *uint64                              `json:"functionCode,omitempty" n2k:"1"`
	Pgn                *uint64                              `json:"pgn,omitempty" n2k:"2"`
	Priority           *uint64                              `json:"priority,omitempty" n2k:"3"`
	NumberOfParameters *uint64                              `json:"numberOfParameters,omitempty" n2k:"5"`
	Repeating1         []NmeaCommandGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*NmeaCommandGroupFunction) Clone added in v1.3.0

func (m *NmeaCommandGroupFunction) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*NmeaCommandGroupFunction) DecodePayload

func (m *NmeaCommandGroupFunction) DecodePayload(payload []uint8) error

func (*NmeaCommandGroupFunction) EncodePayload

func (m *NmeaCommandGroupFunction) EncodePayload() ([]uint8, error)

func (*NmeaCommandGroupFunction) MessageInfo

func (m *NmeaCommandGroupFunction) MessageInfo() MessageInfo

func (*NmeaCommandGroupFunction) PGNNumber

func (m *NmeaCommandGroupFunction) PGNNumber() uint32

func (*NmeaCommandGroupFunction) SetMessageInfo

func (m *NmeaCommandGroupFunction) SetMessageInfo(info MessageInfo)

type NmeaCommandGroupFunctionRepeating1

type NmeaCommandGroupFunctionRepeating1 struct {
	Parameter *uint64 `json:"parameter,omitempty" n2k:"6"`
	Value     []uint8 `json:"value,omitempty" n2k:"7"`
}

type NmeaReadFieldsGroupFunction

type NmeaReadFieldsGroupFunction struct {
	Info                   MessageInfo                             `json:"info"`
	FunctionCode           *uint64                                 `json:"functionCode,omitempty" n2k:"1"`
	Pgn                    *uint64                                 `json:"pgn,omitempty" n2k:"2"`
	ManufacturerCode       *uint64                                 `json:"manufacturerCode,omitempty" n2k:"3"`
	IndustryCode           *uint64                                 `json:"industryCode,omitempty" n2k:"5"`
	UniqueId               *uint64                                 `json:"uniqueId,omitempty" n2k:"6"`
	NumberOfSelectionPairs *uint64                                 `json:"numberOfSelectionPairs,omitempty" n2k:"7"`
	NumberOfParameters     *uint64                                 `json:"numberOfParameters,omitempty" n2k:"8"`
	Repeating1             []NmeaReadFieldsGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
	Repeating2             []NmeaReadFieldsGroupFunctionRepeating2 `json:"repeating2,omitempty" n2k:"rep2"`
}

func (*NmeaReadFieldsGroupFunction) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*NmeaReadFieldsGroupFunction) DecodePayload

func (m *NmeaReadFieldsGroupFunction) DecodePayload(payload []uint8) error

func (*NmeaReadFieldsGroupFunction) EncodePayload

func (m *NmeaReadFieldsGroupFunction) EncodePayload() ([]uint8, error)

func (*NmeaReadFieldsGroupFunction) MessageInfo

func (m *NmeaReadFieldsGroupFunction) MessageInfo() MessageInfo

func (*NmeaReadFieldsGroupFunction) PGNNumber

func (m *NmeaReadFieldsGroupFunction) PGNNumber() uint32

func (*NmeaReadFieldsGroupFunction) SetMessageInfo

func (m *NmeaReadFieldsGroupFunction) SetMessageInfo(info MessageInfo)

type NmeaReadFieldsGroupFunctionRepeating1

type NmeaReadFieldsGroupFunctionRepeating1 struct {
	SelectionParameter *uint64 `json:"selectionParameter,omitempty" n2k:"9"`
	SelectionValue     []uint8 `json:"selectionValue,omitempty" n2k:"10"`
}

type NmeaReadFieldsGroupFunctionRepeating2

type NmeaReadFieldsGroupFunctionRepeating2 struct {
	Parameter *uint64 `json:"parameter,omitempty" n2k:"11"`
}

type NmeaReadFieldsReplyGroupFunction

type NmeaReadFieldsReplyGroupFunction struct {
	Info                   MessageInfo                                  `json:"info"`
	FunctionCode           *uint64                                      `json:"functionCode,omitempty" n2k:"1"`
	Pgn                    *uint64                                      `json:"pgn,omitempty" n2k:"2"`
	ManufacturerCode       *uint64                                      `json:"manufacturerCode,omitempty" n2k:"3"`
	IndustryCode           *uint64                                      `json:"industryCode,omitempty" n2k:"5"`
	UniqueId               *uint64                                      `json:"uniqueId,omitempty" n2k:"6"`
	NumberOfSelectionPairs *uint64                                      `json:"numberOfSelectionPairs,omitempty" n2k:"7"`
	NumberOfParameters     *uint64                                      `json:"numberOfParameters,omitempty" n2k:"8"`
	Repeating1             []NmeaReadFieldsReplyGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
	Repeating2             []NmeaReadFieldsReplyGroupFunctionRepeating2 `json:"repeating2,omitempty" n2k:"rep2"`
}

func (*NmeaReadFieldsReplyGroupFunction) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*NmeaReadFieldsReplyGroupFunction) DecodePayload

func (m *NmeaReadFieldsReplyGroupFunction) DecodePayload(payload []uint8) error

func (*NmeaReadFieldsReplyGroupFunction) EncodePayload

func (m *NmeaReadFieldsReplyGroupFunction) EncodePayload() ([]uint8, error)

func (*NmeaReadFieldsReplyGroupFunction) MessageInfo

func (*NmeaReadFieldsReplyGroupFunction) PGNNumber

func (*NmeaReadFieldsReplyGroupFunction) SetMessageInfo

func (m *NmeaReadFieldsReplyGroupFunction) SetMessageInfo(info MessageInfo)

type NmeaReadFieldsReplyGroupFunctionRepeating1

type NmeaReadFieldsReplyGroupFunctionRepeating1 struct {
	SelectionParameter *uint64 `json:"selectionParameter,omitempty" n2k:"9"`
	SelectionValue     []uint8 `json:"selectionValue,omitempty" n2k:"10"`
}

type NmeaReadFieldsReplyGroupFunctionRepeating2

type NmeaReadFieldsReplyGroupFunctionRepeating2 struct {
	Parameter *uint64 `json:"parameter,omitempty" n2k:"11"`
	Value     []uint8 `json:"value,omitempty" n2k:"12"`
}

type NmeaRequestGroupFunction

type NmeaRequestGroupFunction struct {
	Info                       MessageInfo                          `json:"info"`
	FunctionCode               *uint64                              `json:"functionCode,omitempty" n2k:"1"`
	Pgn                        *uint64                              `json:"pgn,omitempty" n2k:"2"`
	TransmissionInterval       *uint64                              `json:"transmissionInterval,omitempty" n2k:"3"`
	TransmissionIntervalOffset *uint64                              `json:"transmissionIntervalOffset,omitempty" n2k:"4"`
	NumberOfParameters         *uint64                              `json:"numberOfParameters,omitempty" n2k:"5"`
	Repeating1                 []NmeaRequestGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*NmeaRequestGroupFunction) Clone added in v1.3.0

func (m *NmeaRequestGroupFunction) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*NmeaRequestGroupFunction) DecodePayload

func (m *NmeaRequestGroupFunction) DecodePayload(payload []uint8) error

func (*NmeaRequestGroupFunction) EncodePayload

func (m *NmeaRequestGroupFunction) EncodePayload() ([]uint8, error)

func (*NmeaRequestGroupFunction) MessageInfo

func (m *NmeaRequestGroupFunction) MessageInfo() MessageInfo

func (*NmeaRequestGroupFunction) PGNNumber

func (m *NmeaRequestGroupFunction) PGNNumber() uint32

func (*NmeaRequestGroupFunction) SetMessageInfo

func (m *NmeaRequestGroupFunction) SetMessageInfo(info MessageInfo)

func (*NmeaRequestGroupFunction) SetTransmissionIntervalOffsetValue

func (m *NmeaRequestGroupFunction) SetTransmissionIntervalOffsetValue(v float64)

SetTransmissionIntervalOffsetValue sets TransmissionIntervalOffset from a physical value in s, rounded to the nearest wire tick of 0.01.

func (*NmeaRequestGroupFunction) SetTransmissionIntervalValue

func (m *NmeaRequestGroupFunction) SetTransmissionIntervalValue(v float64)

SetTransmissionIntervalValue sets TransmissionInterval from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*NmeaRequestGroupFunction) TransmissionIntervalOffsetValue

func (m *NmeaRequestGroupFunction) TransmissionIntervalOffsetValue() (float64, bool)

TransmissionIntervalOffsetValue returns TransmissionIntervalOffset as a physical value in s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*NmeaRequestGroupFunction) TransmissionIntervalValue

func (m *NmeaRequestGroupFunction) TransmissionIntervalValue() (float64, bool)

TransmissionIntervalValue returns TransmissionInterval as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

type NmeaRequestGroupFunctionRepeating1

type NmeaRequestGroupFunctionRepeating1 struct {
	Parameter *uint64 `json:"parameter,omitempty" n2k:"6"`
	Value     []uint8 `json:"value,omitempty" n2k:"7"`
}

type NmeaWriteFieldsGroupFunction

type NmeaWriteFieldsGroupFunction struct {
	Info                   MessageInfo                              `json:"info"`
	FunctionCode           *uint64                                  `json:"functionCode,omitempty" n2k:"1"`
	Pgn                    *uint64                                  `json:"pgn,omitempty" n2k:"2"`
	ManufacturerCode       *uint64                                  `json:"manufacturerCode,omitempty" n2k:"3"`
	IndustryCode           *uint64                                  `json:"industryCode,omitempty" n2k:"5"`
	UniqueId               *uint64                                  `json:"uniqueId,omitempty" n2k:"6"`
	NumberOfSelectionPairs *uint64                                  `json:"numberOfSelectionPairs,omitempty" n2k:"7"`
	NumberOfParameters     *uint64                                  `json:"numberOfParameters,omitempty" n2k:"8"`
	Repeating1             []NmeaWriteFieldsGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
	Repeating2             []NmeaWriteFieldsGroupFunctionRepeating2 `json:"repeating2,omitempty" n2k:"rep2"`
}

func (*NmeaWriteFieldsGroupFunction) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*NmeaWriteFieldsGroupFunction) DecodePayload

func (m *NmeaWriteFieldsGroupFunction) DecodePayload(payload []uint8) error

func (*NmeaWriteFieldsGroupFunction) EncodePayload

func (m *NmeaWriteFieldsGroupFunction) EncodePayload() ([]uint8, error)

func (*NmeaWriteFieldsGroupFunction) MessageInfo

func (m *NmeaWriteFieldsGroupFunction) MessageInfo() MessageInfo

func (*NmeaWriteFieldsGroupFunction) PGNNumber

func (m *NmeaWriteFieldsGroupFunction) PGNNumber() uint32

func (*NmeaWriteFieldsGroupFunction) SetMessageInfo

func (m *NmeaWriteFieldsGroupFunction) SetMessageInfo(info MessageInfo)

type NmeaWriteFieldsGroupFunctionRepeating1

type NmeaWriteFieldsGroupFunctionRepeating1 struct {
	SelectionParameter *uint64 `json:"selectionParameter,omitempty" n2k:"9"`
	SelectionValue     []uint8 `json:"selectionValue,omitempty" n2k:"10"`
}

type NmeaWriteFieldsGroupFunctionRepeating2

type NmeaWriteFieldsGroupFunctionRepeating2 struct {
	Parameter *uint64 `json:"parameter,omitempty" n2k:"11"`
	Value     []uint8 `json:"value,omitempty" n2k:"12"`
}

type NmeaWriteFieldsReplyGroupFunction

type NmeaWriteFieldsReplyGroupFunction struct {
	Info                   MessageInfo                                   `json:"info"`
	FunctionCode           *uint64                                       `json:"functionCode,omitempty" n2k:"1"`
	Pgn                    *uint64                                       `json:"pgn,omitempty" n2k:"2"`
	ManufacturerCode       *uint64                                       `json:"manufacturerCode,omitempty" n2k:"3"`
	IndustryCode           *uint64                                       `json:"industryCode,omitempty" n2k:"5"`
	UniqueId               *uint64                                       `json:"uniqueId,omitempty" n2k:"6"`
	NumberOfSelectionPairs *uint64                                       `json:"numberOfSelectionPairs,omitempty" n2k:"7"`
	NumberOfParameters     *uint64                                       `json:"numberOfParameters,omitempty" n2k:"8"`
	Repeating1             []NmeaWriteFieldsReplyGroupFunctionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
	Repeating2             []NmeaWriteFieldsReplyGroupFunctionRepeating2 `json:"repeating2,omitempty" n2k:"rep2"`
}

func (*NmeaWriteFieldsReplyGroupFunction) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*NmeaWriteFieldsReplyGroupFunction) DecodePayload

func (m *NmeaWriteFieldsReplyGroupFunction) DecodePayload(payload []uint8) error

func (*NmeaWriteFieldsReplyGroupFunction) EncodePayload

func (m *NmeaWriteFieldsReplyGroupFunction) EncodePayload() ([]uint8, error)

func (*NmeaWriteFieldsReplyGroupFunction) MessageInfo

func (*NmeaWriteFieldsReplyGroupFunction) PGNNumber

func (*NmeaWriteFieldsReplyGroupFunction) SetMessageInfo

func (m *NmeaWriteFieldsReplyGroupFunction) SetMessageInfo(info MessageInfo)

type NmeaWriteFieldsReplyGroupFunctionRepeating1

type NmeaWriteFieldsReplyGroupFunctionRepeating1 struct {
	SelectionParameter *uint64 `json:"selectionParameter,omitempty" n2k:"9"`
	SelectionValue     []uint8 `json:"selectionValue,omitempty" n2k:"10"`
}

type NmeaWriteFieldsReplyGroupFunctionRepeating2

type NmeaWriteFieldsReplyGroupFunctionRepeating2 struct {
	Parameter *uint64 `json:"parameter,omitempty" n2k:"11"`
	Value     []uint8 `json:"value,omitempty" n2k:"12"`
}

type OffOnConst

type OffOnConst uint8
const (
	OffOnOff OffOnConst = 0
	OffOnOn  OffOnConst = 1
)

func (OffOnConst) GoString

func (e OffOnConst) GoString() string

func (OffOnConst) String

func (e OffOnConst) String() string

type OffOnControlConst added in v1.3.0

type OffOnControlConst uint8
const (
	OffOnControlOff                  OffOnControlConst = 0
	OffOnControlOn                   OffOnControlConst = 1
	OffOnControlReserved             OffOnControlConst = 2
	OffOnControlTakeNoActionNoChange OffOnControlConst = 3
)

func (OffOnControlConst) GoString added in v1.3.0

func (e OffOnControlConst) GoString() string

func (OffOnControlConst) String added in v1.3.0

func (e OffOnControlConst) String() string

type OkWarningConst

type OkWarningConst uint8
const (
	OkWarningOK      OkWarningConst = 0
	OkWarningWarning OkWarningConst = 1
)

func (OkWarningConst) GoString

func (e OkWarningConst) GoString() string

func (OkWarningConst) String

func (e OkWarningConst) String() string

type PGN

type PGN interface {
	Message
	MessageInfo() MessageInfo
	SetMessageInfo(MessageInfo)
	DecodePayload([]uint8) error
	EncodePayload() ([]uint8, error)
}

func DecodeMessage

func DecodeMessage(info MessageInfo, payload []uint8) (PGN, error)

DecodeMessage decodes a raw PGN payload into the matching PGN struct.

func DecodePayload

func DecodePayload(info MessageInfo, payload []uint8) (PGN, error)

type PGNDataStream

type PGNDataStream struct {
	// contains filtered or unexported fields
}

PGNDataStream provides a bit-level sequential reader over raw NMEA 2000 message data. It is the core decoding primitive: generated PGN decoder functions create a PGNDataStream from a packet's payload bytes and then call its typed read methods to extract each field in the order defined by the PGN specification.

NMEA 2000 fields are not always byte-aligned -- many are packed at odd bit widths (e.g., 3-bit lookup fields, 11-bit manufacturer codes). The stream tracks a combined byte+bit cursor so that sub-byte and cross-byte reads work transparently.

Nullable semantics: In the NMEA 2000 encoding, the maximum representable value for a field's bit width signals "data not available" (null). The read methods that return pointer types use this convention: they return nil when the raw value equals the null sentinel, avoiding the need for a separate validity flag.

func NewPgnDataStream

func NewPgnDataStream(data []uint8) *PGNDataStream

NewPgnDataStream creates a PGNDataStream positioned at the beginning of the supplied byte slice. The caller should pass the complete reassembled payload of an NMEA 2000 packet (for fast-packet PGNs, the frames must already be assembled before calling this). The stream does not copy the data -- it references the original slice.

type PGNDataStreamWriter

type PGNDataStreamWriter struct {
	// contains filtered or unexported fields
}

PGNDataStreamWriter provides a bit-level sequential writer that is the exact inverse of PGNDataStream. It builds up an NMEA 2000 message payload by writing typed fields in the order defined by a PGN specification. Sub-byte and cross-byte writes are handled transparently using the same little-endian bit ordering as the reader.

Generated PGN encoder functions will create a PGNDataStreamWriter, call its typed write methods for each field, and then call Bytes() to obtain the finished payload.

func NewPGNDataStreamWriter

func NewPGNDataStreamWriter() *PGNDataStreamWriter

NewPGNDataStreamWriter creates a PGNDataStreamWriter with an empty payload buffer. Callers write fields sequentially, then call Bytes() to retrieve the encoded payload.

func (*PGNDataStreamWriter) Bytes

func (w *PGNDataStreamWriter) Bytes() []uint8

Bytes returns the accumulated payload bytes. The returned slice is owned by the writer; callers should copy it if they need to retain it after further writes.

func (*PGNDataStreamWriter) Err

func (w *PGNDataStreamWriter) Err() error

Err returns the first error encountered during writes, or nil if all writes succeeded.

type ParameterFieldConst

type ParameterFieldConst uint8
const (
	ParameterFieldAcknowledge             ParameterFieldConst = 0
	ParameterFieldInvalidParameterField   ParameterFieldConst = 1
	ParameterFieldTemporaryError          ParameterFieldConst = 2
	ParameterFieldParameterOutOfRange     ParameterFieldConst = 3
	ParameterFieldAccessDenied            ParameterFieldConst = 4
	ParameterFieldNotSupported            ParameterFieldConst = 5
	ParameterFieldReadOrWriteNotSupported ParameterFieldConst = 6
)

func (ParameterFieldConst) GoString

func (e ParameterFieldConst) GoString() string

func (ParameterFieldConst) String

func (e ParameterFieldConst) String() string

type ParameterGroupNumberListTransmitAndReceive

type ParameterGroupNumberListTransmitAndReceive struct {
	Info         MessageInfo                                            `json:"info"`
	FunctionCode *uint64                                                `json:"functionCode,omitempty" n2k:"1"`
	Repeating1   []ParameterGroupNumberListTransmitAndReceiveRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*ParameterGroupNumberListTransmitAndReceive) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*ParameterGroupNumberListTransmitAndReceive) DecodePayload

func (m *ParameterGroupNumberListTransmitAndReceive) DecodePayload(payload []uint8) error

func (*ParameterGroupNumberListTransmitAndReceive) EncodePayload

func (m *ParameterGroupNumberListTransmitAndReceive) EncodePayload() ([]uint8, error)

func (*ParameterGroupNumberListTransmitAndReceive) MessageInfo

func (*ParameterGroupNumberListTransmitAndReceive) PGNNumber

func (*ParameterGroupNumberListTransmitAndReceive) SetMessageInfo

type ParameterGroupNumberListTransmitAndReceiveRepeating1

type ParameterGroupNumberListTransmitAndReceiveRepeating1 struct {
	Pgn *uint64 `json:"pgn,omitempty" n2k:"2"`
}

type PayloadMass

type PayloadMass struct {
	Info              MessageInfo `json:"info"`
	Sid               *uint64     `json:"sid,omitempty" n2k:"1"`
	MeasurementStatus *uint64     `json:"measurementStatus,omitempty" n2k:"2"`
	MeasurementId     *uint64     `json:"measurementId,omitempty" n2k:"4"`
	PayloadMass       *uint64     `json:"payloadMass,omitempty" n2k:"5"`
}

func (*PayloadMass) Clone added in v1.3.0

func (m *PayloadMass) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*PayloadMass) DecodePayload

func (m *PayloadMass) DecodePayload(payload []uint8) error

func (*PayloadMass) EncodePayload

func (m *PayloadMass) EncodePayload() ([]uint8, error)

func (*PayloadMass) MessageInfo

func (m *PayloadMass) MessageInfo() MessageInfo

func (*PayloadMass) PGNNumber

func (m *PayloadMass) PGNNumber() uint32

func (*PayloadMass) SetMessageInfo

func (m *PayloadMass) SetMessageInfo(info MessageInfo)

type PgnErrorCodeConst

type PgnErrorCodeConst uint8
const (
	PgnErrorCodeAcknowledge             PgnErrorCodeConst = 0
	PgnErrorCodePGNNotSupported         PgnErrorCodeConst = 1
	PgnErrorCodePGNNotAvailable         PgnErrorCodeConst = 2
	PgnErrorCodeAccessDenied            PgnErrorCodeConst = 3
	PgnErrorCodeNotSupported            PgnErrorCodeConst = 4
	PgnErrorCodeTagNotSupported         PgnErrorCodeConst = 5
	PgnErrorCodeReadOrWriteNotSupported PgnErrorCodeConst = 6
)

func (PgnErrorCodeConst) GoString

func (e PgnErrorCodeConst) GoString() string

func (PgnErrorCodeConst) String

func (e PgnErrorCodeConst) String() string

type PgnInfo

type PgnInfo struct {
	// SourceID is the upstream source Id for this PGN variant.
	SourceID string `json:"sourceId"`
	// Id is a unique string identifier for this PGN variant, needed to distinguish
	// PGNs that share the same numeric PGN but have different field layouts (KeyValue PGNs).
	Id string `json:"id"`
	// PGN is the NMEA 2000 Parameter Group Number that identifies this message type
	// on the CAN bus. Values range from 0 to ~131071 (0x1FFFF).
	PGN uint32 `json:"pgn"`
	// Description is a human-readable name for this PGN (e.g., "Vessel Heading").
	Description string `json:"description"`
	// Explanation is the source schema's longer PGN description, when present.
	Explanation string `json:"explanation,omitempty"`
	// Fast indicates whether this PGN uses the NMEA 2000 fast-packet protocol.
	// Fast-packet PGNs can carry more than 8 bytes by spanning multiple CAN frames;
	// single-frame PGNs are limited to 8 bytes.
	Fast bool `json:"fast"`
	// Type is the source schema transport type string (Single, Fast, ISO, or Mixed).
	Type string `json:"type"`
	// Complete mirrors the source schema's confidence flag for fully described PGNs.
	Complete bool `json:"complete"`
	// DecodeComplete and EncodeComplete describe implementation support, apart
	// from the source schema's Complete flag. False means consult CodecLimitations.
	DecodeComplete   bool     `json:"decodeComplete"`
	EncodeComplete   bool     `json:"encodeComplete"`
	CodecLimitations []string `json:"codecLimitations,omitempty"`
	// HardwareVerified is false until public, variant-specific hardware evidence
	// is attached. Typed coverage and round trips do not establish this claim.
	HardwareVerified bool `json:"hardwareVerified"`
	// Fallback marks range fallback definitions from the source schema.
	Fallback bool `json:"fallback"`
	// Missing lists source metadata categories still missing for this PGN.
	Missing []string `json:"missing,omitempty"`
	// Length is the nominal payload length in bytes when the source schema provides one.
	Length *int `json:"length,omitempty"`
	// MinLength is the minimum payload length in bytes when the source schema provides one.
	MinLength *int `json:"minLength,omitempty"`
	// Priority is the default CAN priority when the source schema provides one.
	Priority *uint8 `json:"priority,omitempty"`
	// TransmissionInterval is the default transmission interval in milliseconds.
	TransmissionInterval *int `json:"transmissionInterval,omitempty"`
	// TransmissionIrregular marks PGNs whose transmission is event/request driven.
	TransmissionIrregular *bool `json:"transmissionIrregular,omitempty"`
	// RepeatingFieldSet metadata mirrors the source schema's repeating field-set annotations.
	RepeatingFieldSet1StartField *int `json:"repeatingFieldSet1StartField,omitempty"`
	RepeatingFieldSet1CountField *int `json:"repeatingFieldSet1CountField,omitempty"`
	RepeatingFieldSet1Size       *int `json:"repeatingFieldSet1Size,omitempty"`
	RepeatingFieldSet2StartField *int `json:"repeatingFieldSet2StartField,omitempty"`
	RepeatingFieldSet2CountField *int `json:"repeatingFieldSet2CountField,omitempty"`
	RepeatingFieldSet2Size       *int `json:"repeatingFieldSet2Size,omitempty"`
	// ManId is the manufacturer code for proprietary PGNs. It is zero for standard
	// (non-proprietary) PGNs. Used to select the correct variant when multiple
	// manufacturers define different payloads for the same proprietary PGN number.
	ManId ManufacturerCodeConst `json:"manId"`
	// Fields maps field index (1-based, matching the source field order) to
	// FieldDescriptor. This is needed at runtime for variable-length and KeyValue
	// fields where the decoder must inspect field metadata dynamically.
	Fields map[int]*FieldDescriptor `json:"fields"`
}

PgnInfo describes a known NMEA 2000 message type. Entries are generated from upstream metadata and indexed into PgnInfoLookup at init time for fast access by PGN number.

Multiple PgnInfo entries can share the same PGN number. This happens with proprietary PGNs where different manufacturers define different payloads for the same PGN, and also with "KeyValue" style PGNs that have multiple structural variants.

func FilterMatchingPgnInfos

func FilterMatchingPgnInfos(candidates []*PgnInfo, data []uint8) []*PgnInfo

func (*PgnInfo) MatchesData

func (info *PgnInfo) MatchesData(data []uint8) bool

type PgnListFunctionConst

type PgnListFunctionConst uint8
const (
	PgnListFunctionTransmitPGNList PgnListFunctionConst = 0
	PgnListFunctionReceivePGNList  PgnListFunctionConst = 1
)

func (PgnListFunctionConst) GoString

func (e PgnListFunctionConst) GoString() string

func (PgnListFunctionConst) String

func (e PgnListFunctionConst) String() string

type PositionAccuracyConst

type PositionAccuracyConst uint8
const (
	PositionAccuracyLow  PositionAccuracyConst = 0
	PositionAccuracyHigh PositionAccuracyConst = 1
)

func (PositionAccuracyConst) GoString

func (e PositionAccuracyConst) GoString() string

func (PositionAccuracyConst) String

func (e PositionAccuracyConst) String() string

type PositionDeltaRapidUpdate

type PositionDeltaRapidUpdate struct {
	Info           MessageInfo `json:"info"`
	Sid            *uint64     `json:"sid,omitempty" n2k:"1"`
	TimeDelta      *uint64     `json:"timeDelta,omitempty" n2k:"2"`
	LatitudeDelta  *int64      `json:"latitudeDelta,omitempty" n2k:"3"`
	LongitudeDelta *int64      `json:"longitudeDelta,omitempty" n2k:"4"`
}

func (*PositionDeltaRapidUpdate) Clone added in v1.3.0

func (m *PositionDeltaRapidUpdate) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*PositionDeltaRapidUpdate) DecodePayload

func (m *PositionDeltaRapidUpdate) DecodePayload(payload []uint8) error

func (*PositionDeltaRapidUpdate) EncodePayload

func (m *PositionDeltaRapidUpdate) EncodePayload() ([]uint8, error)

func (*PositionDeltaRapidUpdate) LatitudeDeltaValue

func (m *PositionDeltaRapidUpdate) LatitudeDeltaValue() (float64, bool)

LatitudeDeltaValue returns LatitudeDelta as a physical value in deg (value = raw * 2.77778e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*PositionDeltaRapidUpdate) LongitudeDeltaValue

func (m *PositionDeltaRapidUpdate) LongitudeDeltaValue() (float64, bool)

LongitudeDeltaValue returns LongitudeDelta as a physical value in deg (value = raw * 2.77778e-09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*PositionDeltaRapidUpdate) MessageInfo

func (m *PositionDeltaRapidUpdate) MessageInfo() MessageInfo

func (*PositionDeltaRapidUpdate) PGNNumber

func (m *PositionDeltaRapidUpdate) PGNNumber() uint32

func (*PositionDeltaRapidUpdate) SetLatitudeDeltaValue

func (m *PositionDeltaRapidUpdate) SetLatitudeDeltaValue(v float64)

SetLatitudeDeltaValue sets LatitudeDelta from a physical value in deg, rounded to the nearest wire tick of 2.77778e-09.

func (*PositionDeltaRapidUpdate) SetLongitudeDeltaValue

func (m *PositionDeltaRapidUpdate) SetLongitudeDeltaValue(v float64)

SetLongitudeDeltaValue sets LongitudeDelta from a physical value in deg, rounded to the nearest wire tick of 2.77778e-09.

func (*PositionDeltaRapidUpdate) SetMessageInfo

func (m *PositionDeltaRapidUpdate) SetMessageInfo(info MessageInfo)

func (*PositionDeltaRapidUpdate) SetTimeDeltaValue

func (m *PositionDeltaRapidUpdate) SetTimeDeltaValue(v float64)

SetTimeDeltaValue sets TimeDelta from a physical value in s, rounded to the nearest wire tick of 0.005.

func (*PositionDeltaRapidUpdate) TimeDeltaValue

func (m *PositionDeltaRapidUpdate) TimeDeltaValue() (float64, bool)

TimeDeltaValue returns TimeDelta as a physical value in s (value = raw * 0.005). The bool is false for absent, sentinel, or out-of-range measurements.

type PositionFixDeviceConst

type PositionFixDeviceConst uint8
const (
	PositionFixDeviceDefaultUndefined           PositionFixDeviceConst = 0
	PositionFixDeviceGPS                        PositionFixDeviceConst = 1
	PositionFixDeviceGLONASS                    PositionFixDeviceConst = 2
	PositionFixDeviceCombinedGPSGLONASS         PositionFixDeviceConst = 3
	PositionFixDeviceLoranC                     PositionFixDeviceConst = 4
	PositionFixDeviceChayka                     PositionFixDeviceConst = 5
	PositionFixDeviceIntegratedNavigationSystem PositionFixDeviceConst = 6
	PositionFixDeviceSurveyed                   PositionFixDeviceConst = 7
	PositionFixDeviceGalileo                    PositionFixDeviceConst = 8
)

func (PositionFixDeviceConst) GoString

func (e PositionFixDeviceConst) GoString() string

func (PositionFixDeviceConst) String

func (e PositionFixDeviceConst) String() string

type PositionRapidUpdate

type PositionRapidUpdate struct {
	Info      MessageInfo `json:"info"`
	Latitude  *int64      `json:"latitude,omitempty" n2k:"1"`
	Longitude *int64      `json:"longitude,omitempty" n2k:"2"`
}

func (*PositionRapidUpdate) Clone added in v1.3.0

func (m *PositionRapidUpdate) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*PositionRapidUpdate) DecodePayload

func (m *PositionRapidUpdate) DecodePayload(payload []uint8) error

func (*PositionRapidUpdate) EncodePayload

func (m *PositionRapidUpdate) EncodePayload() ([]uint8, error)

func (*PositionRapidUpdate) LatitudeValue

func (m *PositionRapidUpdate) LatitudeValue() (float64, bool)

LatitudeValue returns Latitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*PositionRapidUpdate) LongitudeValue

func (m *PositionRapidUpdate) LongitudeValue() (float64, bool)

LongitudeValue returns Longitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*PositionRapidUpdate) MessageInfo

func (m *PositionRapidUpdate) MessageInfo() MessageInfo

func (*PositionRapidUpdate) PGNNumber

func (m *PositionRapidUpdate) PGNNumber() uint32

func (*PositionRapidUpdate) SetLatitudeValue

func (m *PositionRapidUpdate) SetLatitudeValue(v float64)

SetLatitudeValue sets Latitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*PositionRapidUpdate) SetLongitudeValue

func (m *PositionRapidUpdate) SetLongitudeValue(v float64)

SetLongitudeValue sets Longitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*PositionRapidUpdate) SetMessageInfo

func (m *PositionRapidUpdate) SetMessageInfo(info MessageInfo)

type PowerFactorConst

type PowerFactorConst uint8
const (
	PowerFactorLeading PowerFactorConst = 0
	PowerFactorLagging PowerFactorConst = 1
	PowerFactorError   PowerFactorConst = 2
)

func (PowerFactorConst) GoString

func (e PowerFactorConst) GoString() string

func (PowerFactorConst) String

func (e PowerFactorConst) String() string

type PowerModeConst added in v1.3.0

type PowerModeConst uint8
const (
	PowerModeHigh PowerModeConst = 0
	PowerModeLow  PowerModeConst = 1
)

func (PowerModeConst) GoString added in v1.3.0

func (e PowerModeConst) GoString() string

func (PowerModeConst) String added in v1.3.0

func (e PowerModeConst) String() string

type PressureSourceConst

type PressureSourceConst uint8
const (
	PressureSourceAtmospheric      PressureSourceConst = 0
	PressureSourceWater            PressureSourceConst = 1
	PressureSourceSteam            PressureSourceConst = 2
	PressureSourceCompressedAir    PressureSourceConst = 3
	PressureSourceHydraulic        PressureSourceConst = 4
	PressureSourceFilter           PressureSourceConst = 5
	PressureSourceAltimeterSetting PressureSourceConst = 6
	PressureSourceOil              PressureSourceConst = 7
	PressureSourceFuel             PressureSourceConst = 8
)

func (PressureSourceConst) GoString

func (e PressureSourceConst) GoString() string

func (PressureSourceConst) String

func (e PressureSourceConst) String() string

type PriorityConst

type PriorityConst uint8
const (
	Priority0              PriorityConst = 0
	Priority1              PriorityConst = 1
	Priority2              PriorityConst = 2
	Priority3              PriorityConst = 3
	Priority4              PriorityConst = 4
	Priority5              PriorityConst = 5
	Priority6              PriorityConst = 6
	Priority7              PriorityConst = 7
	PriorityLeaveUnchanged PriorityConst = 8
	PriorityResetToDefault PriorityConst = 9
)

func (PriorityConst) GoString

func (e PriorityConst) GoString() string

func (PriorityConst) String

func (e PriorityConst) String() string

type ProductInformation

type ProductInformation struct {
	Info                MessageInfo `json:"info"`
	Nmea2000Version     *uint64     `json:"nmea2000Version,omitempty" n2k:"1"`
	ProductCode         *uint64     `json:"productCode,omitempty" n2k:"2"`
	ModelId             string      `json:"modelId,omitempty" n2k:"3"`
	SoftwareVersionCode string      `json:"softwareVersionCode,omitempty" n2k:"4"`
	ModelVersion        string      `json:"modelVersion,omitempty" n2k:"5"`
	ModelSerialCode     string      `json:"modelSerialCode,omitempty" n2k:"6"`
	CertificationLevel  *uint64     `json:"certificationLevel,omitempty" n2k:"7"`
	LoadEquivalency     *uint64     `json:"loadEquivalency,omitempty" n2k:"8"`
}

func (*ProductInformation) Clone added in v1.3.0

func (m *ProductInformation) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ProductInformation) DecodePayload

func (m *ProductInformation) DecodePayload(payload []uint8) error

func (*ProductInformation) EncodePayload

func (m *ProductInformation) EncodePayload() ([]uint8, error)

func (*ProductInformation) MessageInfo

func (m *ProductInformation) MessageInfo() MessageInfo

func (*ProductInformation) Nmea2000VersionValue

func (m *ProductInformation) Nmea2000VersionValue() (float64, bool)

Nmea2000VersionValue returns Nmea2000Version as a physical value (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ProductInformation) PGNNumber

func (m *ProductInformation) PGNNumber() uint32

func (*ProductInformation) SetMessageInfo

func (m *ProductInformation) SetMessageInfo(info MessageInfo)

func (*ProductInformation) SetNmea2000VersionValue

func (m *ProductInformation) SetNmea2000VersionValue(v float64)

SetNmea2000VersionValue sets Nmea2000Version from a physical value, rounded to the nearest wire tick of 0.001.

type RadioFrequencyModePower

type RadioFrequencyModePower struct {
	Info             MessageInfo `json:"info"`
	RxFrequency      *uint64     `json:"rxFrequency,omitempty" n2k:"1"`
	TxFrequency      *uint64     `json:"txFrequency,omitempty" n2k:"2"`
	RadioChannel     string      `json:"radioChannel,omitempty" n2k:"3"`
	TxPower          *uint64     `json:"txPower,omitempty" n2k:"4"`
	Mode             *uint64     `json:"mode,omitempty" n2k:"5"`
	ChannelBandwidth *uint64     `json:"channelBandwidth,omitempty" n2k:"6"`
}

func (*RadioFrequencyModePower) ChannelBandwidthValue

func (m *RadioFrequencyModePower) ChannelBandwidthValue() (float64, bool)

ChannelBandwidthValue returns ChannelBandwidth as a physical value in Hz (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RadioFrequencyModePower) Clone added in v1.3.0

func (m *RadioFrequencyModePower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*RadioFrequencyModePower) DecodePayload

func (m *RadioFrequencyModePower) DecodePayload(payload []uint8) error

func (*RadioFrequencyModePower) EncodePayload

func (m *RadioFrequencyModePower) EncodePayload() ([]uint8, error)

func (*RadioFrequencyModePower) MessageInfo

func (m *RadioFrequencyModePower) MessageInfo() MessageInfo

func (*RadioFrequencyModePower) PGNNumber

func (m *RadioFrequencyModePower) PGNNumber() uint32

func (*RadioFrequencyModePower) RxFrequencyValue

func (m *RadioFrequencyModePower) RxFrequencyValue() (float64, bool)

RxFrequencyValue returns RxFrequency as a physical value in Hz (value = raw * 10). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RadioFrequencyModePower) SetChannelBandwidthValue

func (m *RadioFrequencyModePower) SetChannelBandwidthValue(v float64)

SetChannelBandwidthValue sets ChannelBandwidth from a physical value in Hz, rounded to the nearest wire tick of 1.

func (*RadioFrequencyModePower) SetMessageInfo

func (m *RadioFrequencyModePower) SetMessageInfo(info MessageInfo)

func (*RadioFrequencyModePower) SetRxFrequencyValue

func (m *RadioFrequencyModePower) SetRxFrequencyValue(v float64)

SetRxFrequencyValue sets RxFrequency from a physical value in Hz, rounded to the nearest wire tick of 10.

func (*RadioFrequencyModePower) SetTxFrequencyValue

func (m *RadioFrequencyModePower) SetTxFrequencyValue(v float64)

SetTxFrequencyValue sets TxFrequency from a physical value in Hz, rounded to the nearest wire tick of 10.

func (*RadioFrequencyModePower) SetTxPowerValue

func (m *RadioFrequencyModePower) SetTxPowerValue(v float64)

SetTxPowerValue sets TxPower from a physical value in W, rounded to the nearest wire tick of 1.

func (*RadioFrequencyModePower) TxFrequencyValue

func (m *RadioFrequencyModePower) TxFrequencyValue() (float64, bool)

TxFrequencyValue returns TxFrequency as a physical value in Hz (value = raw * 10). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RadioFrequencyModePower) TxPowerValue

func (m *RadioFrequencyModePower) TxPowerValue() (float64, bool)

TxPowerValue returns TxPower as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type RaimFlagConst

type RaimFlagConst uint8
const (
	RaimFlagNotInUse RaimFlagConst = 0
	RaimFlagInUse    RaimFlagConst = 1
)

func (RaimFlagConst) GoString

func (e RaimFlagConst) GoString() string

func (RaimFlagConst) String

func (e RaimFlagConst) String() string

type RangeResidualModeConst

type RangeResidualModeConst uint8
const (
	RangeResidualModeRangeResidualsWereUsedToCalculateData        RangeResidualModeConst = 0
	RangeResidualModeRangeResidualsWereCalculatedAfterThePosition RangeResidualModeConst = 1
)

func (RangeResidualModeConst) GoString

func (e RangeResidualModeConst) GoString() string

func (RangeResidualModeConst) String

func (e RangeResidualModeConst) String() string

type RateOfTurn

type RateOfTurn struct {
	Info MessageInfo `json:"info"`
	Sid  *uint64     `json:"sid,omitempty" n2k:"1"`
	Rate *int64      `json:"rate,omitempty" n2k:"2"`
}

func (*RateOfTurn) Clone added in v1.3.0

func (m *RateOfTurn) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*RateOfTurn) DecodePayload

func (m *RateOfTurn) DecodePayload(payload []uint8) error

func (*RateOfTurn) EncodePayload

func (m *RateOfTurn) EncodePayload() ([]uint8, error)

func (*RateOfTurn) MessageInfo

func (m *RateOfTurn) MessageInfo() MessageInfo

func (*RateOfTurn) PGNNumber

func (m *RateOfTurn) PGNNumber() uint32

func (*RateOfTurn) RateValue

func (m *RateOfTurn) RateValue() (float64, bool)

RateValue returns Rate as a physical value in rad/s (value = raw * 3.125e-08). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RateOfTurn) SetMessageInfo

func (m *RateOfTurn) SetMessageInfo(info MessageInfo)

func (*RateOfTurn) SetRateValue

func (m *RateOfTurn) SetRateValue(v float64)

SetRateValue sets Rate from a physical value in rad/s, rounded to the nearest wire tick of 3.125e-08.

type RepeatIndicatorConst

type RepeatIndicatorConst uint8
const (
	RepeatIndicatorInitial              RepeatIndicatorConst = 0
	RepeatIndicatorFirstRetransmission  RepeatIndicatorConst = 1
	RepeatIndicatorSecondRetransmission RepeatIndicatorConst = 2
	RepeatIndicatorFinalRetransmission  RepeatIndicatorConst = 3
)

func (RepeatIndicatorConst) GoString

func (e RepeatIndicatorConst) GoString() string

func (RepeatIndicatorConst) String

func (e RepeatIndicatorConst) String() string

type ReportingIntervalConst

type ReportingIntervalConst uint8
const (
	ReportingIntervalAsGivenByTheAutonomousMode   ReportingIntervalConst = 0
	ReportingInterval10Min                        ReportingIntervalConst = 1
	ReportingInterval6Min                         ReportingIntervalConst = 2
	ReportingInterval3Min                         ReportingIntervalConst = 3
	ReportingInterval1Min                         ReportingIntervalConst = 4
	ReportingInterval30Sec                        ReportingIntervalConst = 5
	ReportingInterval15Sec                        ReportingIntervalConst = 6
	ReportingInterval10Sec                        ReportingIntervalConst = 7
	ReportingInterval5Sec                         ReportingIntervalConst = 8
	ReportingInterval2SecNotApplicableToClassBCS  ReportingIntervalConst = 9
	ReportingIntervalNextShorterReportingInterval ReportingIntervalConst = 10
	ReportingIntervalNextLongerReportingInterval  ReportingIntervalConst = 11
)

func (ReportingIntervalConst) GoString

func (e ReportingIntervalConst) GoString() string

func (ReportingIntervalConst) String

func (e ReportingIntervalConst) String() string

type ResidualModeConst

type ResidualModeConst uint8
const (
	ResidualModeAutonomous           ResidualModeConst = 0
	ResidualModeDifferentialEnhanced ResidualModeConst = 1
	ResidualModeEstimated            ResidualModeConst = 2
	ResidualModeSimulator            ResidualModeConst = 3
	ResidualModeManual               ResidualModeConst = 4
)

func (ResidualModeConst) GoString

func (e ResidualModeConst) GoString() string

func (ResidualModeConst) String

func (e ResidualModeConst) String() string

type RodeTypeConst

type RodeTypeConst uint8
const (
	RodeTypeChainPresentlyDetected RodeTypeConst = 0
	RodeTypeRopePresentlyDetected  RodeTypeConst = 1
)

func (RodeTypeConst) GoString

func (e RodeTypeConst) GoString() string

func (RodeTypeConst) String

func (e RodeTypeConst) String() string

type RouteAndWpServiceDatabaseComment

type RouteAndWpServiceDatabaseComment struct {
	Info                          MessageInfo                                  `json:"info"`
	StartDatabaseId               *uint64                                      `json:"startDatabaseId,omitempty" n2k:"1"`
	Nitems                        *uint64                                      `json:"nitems,omitempty" n2k:"2"`
	NumberOfDatabasesWithComments *uint64                                      `json:"numberOfDatabasesWithComments,omitempty" n2k:"3"`
	Repeating1                    []RouteAndWpServiceDatabaseCommentRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceDatabaseComment) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceDatabaseComment) DecodePayload

func (m *RouteAndWpServiceDatabaseComment) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceDatabaseComment) EncodePayload

func (m *RouteAndWpServiceDatabaseComment) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceDatabaseComment) MessageInfo

func (*RouteAndWpServiceDatabaseComment) PGNNumber

func (*RouteAndWpServiceDatabaseComment) SetMessageInfo

func (m *RouteAndWpServiceDatabaseComment) SetMessageInfo(info MessageInfo)

type RouteAndWpServiceDatabaseCommentRepeating1

type RouteAndWpServiceDatabaseCommentRepeating1 struct {
	DatabaseId *uint64 `json:"databaseId,omitempty" n2k:"4"`
	Comment    string  `json:"comment,omitempty" n2k:"5"`
}

type RouteAndWpServiceDatabaseList

type RouteAndWpServiceDatabaseList struct {
	Info                       MessageInfo                               `json:"info"`
	StartDatabaseId            *uint64                                   `json:"startDatabaseId,omitempty" n2k:"1"`
	Nitems                     *uint64                                   `json:"nitems,omitempty" n2k:"2"`
	NumberOfDatabasesAvailable *uint64                                   `json:"numberOfDatabasesAvailable,omitempty" n2k:"3"`
	Repeating1                 []RouteAndWpServiceDatabaseListRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceDatabaseList) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceDatabaseList) DecodePayload

func (m *RouteAndWpServiceDatabaseList) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceDatabaseList) EncodePayload

func (m *RouteAndWpServiceDatabaseList) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceDatabaseList) MessageInfo

func (m *RouteAndWpServiceDatabaseList) MessageInfo() MessageInfo

func (*RouteAndWpServiceDatabaseList) PGNNumber

func (m *RouteAndWpServiceDatabaseList) PGNNumber() uint32

func (*RouteAndWpServiceDatabaseList) SetMessageInfo

func (m *RouteAndWpServiceDatabaseList) SetMessageInfo(info MessageInfo)

type RouteAndWpServiceDatabaseListRepeating1

type RouteAndWpServiceDatabaseListRepeating1 struct {
	DatabaseId               *uint64 `json:"databaseId,omitempty" n2k:"4"`
	DatabaseName             string  `json:"databaseName,omitempty" n2k:"5"`
	DatabaseTimestamp        *uint64 `json:"databaseTimestamp,omitempty" n2k:"6"`
	DatabaseDatestamp        *uint64 `json:"databaseDatestamp,omitempty" n2k:"7"`
	WpPositionResolution     *uint64 `json:"wpPositionResolution,omitempty" n2k:"8"`
	NumberOfRoutesInDatabase *uint64 `json:"numberOfRoutesInDatabase,omitempty" n2k:"10"`
	NumberOfWpsInDatabase    *uint64 `json:"numberOfWpsInDatabase,omitempty" n2k:"11"`
	NumberOfBytesInDatabase  *uint64 `json:"numberOfBytesInDatabase,omitempty" n2k:"12"`
}

func (*RouteAndWpServiceDatabaseListRepeating1) DatabaseDatestampValue

func (m *RouteAndWpServiceDatabaseListRepeating1) DatabaseDatestampValue() (float64, bool)

DatabaseDatestampValue returns DatabaseDatestamp as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RouteAndWpServiceDatabaseListRepeating1) DatabaseTimestampValue

func (m *RouteAndWpServiceDatabaseListRepeating1) DatabaseTimestampValue() (float64, bool)

DatabaseTimestampValue returns DatabaseTimestamp as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RouteAndWpServiceDatabaseListRepeating1) SetDatabaseDatestampValue

func (m *RouteAndWpServiceDatabaseListRepeating1) SetDatabaseDatestampValue(v float64)

SetDatabaseDatestampValue sets DatabaseDatestamp from a physical value in d, rounded to the nearest wire tick of 1.

func (*RouteAndWpServiceDatabaseListRepeating1) SetDatabaseTimestampValue

func (m *RouteAndWpServiceDatabaseListRepeating1) SetDatabaseTimestampValue(v float64)

SetDatabaseTimestampValue sets DatabaseTimestamp from a physical value in s, rounded to the nearest wire tick of 0.0001.

type RouteAndWpServiceRadiusOfTurn

type RouteAndWpServiceRadiusOfTurn struct {
	Info                                 MessageInfo                               `json:"info"`
	StartRps                             *uint64                                   `json:"startRps,omitempty" n2k:"1"`
	Nitems                               *uint64                                   `json:"nitems,omitempty" n2k:"2"`
	NumberOfWpsWithASpecificRadiusOfTurn *uint64                                   `json:"numberOfWpsWithASpecificRadiusOfTurn,omitempty" n2k:"3"`
	DatabaseId                           *uint64                                   `json:"databaseId,omitempty" n2k:"4"`
	RouteId                              *uint64                                   `json:"routeId,omitempty" n2k:"5"`
	Repeating1                           []RouteAndWpServiceRadiusOfTurnRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceRadiusOfTurn) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceRadiusOfTurn) DecodePayload

func (m *RouteAndWpServiceRadiusOfTurn) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceRadiusOfTurn) EncodePayload

func (m *RouteAndWpServiceRadiusOfTurn) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceRadiusOfTurn) MessageInfo

func (m *RouteAndWpServiceRadiusOfTurn) MessageInfo() MessageInfo

func (*RouteAndWpServiceRadiusOfTurn) PGNNumber

func (m *RouteAndWpServiceRadiusOfTurn) PGNNumber() uint32

func (*RouteAndWpServiceRadiusOfTurn) SetMessageInfo

func (m *RouteAndWpServiceRadiusOfTurn) SetMessageInfo(info MessageInfo)

type RouteAndWpServiceRadiusOfTurnRepeating1

type RouteAndWpServiceRadiusOfTurnRepeating1 struct {
	Rps          *uint64 `json:"rps,omitempty" n2k:"6"`
	RadiusOfTurn *int64  `json:"radiusOfTurn,omitempty" n2k:"7"`
}

func (*RouteAndWpServiceRadiusOfTurnRepeating1) RadiusOfTurnValue

func (m *RouteAndWpServiceRadiusOfTurnRepeating1) RadiusOfTurnValue() (float64, bool)

RadiusOfTurnValue returns RadiusOfTurn as a physical value in m (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RouteAndWpServiceRadiusOfTurnRepeating1) SetRadiusOfTurnValue

func (m *RouteAndWpServiceRadiusOfTurnRepeating1) SetRadiusOfTurnValue(v float64)

SetRadiusOfTurnValue sets RadiusOfTurn from a physical value in m, rounded to the nearest wire tick of 1.

type RouteAndWpServiceRouteComment

type RouteAndWpServiceRouteComment struct {
	Info                       MessageInfo                               `json:"info"`
	StartRouteId               *uint64                                   `json:"startRouteId,omitempty" n2k:"1"`
	Nitems                     *uint64                                   `json:"nitems,omitempty" n2k:"2"`
	NumberOfRoutesWithComments *uint64                                   `json:"numberOfRoutesWithComments,omitempty" n2k:"3"`
	DatabaseId                 *uint64                                   `json:"databaseId,omitempty" n2k:"4"`
	Repeating1                 []RouteAndWpServiceRouteCommentRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceRouteComment) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceRouteComment) DecodePayload

func (m *RouteAndWpServiceRouteComment) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceRouteComment) EncodePayload

func (m *RouteAndWpServiceRouteComment) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceRouteComment) MessageInfo

func (m *RouteAndWpServiceRouteComment) MessageInfo() MessageInfo

func (*RouteAndWpServiceRouteComment) PGNNumber

func (m *RouteAndWpServiceRouteComment) PGNNumber() uint32

func (*RouteAndWpServiceRouteComment) SetMessageInfo

func (m *RouteAndWpServiceRouteComment) SetMessageInfo(info MessageInfo)

type RouteAndWpServiceRouteCommentRepeating1

type RouteAndWpServiceRouteCommentRepeating1 struct {
	RouteId *uint64 `json:"routeId,omitempty" n2k:"5"`
	Comment string  `json:"comment,omitempty" n2k:"6"`
}

type RouteAndWpServiceRouteList

type RouteAndWpServiceRouteList struct {
	Info                     MessageInfo                            `json:"info"`
	StartRouteId             *uint64                                `json:"startRouteId,omitempty" n2k:"1"`
	Nitems                   *uint64                                `json:"nitems,omitempty" n2k:"2"`
	NumberOfRoutesInDatabase *uint64                                `json:"numberOfRoutesInDatabase,omitempty" n2k:"3"`
	DatabaseId               *uint64                                `json:"databaseId,omitempty" n2k:"4"`
	Repeating1               []RouteAndWpServiceRouteListRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceRouteList) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceRouteList) DecodePayload

func (m *RouteAndWpServiceRouteList) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceRouteList) EncodePayload

func (m *RouteAndWpServiceRouteList) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceRouteList) MessageInfo

func (m *RouteAndWpServiceRouteList) MessageInfo() MessageInfo

func (*RouteAndWpServiceRouteList) PGNNumber

func (m *RouteAndWpServiceRouteList) PGNNumber() uint32

func (*RouteAndWpServiceRouteList) SetMessageInfo

func (m *RouteAndWpServiceRouteList) SetMessageInfo(info MessageInfo)

type RouteAndWpServiceRouteListRepeating1

type RouteAndWpServiceRouteListRepeating1 struct {
	RouteId                *uint64 `json:"routeId,omitempty" n2k:"5"`
	RouteName              string  `json:"routeName,omitempty" n2k:"6"`
	WpIdentificationMethod *uint64 `json:"wpIdentificationMethod,omitempty" n2k:"8"`
	RouteStatus            *uint64 `json:"routeStatus,omitempty" n2k:"9"`
}

type RouteAndWpServiceRouteWpListAttributes

type RouteAndWpServiceRouteWpListAttributes struct {
	Info                            MessageInfo `json:"info"`
	DatabaseId                      *uint64     `json:"databaseId,omitempty" n2k:"1"`
	RouteId                         *uint64     `json:"routeId,omitempty" n2k:"2"`
	RouteWpListName                 string      `json:"routeWpListName,omitempty" n2k:"3"`
	RouteWpListTimestamp            *uint64     `json:"routeWpListTimestamp,omitempty" n2k:"4"`
	RouteWpListDatestamp            *uint64     `json:"routeWpListDatestamp,omitempty" n2k:"5"`
	ChangeAtLastTimestamp           *uint64     `json:"changeAtLastTimestamp,omitempty" n2k:"6"`
	NumberOfWpsInTheRouteWpList     *uint64     `json:"numberOfWpsInTheRouteWpList,omitempty" n2k:"7"`
	CriticalSupplementaryParameters *uint64     `json:"criticalSupplementaryParameters,omitempty" n2k:"8"`
	NavigationMethod                *uint64     `json:"navigationMethod,omitempty" n2k:"9"`
	WpIdentificationMethod          *uint64     `json:"wpIdentificationMethod,omitempty" n2k:"10"`
	RouteStatus                     *uint64     `json:"routeStatus,omitempty" n2k:"11"`
	XteLimitForTheRoute             *int64      `json:"xteLimitForTheRoute,omitempty" n2k:"12"`
}

func (*RouteAndWpServiceRouteWpListAttributes) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceRouteWpListAttributes) DecodePayload

func (m *RouteAndWpServiceRouteWpListAttributes) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceRouteWpListAttributes) EncodePayload

func (m *RouteAndWpServiceRouteWpListAttributes) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceRouteWpListAttributes) MessageInfo

func (*RouteAndWpServiceRouteWpListAttributes) PGNNumber

func (*RouteAndWpServiceRouteWpListAttributes) RouteWpListDatestampValue

func (m *RouteAndWpServiceRouteWpListAttributes) RouteWpListDatestampValue() (float64, bool)

RouteWpListDatestampValue returns RouteWpListDatestamp as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RouteAndWpServiceRouteWpListAttributes) RouteWpListTimestampValue

func (m *RouteAndWpServiceRouteWpListAttributes) RouteWpListTimestampValue() (float64, bool)

RouteWpListTimestampValue returns RouteWpListTimestamp as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RouteAndWpServiceRouteWpListAttributes) SetMessageInfo

func (m *RouteAndWpServiceRouteWpListAttributes) SetMessageInfo(info MessageInfo)

func (*RouteAndWpServiceRouteWpListAttributes) SetRouteWpListDatestampValue

func (m *RouteAndWpServiceRouteWpListAttributes) SetRouteWpListDatestampValue(v float64)

SetRouteWpListDatestampValue sets RouteWpListDatestamp from a physical value in d, rounded to the nearest wire tick of 1.

func (*RouteAndWpServiceRouteWpListAttributes) SetRouteWpListTimestampValue

func (m *RouteAndWpServiceRouteWpListAttributes) SetRouteWpListTimestampValue(v float64)

SetRouteWpListTimestampValue sets RouteWpListTimestamp from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*RouteAndWpServiceRouteWpListAttributes) SetXteLimitForTheRouteValue

func (m *RouteAndWpServiceRouteWpListAttributes) SetXteLimitForTheRouteValue(v float64)

SetXteLimitForTheRouteValue sets XteLimitForTheRoute from a physical value in m, rounded to the nearest wire tick of 1.

func (*RouteAndWpServiceRouteWpListAttributes) XteLimitForTheRouteValue

func (m *RouteAndWpServiceRouteWpListAttributes) XteLimitForTheRouteValue() (float64, bool)

XteLimitForTheRouteValue returns XteLimitForTheRoute as a physical value in m (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type RouteAndWpServiceRouteWpName

type RouteAndWpServiceRouteWpName struct {
	Info                        MessageInfo                              `json:"info"`
	StartRps                    *uint64                                  `json:"startRps,omitempty" n2k:"1"`
	Nitems                      *uint64                                  `json:"nitems,omitempty" n2k:"2"`
	NumberOfWpsInTheRouteWpList *uint64                                  `json:"numberOfWpsInTheRouteWpList,omitempty" n2k:"3"`
	DatabaseId                  *uint64                                  `json:"databaseId,omitempty" n2k:"4"`
	RouteId                     *uint64                                  `json:"routeId,omitempty" n2k:"5"`
	Repeating1                  []RouteAndWpServiceRouteWpNameRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceRouteWpName) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceRouteWpName) DecodePayload

func (m *RouteAndWpServiceRouteWpName) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceRouteWpName) EncodePayload

func (m *RouteAndWpServiceRouteWpName) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceRouteWpName) MessageInfo

func (m *RouteAndWpServiceRouteWpName) MessageInfo() MessageInfo

func (*RouteAndWpServiceRouteWpName) PGNNumber

func (m *RouteAndWpServiceRouteWpName) PGNNumber() uint32

func (*RouteAndWpServiceRouteWpName) SetMessageInfo

func (m *RouteAndWpServiceRouteWpName) SetMessageInfo(info MessageInfo)

type RouteAndWpServiceRouteWpNamePosition

type RouteAndWpServiceRouteWpNamePosition struct {
	Info                        MessageInfo                                      `json:"info"`
	StartRps                    *uint64                                          `json:"startRps,omitempty" n2k:"1"`
	Nitems                      *uint64                                          `json:"nitems,omitempty" n2k:"2"`
	NumberOfWpsInTheRouteWpList *uint64                                          `json:"numberOfWpsInTheRouteWpList,omitempty" n2k:"3"`
	DatabaseId                  *uint64                                          `json:"databaseId,omitempty" n2k:"4"`
	RouteId                     *uint64                                          `json:"routeId,omitempty" n2k:"5"`
	Repeating1                  []RouteAndWpServiceRouteWpNamePositionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceRouteWpNamePosition) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceRouteWpNamePosition) DecodePayload

func (m *RouteAndWpServiceRouteWpNamePosition) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceRouteWpNamePosition) EncodePayload

func (m *RouteAndWpServiceRouteWpNamePosition) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceRouteWpNamePosition) MessageInfo

func (*RouteAndWpServiceRouteWpNamePosition) PGNNumber

func (*RouteAndWpServiceRouteWpNamePosition) SetMessageInfo

func (m *RouteAndWpServiceRouteWpNamePosition) SetMessageInfo(info MessageInfo)

type RouteAndWpServiceRouteWpNamePositionRepeating1

type RouteAndWpServiceRouteWpNamePositionRepeating1 struct {
	WpId        *uint64 `json:"wpId,omitempty" n2k:"6"`
	WpName      string  `json:"wpName,omitempty" n2k:"7"`
	WpLatitude  *int64  `json:"wpLatitude,omitempty" n2k:"8"`
	WpLongitude *int64  `json:"wpLongitude,omitempty" n2k:"9"`
}

func (*RouteAndWpServiceRouteWpNamePositionRepeating1) SetWpLatitudeValue

SetWpLatitudeValue sets WpLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*RouteAndWpServiceRouteWpNamePositionRepeating1) SetWpLongitudeValue

func (m *RouteAndWpServiceRouteWpNamePositionRepeating1) SetWpLongitudeValue(v float64)

SetWpLongitudeValue sets WpLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*RouteAndWpServiceRouteWpNamePositionRepeating1) WpLatitudeValue

WpLatitudeValue returns WpLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RouteAndWpServiceRouteWpNamePositionRepeating1) WpLongitudeValue

WpLongitudeValue returns WpLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

type RouteAndWpServiceRouteWpNameRepeating1

type RouteAndWpServiceRouteWpNameRepeating1 struct {
	WpId   *uint64 `json:"wpId,omitempty" n2k:"6"`
	WpName string  `json:"wpName,omitempty" n2k:"7"`
}

type RouteAndWpServiceWpComment

type RouteAndWpServiceWpComment struct {
	Info                    MessageInfo                            `json:"info"`
	StartId                 *uint64                                `json:"startId,omitempty" n2k:"1"`
	Nitems                  *uint64                                `json:"nitems,omitempty" n2k:"2"`
	NumberOfWpsWithComments *uint64                                `json:"numberOfWpsWithComments,omitempty" n2k:"3"`
	DatabaseId              *uint64                                `json:"databaseId,omitempty" n2k:"4"`
	RouteId                 *uint64                                `json:"routeId,omitempty" n2k:"5"`
	Repeating1              []RouteAndWpServiceWpCommentRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceWpComment) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceWpComment) DecodePayload

func (m *RouteAndWpServiceWpComment) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceWpComment) EncodePayload

func (m *RouteAndWpServiceWpComment) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceWpComment) MessageInfo

func (m *RouteAndWpServiceWpComment) MessageInfo() MessageInfo

func (*RouteAndWpServiceWpComment) PGNNumber

func (m *RouteAndWpServiceWpComment) PGNNumber() uint32

func (*RouteAndWpServiceWpComment) SetMessageInfo

func (m *RouteAndWpServiceWpComment) SetMessageInfo(info MessageInfo)

type RouteAndWpServiceWpCommentRepeating1

type RouteAndWpServiceWpCommentRepeating1 struct {
	WpIdRps *uint64 `json:"wpIdRps,omitempty" n2k:"6"`
	Comment string  `json:"comment,omitempty" n2k:"7"`
}

type RouteAndWpServiceWpListWpNamePosition

type RouteAndWpServiceWpListWpNamePosition struct {
	Info                        MessageInfo                                       `json:"info"`
	StartWpId                   *uint64                                           `json:"startWpId,omitempty" n2k:"1"`
	Nitems                      *uint64                                           `json:"nitems,omitempty" n2k:"2"`
	NumberOfValidWpsInTheWpList *uint64                                           `json:"numberOfValidWpsInTheWpList,omitempty" n2k:"3"`
	DatabaseId                  *uint64                                           `json:"databaseId,omitempty" n2k:"4"`
	Repeating1                  []RouteAndWpServiceWpListWpNamePositionRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceWpListWpNamePosition) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceWpListWpNamePosition) DecodePayload

func (m *RouteAndWpServiceWpListWpNamePosition) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceWpListWpNamePosition) EncodePayload

func (m *RouteAndWpServiceWpListWpNamePosition) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceWpListWpNamePosition) MessageInfo

func (*RouteAndWpServiceWpListWpNamePosition) PGNNumber

func (*RouteAndWpServiceWpListWpNamePosition) SetMessageInfo

func (m *RouteAndWpServiceWpListWpNamePosition) SetMessageInfo(info MessageInfo)

type RouteAndWpServiceWpListWpNamePositionRepeating1

type RouteAndWpServiceWpListWpNamePositionRepeating1 struct {
	WpId        *uint64 `json:"wpId,omitempty" n2k:"6"`
	WpName      string  `json:"wpName,omitempty" n2k:"7"`
	WpLatitude  *int64  `json:"wpLatitude,omitempty" n2k:"8"`
	WpLongitude *int64  `json:"wpLongitude,omitempty" n2k:"9"`
}

func (*RouteAndWpServiceWpListWpNamePositionRepeating1) SetWpLatitudeValue

SetWpLatitudeValue sets WpLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*RouteAndWpServiceWpListWpNamePositionRepeating1) SetWpLongitudeValue

func (m *RouteAndWpServiceWpListWpNamePositionRepeating1) SetWpLongitudeValue(v float64)

SetWpLongitudeValue sets WpLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*RouteAndWpServiceWpListWpNamePositionRepeating1) WpLatitudeValue

WpLatitudeValue returns WpLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*RouteAndWpServiceWpListWpNamePositionRepeating1) WpLongitudeValue

WpLongitudeValue returns WpLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

type RouteAndWpServiceXteLimitNavigationMethod

type RouteAndWpServiceXteLimitNavigationMethod struct {
	Info                                        MessageInfo                                           `json:"info"`
	StartRps                                    *uint64                                               `json:"startRps,omitempty" n2k:"1"`
	Nitems                                      *uint64                                               `json:"nitems,omitempty" n2k:"2"`
	NumberOfWpsWithASpecificXteLimitOrNavMethod *uint64                                               `json:"numberOfWpsWithASpecificXteLimitOrNavMethod,omitempty" n2k:"3"`
	Repeating1                                  []RouteAndWpServiceXteLimitNavigationMethodRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*RouteAndWpServiceXteLimitNavigationMethod) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*RouteAndWpServiceXteLimitNavigationMethod) DecodePayload

func (m *RouteAndWpServiceXteLimitNavigationMethod) DecodePayload(payload []uint8) error

func (*RouteAndWpServiceXteLimitNavigationMethod) EncodePayload

func (m *RouteAndWpServiceXteLimitNavigationMethod) EncodePayload() ([]uint8, error)

func (*RouteAndWpServiceXteLimitNavigationMethod) MessageInfo

func (*RouteAndWpServiceXteLimitNavigationMethod) PGNNumber

func (*RouteAndWpServiceXteLimitNavigationMethod) SetMessageInfo

type RouteAndWpServiceXteLimitNavigationMethodRepeating1

type RouteAndWpServiceXteLimitNavigationMethodRepeating1 struct {
	DatabaseId               *uint64 `json:"databaseId,omitempty" n2k:"4"`
	RouteId                  *uint64 `json:"routeId,omitempty" n2k:"5"`
	Rps                      *uint64 `json:"rps,omitempty" n2k:"6"`
	XteLimitInTheLegAfterWp  *int64  `json:"xteLimitInTheLegAfterWp,omitempty" n2k:"7"`
	NavMethodInTheLegAfterWp *uint64 `json:"navMethodInTheLegAfterWp,omitempty" n2k:"8"`
}

func (*RouteAndWpServiceXteLimitNavigationMethodRepeating1) SetXteLimitInTheLegAfterWpValue

func (m *RouteAndWpServiceXteLimitNavigationMethodRepeating1) SetXteLimitInTheLegAfterWpValue(v float64)

SetXteLimitInTheLegAfterWpValue sets XteLimitInTheLegAfterWp from a physical value in m, rounded to the nearest wire tick of 1.

func (*RouteAndWpServiceXteLimitNavigationMethodRepeating1) XteLimitInTheLegAfterWpValue

func (m *RouteAndWpServiceXteLimitNavigationMethodRepeating1) XteLimitInTheLegAfterWpValue() (float64, bool)

XteLimitInTheLegAfterWpValue returns XteLimitInTheLegAfterWp as a physical value in m (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type Rudder

type Rudder struct {
	Info           MessageInfo `json:"info"`
	Instance       *uint64     `json:"instance,omitempty" n2k:"1"`
	DirectionOrder *uint64     `json:"directionOrder,omitempty" n2k:"2"`
	AngleOrder     *int64      `json:"angleOrder,omitempty" n2k:"4"`
	Position       *int64      `json:"position,omitempty" n2k:"5"`
}

func (*Rudder) AngleOrderValue

func (m *Rudder) AngleOrderValue() (float64, bool)

AngleOrderValue returns AngleOrder as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Rudder) Clone added in v1.3.0

func (m *Rudder) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Rudder) DecodePayload

func (m *Rudder) DecodePayload(payload []uint8) error

func (*Rudder) EncodePayload

func (m *Rudder) EncodePayload() ([]uint8, error)

func (*Rudder) MessageInfo

func (m *Rudder) MessageInfo() MessageInfo

func (*Rudder) PGNNumber

func (m *Rudder) PGNNumber() uint32

func (*Rudder) PositionValue

func (m *Rudder) PositionValue() (float64, bool)

PositionValue returns Position as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Rudder) SetAngleOrderValue

func (m *Rudder) SetAngleOrderValue(v float64)

SetAngleOrderValue sets AngleOrder from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*Rudder) SetMessageInfo

func (m *Rudder) SetMessageInfo(info MessageInfo)

func (*Rudder) SetPositionValue

func (m *Rudder) SetPositionValue(v float64)

SetPositionValue sets Position from a physical value in rad, rounded to the nearest wire tick of 0.0001.

type SalinityStationData

type SalinityStationData struct {
	Info             MessageInfo `json:"info"`
	Mode             *uint64     `json:"mode,omitempty" n2k:"1"`
	MeasurementDate  *uint64     `json:"measurementDate,omitempty" n2k:"3"`
	MeasurementTime  *uint64     `json:"measurementTime,omitempty" n2k:"4"`
	StationLatitude  *int64      `json:"stationLatitude,omitempty" n2k:"5"`
	StationLongitude *int64      `json:"stationLongitude,omitempty" n2k:"6"`
	Salinity         *float32    `json:"salinity,omitempty" n2k:"7"`
	WaterTemperature *uint64     `json:"waterTemperature,omitempty" n2k:"8"`
	StationId        string      `json:"stationId,omitempty" n2k:"9"`
	StationName      string      `json:"stationName,omitempty" n2k:"10"`
}

func (*SalinityStationData) Clone added in v1.3.0

func (m *SalinityStationData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SalinityStationData) DecodePayload

func (m *SalinityStationData) DecodePayload(payload []uint8) error

func (*SalinityStationData) EncodePayload

func (m *SalinityStationData) EncodePayload() ([]uint8, error)

func (*SalinityStationData) MeasurementDateValue

func (m *SalinityStationData) MeasurementDateValue() (float64, bool)

MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SalinityStationData) MeasurementTimeValue

func (m *SalinityStationData) MeasurementTimeValue() (float64, bool)

MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SalinityStationData) MessageInfo

func (m *SalinityStationData) MessageInfo() MessageInfo

func (*SalinityStationData) PGNNumber

func (m *SalinityStationData) PGNNumber() uint32

func (*SalinityStationData) SetMeasurementDateValue

func (m *SalinityStationData) SetMeasurementDateValue(v float64)

SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*SalinityStationData) SetMeasurementTimeValue

func (m *SalinityStationData) SetMeasurementTimeValue(v float64)

SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*SalinityStationData) SetMessageInfo

func (m *SalinityStationData) SetMessageInfo(info MessageInfo)

func (*SalinityStationData) SetStationLatitudeValue

func (m *SalinityStationData) SetStationLatitudeValue(v float64)

SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*SalinityStationData) SetStationLongitudeValue

func (m *SalinityStationData) SetStationLongitudeValue(v float64)

SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*SalinityStationData) SetWaterTemperatureValue

func (m *SalinityStationData) SetWaterTemperatureValue(v float64)

SetWaterTemperatureValue sets WaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*SalinityStationData) StationLatitudeValue

func (m *SalinityStationData) StationLatitudeValue() (float64, bool)

StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SalinityStationData) StationLongitudeValue

func (m *SalinityStationData) StationLongitudeValue() (float64, bool)

StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SalinityStationData) WaterTemperatureValue

func (m *SalinityStationData) WaterTemperatureValue() (float64, bool)

WaterTemperatureValue returns WaterTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type SatelliteStatusConst

type SatelliteStatusConst uint8
const (
	SatelliteStatusNotTracked     SatelliteStatusConst = 0
	SatelliteStatusTracked        SatelliteStatusConst = 1
	SatelliteStatusUsed           SatelliteStatusConst = 2
	SatelliteStatusNotTrackedDiff SatelliteStatusConst = 3
	SatelliteStatusTrackedDiff    SatelliteStatusConst = 4
	SatelliteStatusUsedDiff       SatelliteStatusConst = 5
)

func (SatelliteStatusConst) GoString

func (e SatelliteStatusConst) GoString() string

func (SatelliteStatusConst) String

func (e SatelliteStatusConst) String() string

type SbasSvConst added in v1.3.0

type SbasSvConst uint8
const (
	SbasSv120 SbasSvConst = 0
	SbasSv121 SbasSvConst = 1
	SbasSv122 SbasSvConst = 2
	SbasSv123 SbasSvConst = 3
	SbasSv124 SbasSvConst = 4
	SbasSv125 SbasSvConst = 5
	SbasSv126 SbasSvConst = 6
	SbasSv127 SbasSvConst = 7
	SbasSv128 SbasSvConst = 8
	SbasSv129 SbasSvConst = 9
	SbasSv130 SbasSvConst = 10
	SbasSv131 SbasSvConst = 11
	SbasSv132 SbasSvConst = 12
	SbasSv133 SbasSvConst = 13
	SbasSv134 SbasSvConst = 14
	SbasSv135 SbasSvConst = 15
	SbasSv136 SbasSvConst = 16
	SbasSv137 SbasSvConst = 17
	SbasSv138 SbasSvConst = 18
)

func (SbasSvConst) GoString added in v1.3.0

func (e SbasSvConst) GoString() string

func (SbasSvConst) String added in v1.3.0

func (e SbasSvConst) String() string

type SeaRecoveryWatermakerStatus

type SeaRecoveryWatermakerStatus struct {
	Info                     MessageInfo `json:"info"`
	ManufacturerCode         *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode             *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId                *uint64     `json:"messageId,omitempty" n2k:"4"`
	WatermakerInstance       *uint64     `json:"watermakerInstance,omitempty" n2k:"5"`
	OperationState           *uint64     `json:"operationState,omitempty" n2k:"6"`
	PrefilterPressure        *uint64     `json:"prefilterPressure,omitempty" n2k:"7"`
	PostfilterPressure       *uint64     `json:"postfilterPressure,omitempty" n2k:"8"`
	OperationPressure        *uint64     `json:"operationPressure,omitempty" n2k:"9"`
	ProductFlow              *int64      `json:"productFlow,omitempty" n2k:"10"`
	PrefilterPressureStatus  *uint64     `json:"prefilterPressureStatus,omitempty" n2k:"11"`
	PostfilterPressureStatus *uint64     `json:"postfilterPressureStatus,omitempty" n2k:"12"`
	OperationPressureStatus  *uint64     `json:"operationPressureStatus,omitempty" n2k:"13"`
	ProductSalinityStatus    *uint64     `json:"productSalinityStatus,omitempty" n2k:"14"`
	FilterStatus             *uint64     `json:"filterStatus,omitempty" n2k:"15"`
	SystemStatus             *uint64     `json:"systemStatus,omitempty" n2k:"16"`
}

func (*SeaRecoveryWatermakerStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SeaRecoveryWatermakerStatus) DecodePayload

func (m *SeaRecoveryWatermakerStatus) DecodePayload(payload []uint8) error

func (*SeaRecoveryWatermakerStatus) EncodePayload

func (m *SeaRecoveryWatermakerStatus) EncodePayload() ([]uint8, error)

func (*SeaRecoveryWatermakerStatus) MessageInfo

func (m *SeaRecoveryWatermakerStatus) MessageInfo() MessageInfo

func (*SeaRecoveryWatermakerStatus) PGNNumber

func (m *SeaRecoveryWatermakerStatus) PGNNumber() uint32

func (*SeaRecoveryWatermakerStatus) SetMessageInfo

func (m *SeaRecoveryWatermakerStatus) SetMessageInfo(info MessageInfo)

type Seatalk1CommandConst added in v1.3.0

type Seatalk1CommandConst uint8
const (
	Seatalk1CommandDepthBelowTransducer                                Seatalk1CommandConst = 0
	Seatalk1CommandEquipmentID                                         Seatalk1CommandConst = 1
	Seatalk1CommandEngineRPMAndPITCH                                   Seatalk1CommandConst = 5
	Seatalk1CommandApparentWindAngle                                   Seatalk1CommandConst = 16
	Seatalk1CommandApparentWindSpeed                                   Seatalk1CommandConst = 17
	Seatalk1CommandSpeedThroughWater                                   Seatalk1CommandConst = 32
	Seatalk1CommandTripMileage                                         Seatalk1CommandConst = 33
	Seatalk1CommandTotalMileage                                        Seatalk1CommandConst = 34
	Seatalk1CommandWaterTemperatureST50                                Seatalk1CommandConst = 35
	Seatalk1CommandDisplayUnitsForMileageSpeed                         Seatalk1CommandConst = 36
	Seatalk1CommandTotalTripLog                                        Seatalk1CommandConst = 37
	Seatalk1CommandSpeedThroughWaterWithAverage                        Seatalk1CommandConst = 38
	Seatalk1CommandWaterTemperature                                    Seatalk1CommandConst = 39
	Seatalk1CommandSetLampIntensity                                    Seatalk1CommandConst = 48
	Seatalk1CommandCancelMOBManOverBoardCondition                      Seatalk1CommandConst = 54
	Seatalk1CommandCodelockData                                        Seatalk1CommandConst = 56
	Seatalk1CommandLATPosition                                         Seatalk1CommandConst = 80
	Seatalk1CommandLONPosition                                         Seatalk1CommandConst = 81
	Seatalk1CommandSpeedOverGround                                     Seatalk1CommandConst = 82
	Seatalk1CommandCourseOverGroundCOG                                 Seatalk1CommandConst = 83
	Seatalk1CommandGMTTime                                             Seatalk1CommandConst = 84
	Seatalk1CommandTRACKKeystrokeOnGPSUnit                             Seatalk1CommandConst = 85
	Seatalk1CommandDate                                                Seatalk1CommandConst = 86
	Seatalk1CommandSatInfo                                             Seatalk1CommandConst = 87
	Seatalk1CommandLATLONRawUnfiltered                                 Seatalk1CommandConst = 88
	Seatalk1CommandSetCountDownTimer                                   Seatalk1CommandConst = 89
	Seatalk1CommandIssuedByE80MultifunctionDisplayAtInitialization     Seatalk1CommandConst = 97
	Seatalk1CommandSelectFathomDisplayUnitsForDepthDisplay             Seatalk1CommandConst = 101
	Seatalk1CommandWindAlarm                                           Seatalk1CommandConst = 102
	Seatalk1CommandAlarmAcknowledgmentKeystroke                        Seatalk1CommandConst = 104
	Seatalk1CommandSecondEquipmentIDDatagram                           Seatalk1CommandConst = 108
	Seatalk1CommandMOBManOverBoard                                     Seatalk1CommandConst = 110
	Seatalk1CommandKeystrokeOnRaymarineA25006ST60MaxiviewRemoteControl Seatalk1CommandConst = 112
	Seatalk1CommandSetLampIntensityValue128                            Seatalk1CommandConst = 128
	Seatalk1CommandSentByCourseComputerDuringSetup                     Seatalk1CommandConst = 129
	Seatalk1CommandTargetWaypointName                                  Seatalk1CommandConst = 130
	Seatalk1CommandSentByCourseComputer                                Seatalk1CommandConst = 131
	Seatalk1CommandCompassHeadingAutopilotCourseAndRudderPosition      Seatalk1CommandConst = 132
	Seatalk1CommandNavigationToWaypointInformation                     Seatalk1CommandConst = 133
	Seatalk1CommandKeystroke                                           Seatalk1CommandConst = 134
	Seatalk1CommandSetResponseLevel                                    Seatalk1CommandConst = 135
	Seatalk1CommandAutopilotParameter                                  Seatalk1CommandConst = 136
	Seatalk1CommandCompassHeadingSentByST40CompassInstrument           Seatalk1CommandConst = 137
	Seatalk1CommandDeviceIndentification                               Seatalk1CommandConst = 144
	Seatalk1CommandSetRudderGain                                       Seatalk1CommandConst = 145
	Seatalk1CommandSetAutopilotParameter                               Seatalk1CommandConst = 146
	Seatalk1CommandEnterAPSetup                                        Seatalk1CommandConst = 147
	Seatalk1CommandReplacesCommand84WhileAutopilotIsInValueSettingMode Seatalk1CommandConst = 149
	Seatalk1CommandCompassVariation                                    Seatalk1CommandConst = 153
	Seatalk1CommandVersionString                                       Seatalk1CommandConst = 154
	Seatalk1CommandCompassHeadingAndRudderPosition                     Seatalk1CommandConst = 156
	Seatalk1CommandWaypointDefinition                                  Seatalk1CommandConst = 158
	Seatalk1CommandDestinationWaypointInfo                             Seatalk1CommandConst = 161
	Seatalk1CommandArrivalInfo                                         Seatalk1CommandConst = 162
	Seatalk1CommandBroadcastQueryResponseToIdentifyDevices             Seatalk1CommandConst = 164
	Seatalk1CommandGPSAndDGPSInfo                                      Seatalk1CommandConst = 165
	Seatalk1CommandUnknownMeaning                                      Seatalk1CommandConst = 167
	Seatalk1CommandAlarmONOFFForGuard                                  Seatalk1CommandConst = 168
	Seatalk1CommandAlarmONOFFForGuardValue171                          Seatalk1CommandConst = 171
)

func (Seatalk1CommandConst) GoString added in v1.3.0

func (e Seatalk1CommandConst) GoString() string

func (Seatalk1CommandConst) String added in v1.3.0

func (e Seatalk1CommandConst) String() string

type Seatalk1DeviceIdentification

type Seatalk1DeviceIdentification struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Seatalk1Command  *uint64     `json:"seatalk1Command,omitempty" n2k:"6"`
	Device           *uint64     `json:"device,omitempty" n2k:"8"`
}

func (*Seatalk1DeviceIdentification) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Seatalk1DeviceIdentification) DecodePayload

func (m *Seatalk1DeviceIdentification) DecodePayload(payload []uint8) error

func (*Seatalk1DeviceIdentification) EncodePayload

func (m *Seatalk1DeviceIdentification) EncodePayload() ([]uint8, error)

func (*Seatalk1DeviceIdentification) MessageInfo

func (m *Seatalk1DeviceIdentification) MessageInfo() MessageInfo

func (*Seatalk1DeviceIdentification) PGNNumber

func (m *Seatalk1DeviceIdentification) PGNNumber() uint32

func (*Seatalk1DeviceIdentification) SetMessageInfo

func (m *Seatalk1DeviceIdentification) SetMessageInfo(info MessageInfo)

type Seatalk1DisplayBrightness

type Seatalk1DisplayBrightness struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Command1         *uint64     `json:"command1,omitempty" n2k:"5"`
	Group            *uint64     `json:"group,omitempty" n2k:"6"`
	Shared           *uint64     `json:"shared,omitempty" n2k:"7"`
	Command          *uint64     `json:"command,omitempty" n2k:"8"`
	Brightness       *uint64     `json:"brightness,omitempty" n2k:"9"`
	Unknown2         []uint8     `json:"unknown2,omitempty" n2k:"10"`
}

func (*Seatalk1DisplayBrightness) BrightnessValue

func (m *Seatalk1DisplayBrightness) BrightnessValue() (float64, bool)

BrightnessValue returns Brightness as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Seatalk1DisplayBrightness) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*Seatalk1DisplayBrightness) DecodePayload

func (m *Seatalk1DisplayBrightness) DecodePayload(payload []uint8) error

func (*Seatalk1DisplayBrightness) EncodePayload

func (m *Seatalk1DisplayBrightness) EncodePayload() ([]uint8, error)

func (*Seatalk1DisplayBrightness) MessageInfo

func (m *Seatalk1DisplayBrightness) MessageInfo() MessageInfo

func (*Seatalk1DisplayBrightness) PGNNumber

func (m *Seatalk1DisplayBrightness) PGNNumber() uint32

func (*Seatalk1DisplayBrightness) SetBrightnessValue

func (m *Seatalk1DisplayBrightness) SetBrightnessValue(v float64)

SetBrightnessValue sets Brightness from a physical value in %, rounded to the nearest wire tick of 1.

func (*Seatalk1DisplayBrightness) SetMessageInfo

func (m *Seatalk1DisplayBrightness) SetMessageInfo(info MessageInfo)

type Seatalk1DisplayColor

type Seatalk1DisplayColor struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Command1         *uint64     `json:"command1,omitempty" n2k:"5"`
	Group            *uint64     `json:"group,omitempty" n2k:"6"`
	Unknown1         []uint8     `json:"unknown1,omitempty" n2k:"7"`
	Command          *uint64     `json:"command,omitempty" n2k:"8"`
	Color            *uint64     `json:"color,omitempty" n2k:"9"`
	Unknown2         []uint8     `json:"unknown2,omitempty" n2k:"10"`
}

func (*Seatalk1DisplayColor) Clone added in v1.3.0

func (m *Seatalk1DisplayColor) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Seatalk1DisplayColor) DecodePayload

func (m *Seatalk1DisplayColor) DecodePayload(payload []uint8) error

func (*Seatalk1DisplayColor) EncodePayload

func (m *Seatalk1DisplayColor) EncodePayload() ([]uint8, error)

func (*Seatalk1DisplayColor) MessageInfo

func (m *Seatalk1DisplayColor) MessageInfo() MessageInfo

func (*Seatalk1DisplayColor) PGNNumber

func (m *Seatalk1DisplayColor) PGNNumber() uint32

func (*Seatalk1DisplayColor) SetMessageInfo

func (m *Seatalk1DisplayColor) SetMessageInfo(info MessageInfo)

type Seatalk1Keystroke

type Seatalk1Keystroke struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Seatalk1Command  *uint64     `json:"seatalk1Command,omitempty" n2k:"6"`
	Device           *uint64     `json:"device,omitempty" n2k:"7"`
	Key              *uint64     `json:"key,omitempty" n2k:"8"`
	Keyinverted      *uint64     `json:"keyinverted,omitempty" n2k:"9"`
	UnknownData      []uint8     `json:"unknownData,omitempty" n2k:"10"`
}

func (*Seatalk1Keystroke) Clone added in v1.3.0

func (m *Seatalk1Keystroke) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Seatalk1Keystroke) DecodePayload

func (m *Seatalk1Keystroke) DecodePayload(payload []uint8) error

func (*Seatalk1Keystroke) EncodePayload

func (m *Seatalk1Keystroke) EncodePayload() ([]uint8, error)

func (*Seatalk1Keystroke) MessageInfo

func (m *Seatalk1Keystroke) MessageInfo() MessageInfo

func (*Seatalk1Keystroke) PGNNumber

func (m *Seatalk1Keystroke) PGNNumber() uint32

func (*Seatalk1Keystroke) SetMessageInfo

func (m *Seatalk1Keystroke) SetMessageInfo(info MessageInfo)

type Seatalk1PilotHullType

type Seatalk1PilotHullType struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Unknown          []uint8     `json:"unknown,omitempty" n2k:"6"`
	HullType         *uint64     `json:"hullType,omitempty" n2k:"7"`
	Unknown2         []uint8     `json:"unknown2,omitempty" n2k:"8"`
}

func (*Seatalk1PilotHullType) Clone added in v1.3.0

func (m *Seatalk1PilotHullType) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Seatalk1PilotHullType) DecodePayload

func (m *Seatalk1PilotHullType) DecodePayload(payload []uint8) error

func (*Seatalk1PilotHullType) EncodePayload

func (m *Seatalk1PilotHullType) EncodePayload() ([]uint8, error)

func (*Seatalk1PilotHullType) MessageInfo

func (m *Seatalk1PilotHullType) MessageInfo() MessageInfo

func (*Seatalk1PilotHullType) PGNNumber

func (m *Seatalk1PilotHullType) PGNNumber() uint32

func (*Seatalk1PilotHullType) SetMessageInfo

func (m *Seatalk1PilotHullType) SetMessageInfo(info MessageInfo)

type Seatalk1PilotMode

type Seatalk1PilotMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Seatalk1Command  *uint64     `json:"seatalk1Command,omitempty" n2k:"6"`
	Unknown1         []uint8     `json:"unknown1,omitempty" n2k:"7"`
	PilotMode        *uint64     `json:"pilotMode,omitempty" n2k:"8"`
	SubMode          *uint64     `json:"subMode,omitempty" n2k:"9"`
	PilotModeData    []uint8     `json:"pilotModeData,omitempty" n2k:"10"`
	Unknown2         []uint8     `json:"unknown2,omitempty" n2k:"11"`
}

func (*Seatalk1PilotMode) Clone added in v1.3.0

func (m *Seatalk1PilotMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Seatalk1PilotMode) DecodePayload

func (m *Seatalk1PilotMode) DecodePayload(payload []uint8) error

func (*Seatalk1PilotMode) EncodePayload

func (m *Seatalk1PilotMode) EncodePayload() ([]uint8, error)

func (*Seatalk1PilotMode) MessageInfo

func (m *Seatalk1PilotMode) MessageInfo() MessageInfo

func (*Seatalk1PilotMode) PGNNumber

func (m *Seatalk1PilotMode) PGNNumber() uint32

func (*Seatalk1PilotMode) SetMessageInfo

func (m *Seatalk1PilotMode) SetMessageInfo(info MessageInfo)

type SeatalkAlarm

type SeatalkAlarm struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"4"`
	AlarmStatus      *uint64     `json:"alarmStatus,omitempty" n2k:"5"`
	AlarmId          *uint64     `json:"alarmId,omitempty" n2k:"6"`
	AlarmGroup       *uint64     `json:"alarmGroup,omitempty" n2k:"7"`
	AlarmPriority    []uint8     `json:"alarmPriority,omitempty" n2k:"8"`
}

func (*SeatalkAlarm) Clone added in v1.3.0

func (m *SeatalkAlarm) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkAlarm) DecodePayload

func (m *SeatalkAlarm) DecodePayload(payload []uint8) error

func (*SeatalkAlarm) EncodePayload

func (m *SeatalkAlarm) EncodePayload() ([]uint8, error)

func (*SeatalkAlarm) MessageInfo

func (m *SeatalkAlarm) MessageInfo() MessageInfo

func (*SeatalkAlarm) PGNNumber

func (m *SeatalkAlarm) PGNNumber() uint32

func (*SeatalkAlarm) SetMessageInfo

func (m *SeatalkAlarm) SetMessageInfo(info MessageInfo)

type SeatalkAlarmGroupConst

type SeatalkAlarmGroupConst uint8
const (
	SeatalkAlarmGroupInstrument         SeatalkAlarmGroupConst = 0
	SeatalkAlarmGroupAutopilot          SeatalkAlarmGroupConst = 1
	SeatalkAlarmGroupRadar              SeatalkAlarmGroupConst = 2
	SeatalkAlarmGroupChartPlotter       SeatalkAlarmGroupConst = 3
	SeatalkAlarmGroupAIS                SeatalkAlarmGroupConst = 4
	SeatalkAlarmGroupBluetoothAccessory SeatalkAlarmGroupConst = 5
)

func (SeatalkAlarmGroupConst) GoString

func (e SeatalkAlarmGroupConst) GoString() string

func (SeatalkAlarmGroupConst) String

func (e SeatalkAlarmGroupConst) String() string

type SeatalkAlarmIdConst

type SeatalkAlarmIdConst uint8
const (
	SeatalkAlarmIdNoAlarm                                    SeatalkAlarmIdConst = 0
	SeatalkAlarmIdShallowDepth                               SeatalkAlarmIdConst = 1
	SeatalkAlarmIdDeepDepth                                  SeatalkAlarmIdConst = 2
	SeatalkAlarmIdShallowAnchor                              SeatalkAlarmIdConst = 3
	SeatalkAlarmIdDeepAnchor                                 SeatalkAlarmIdConst = 4
	SeatalkAlarmIdOffCourse                                  SeatalkAlarmIdConst = 5
	SeatalkAlarmIdAWAHigh                                    SeatalkAlarmIdConst = 6
	SeatalkAlarmIdAWALow                                     SeatalkAlarmIdConst = 7
	SeatalkAlarmIdAWSHigh                                    SeatalkAlarmIdConst = 8
	SeatalkAlarmIdAWSLow                                     SeatalkAlarmIdConst = 9
	SeatalkAlarmIdTWAHigh                                    SeatalkAlarmIdConst = 10
	SeatalkAlarmIdTWALow                                     SeatalkAlarmIdConst = 11
	SeatalkAlarmIdTWSHigh                                    SeatalkAlarmIdConst = 12
	SeatalkAlarmIdTWSLow                                     SeatalkAlarmIdConst = 13
	SeatalkAlarmIdWPArrival                                  SeatalkAlarmIdConst = 14
	SeatalkAlarmIdBoatSpeedHigh                              SeatalkAlarmIdConst = 15
	SeatalkAlarmIdBoatSpeedLow                               SeatalkAlarmIdConst = 16
	SeatalkAlarmIdSeaTemperatureHigh                         SeatalkAlarmIdConst = 17
	SeatalkAlarmIdSeaTemperatureLow                          SeatalkAlarmIdConst = 18
	SeatalkAlarmIdPilotWatch                                 SeatalkAlarmIdConst = 19
	SeatalkAlarmIdPilotOffCourse                             SeatalkAlarmIdConst = 20
	SeatalkAlarmIdPilotWindShift                             SeatalkAlarmIdConst = 21
	SeatalkAlarmIdPilotLowBattery                            SeatalkAlarmIdConst = 22
	SeatalkAlarmIdPilotLastMinuteOfWatch                     SeatalkAlarmIdConst = 23
	SeatalkAlarmIdPilotNoNMEAData                            SeatalkAlarmIdConst = 24
	SeatalkAlarmIdPilotLargeXTE                              SeatalkAlarmIdConst = 25
	SeatalkAlarmIdPilotNMEADataError                         SeatalkAlarmIdConst = 26
	SeatalkAlarmIdPilotCUDisconnected                        SeatalkAlarmIdConst = 27
	SeatalkAlarmIdPilotAutoRelease                           SeatalkAlarmIdConst = 28
	SeatalkAlarmIdPilotWayPointAdvance                       SeatalkAlarmIdConst = 29
	SeatalkAlarmIdPilotDriveStopped                          SeatalkAlarmIdConst = 30
	SeatalkAlarmIdPilotTypeUnspecified                       SeatalkAlarmIdConst = 31
	SeatalkAlarmIdPilotCalibrationRequired                   SeatalkAlarmIdConst = 32
	SeatalkAlarmIdPilotLastHeading                           SeatalkAlarmIdConst = 33
	SeatalkAlarmIdPilotNoPilot                               SeatalkAlarmIdConst = 34
	SeatalkAlarmIdPilotRouteComplete                         SeatalkAlarmIdConst = 35
	SeatalkAlarmIdPilotVariableText                          SeatalkAlarmIdConst = 36
	SeatalkAlarmIdGPSFailure                                 SeatalkAlarmIdConst = 37
	SeatalkAlarmIdMOB                                        SeatalkAlarmIdConst = 38
	SeatalkAlarmIdSeatalk1Anchor                             SeatalkAlarmIdConst = 39
	SeatalkAlarmIdPilotSwappedMotorPower                     SeatalkAlarmIdConst = 40
	SeatalkAlarmIdPilotStandbyTooFastToFish                  SeatalkAlarmIdConst = 41
	SeatalkAlarmIdPilotNoGPSFix                              SeatalkAlarmIdConst = 42
	SeatalkAlarmIdPilotNoGPSCOG                              SeatalkAlarmIdConst = 43
	SeatalkAlarmIdPilotStartUp                               SeatalkAlarmIdConst = 44
	SeatalkAlarmIdPilotTooSlow                               SeatalkAlarmIdConst = 45
	SeatalkAlarmIdPilotNoCompass                             SeatalkAlarmIdConst = 46
	SeatalkAlarmIdPilotRateGyroFault                         SeatalkAlarmIdConst = 47
	SeatalkAlarmIdPilotCurrentLimit                          SeatalkAlarmIdConst = 48
	SeatalkAlarmIdPilotWayPointAdvancePort                   SeatalkAlarmIdConst = 49
	SeatalkAlarmIdPilotWayPointAdvanceStbd                   SeatalkAlarmIdConst = 50
	SeatalkAlarmIdPilotNoWindData                            SeatalkAlarmIdConst = 51
	SeatalkAlarmIdPilotNoSpeedData                           SeatalkAlarmIdConst = 52
	SeatalkAlarmIdPilotSeatalkFail1                          SeatalkAlarmIdConst = 53
	SeatalkAlarmIdPilotSeatalkFail2                          SeatalkAlarmIdConst = 54
	SeatalkAlarmIdPilotWarningTooFastToFish                  SeatalkAlarmIdConst = 55
	SeatalkAlarmIdPilotAutoDocksideFail                      SeatalkAlarmIdConst = 56
	SeatalkAlarmIdPilotTurnTooFast                           SeatalkAlarmIdConst = 57
	SeatalkAlarmIdPilotNoNavData                             SeatalkAlarmIdConst = 58
	SeatalkAlarmIdPilotLostWaypointData                      SeatalkAlarmIdConst = 59
	SeatalkAlarmIdPilotEEPROMCorrupt                         SeatalkAlarmIdConst = 60
	SeatalkAlarmIdPilotRudderFeedbackFail                    SeatalkAlarmIdConst = 61
	SeatalkAlarmIdPilotAutolearnFail1                        SeatalkAlarmIdConst = 62
	SeatalkAlarmIdPilotAutolearnFail2                        SeatalkAlarmIdConst = 63
	SeatalkAlarmIdPilotAutolearnFail3                        SeatalkAlarmIdConst = 64
	SeatalkAlarmIdPilotAutolearnFail4                        SeatalkAlarmIdConst = 65
	SeatalkAlarmIdPilotAutolearnFail5                        SeatalkAlarmIdConst = 66
	SeatalkAlarmIdPilotAutolearnFail6                        SeatalkAlarmIdConst = 67
	SeatalkAlarmIdPilotWarningCalRequired                    SeatalkAlarmIdConst = 68
	SeatalkAlarmIdPilotWarningOffCourse                      SeatalkAlarmIdConst = 69
	SeatalkAlarmIdPilotWarningXTE                            SeatalkAlarmIdConst = 70
	SeatalkAlarmIdPilotWarningWindShift                      SeatalkAlarmIdConst = 71
	SeatalkAlarmIdPilotWarningDriveShort                     SeatalkAlarmIdConst = 72
	SeatalkAlarmIdPilotWarningClutchShort                    SeatalkAlarmIdConst = 73
	SeatalkAlarmIdPilotWarningSolenoidShort                  SeatalkAlarmIdConst = 74
	SeatalkAlarmIdPilotJoystickFault                         SeatalkAlarmIdConst = 75
	SeatalkAlarmIdPilotNoJoystickData                        SeatalkAlarmIdConst = 76
	SeatalkAlarmIdPilotInvalidCommand                        SeatalkAlarmIdConst = 80
	SeatalkAlarmIdAISTXMalfunction                           SeatalkAlarmIdConst = 81
	SeatalkAlarmIdAISAntennaVSWRFault                        SeatalkAlarmIdConst = 82
	SeatalkAlarmIdAISRxChannel1Malfunction                   SeatalkAlarmIdConst = 83
	SeatalkAlarmIdAISRxChannel2Malfunction                   SeatalkAlarmIdConst = 84
	SeatalkAlarmIdAISNoSensorPositionInUse                   SeatalkAlarmIdConst = 85
	SeatalkAlarmIdAISNoValidSOGInformation                   SeatalkAlarmIdConst = 86
	SeatalkAlarmIdAISNoValidCOGInformation                   SeatalkAlarmIdConst = 87
	SeatalkAlarmIdAIS12VAlarm                                SeatalkAlarmIdConst = 88
	SeatalkAlarmIdAIS6VAlarm                                 SeatalkAlarmIdConst = 89
	SeatalkAlarmIdAISNoiseThresholdExceededChannelA          SeatalkAlarmIdConst = 90
	SeatalkAlarmIdAISNoiseThresholdExceededChannelB          SeatalkAlarmIdConst = 91
	SeatalkAlarmIdAISTransmitterPAFault                      SeatalkAlarmIdConst = 92
	SeatalkAlarmIdAIS3V3Alarm                                SeatalkAlarmIdConst = 93
	SeatalkAlarmIdAISRxChannel70Malfunction                  SeatalkAlarmIdConst = 94
	SeatalkAlarmIdAISHeadingLostInvalid                      SeatalkAlarmIdConst = 95
	SeatalkAlarmIdAISInternalGPSLost                         SeatalkAlarmIdConst = 96
	SeatalkAlarmIdAISNoSensorPosition                        SeatalkAlarmIdConst = 97
	SeatalkAlarmIdAISLockFailure                             SeatalkAlarmIdConst = 98
	SeatalkAlarmIdAISInternalGGATimeout                      SeatalkAlarmIdConst = 99
	SeatalkAlarmIdAISProtocolStackRestart                    SeatalkAlarmIdConst = 100
	SeatalkAlarmIdPilotNoIPSCommunications                   SeatalkAlarmIdConst = 101
	SeatalkAlarmIdPilotPowerOnOrSleepSwitchResetWhileEngaged SeatalkAlarmIdConst = 102
	SeatalkAlarmIdPilotUnexpectedResetWhileEngaged           SeatalkAlarmIdConst = 103
	SeatalkAlarmIdAISDangerousTarget                         SeatalkAlarmIdConst = 104
	SeatalkAlarmIdAISLostTarget                              SeatalkAlarmIdConst = 105
	SeatalkAlarmIdAISSafetyRelatedMessageUsedToSilence       SeatalkAlarmIdConst = 106
	SeatalkAlarmIdAISConnectionLost                          SeatalkAlarmIdConst = 107
	SeatalkAlarmIdNoFix                                      SeatalkAlarmIdConst = 108
	SeatalkAlarmIdPilotCompassCalibrationComplete            SeatalkAlarmIdConst = 112
	SeatalkAlarmIdAISTransmitterDisabledMMSIRequired         SeatalkAlarmIdConst = 113
	SeatalkAlarmIdBluetoothDeviceLowBattery                  SeatalkAlarmIdConst = 122
	SeatalkAlarmIdBluetoothDeviceSleepMode                   SeatalkAlarmIdConst = 123
	SeatalkAlarmIdBluetoothDeviceHighBatteryTemperature      SeatalkAlarmIdConst = 124
	SeatalkAlarmIdBluetoothDeviceLostCommunications          SeatalkAlarmIdConst = 125
)

func (SeatalkAlarmIdConst) GoString

func (e SeatalkAlarmIdConst) GoString() string

func (SeatalkAlarmIdConst) String

func (e SeatalkAlarmIdConst) String() string

type SeatalkAlarmStatusConst

type SeatalkAlarmStatusConst uint8
const (
	SeatalkAlarmStatusAlarmConditionNotMet            SeatalkAlarmStatusConst = 0
	SeatalkAlarmStatusAlarmConditionMetAndNotSilenced SeatalkAlarmStatusConst = 1
	SeatalkAlarmStatusAlarmConditionMetAndSilenced    SeatalkAlarmStatusConst = 2
)

func (SeatalkAlarmStatusConst) GoString

func (e SeatalkAlarmStatusConst) GoString() string

func (SeatalkAlarmStatusConst) String

func (e SeatalkAlarmStatusConst) String() string

type SeatalkCommandConst added in v1.3.0

type SeatalkCommandConst uint8
const (
	SeatalkCommandSeatalk1                     SeatalkCommandConst = 129
	SeatalkCommandHullType                     SeatalkCommandConst = 22
	SeatalkCommandAutoTurn                     SeatalkCommandConst = 38
	SeatalkCommandSettings                     SeatalkCommandConst = 12
	SeatalkCommandRudderLimit                  SeatalkCommandConst = 2
	SeatalkCommandRudderDamping                SeatalkCommandConst = 3
	SeatalkCommandRudderOffset                 SeatalkCommandConst = 4
	SeatalkCommandReverseRudderReference       SeatalkCommandConst = 6
	SeatalkCommandCruiseSpeed                  SeatalkCommandConst = 8
	SeatalkCommandPowerSteerMode               SeatalkCommandConst = 11
	SeatalkCommandWindType                     SeatalkCommandConst = 15
	SeatalkCommandAutoTurnValue17              SeatalkCommandConst = 17
	SeatalkCommandCalibrationLock              SeatalkCommandConst = 18
	SeatalkCommandGybeInhibit                  SeatalkCommandConst = 20
	SeatalkCommandCompassOffset                SeatalkCommandConst = 21
	SeatalkCommandDriveType                    SeatalkCommandConst = 23
	SeatalkCommandResponseLevel                SeatalkCommandConst = 25
	SeatalkCommandMaxCompassDeviation          SeatalkCommandConst = 26
	SeatalkCommandHardOverTime                 SeatalkCommandConst = 27
	SeatalkCommandDebugLevel                   SeatalkCommandConst = 29
	SeatalkCommandCompassLock                  SeatalkCommandConst = 33
	SeatalkCommandSpeedInput                   SeatalkCommandConst = 34
	SeatalkCommandCompassLinearisationProgress SeatalkCommandConst = 35
	SeatalkCommandACUDebugLevel                SeatalkCommandConst = 36
	SeatalkCommandWindShiftAlarm               SeatalkCommandConst = 37
	SeatalkCommandAutoTurnTimeout              SeatalkCommandConst = 39
)

func (SeatalkCommandConst) GoString added in v1.3.0

func (e SeatalkCommandConst) GoString() string

func (SeatalkCommandConst) String added in v1.3.0

func (e SeatalkCommandConst) String() string

type SeatalkDeviceIdConst

type SeatalkDeviceIdConst uint8
const (
	SeatalkDeviceIdS100           SeatalkDeviceIdConst = 3
	SeatalkDeviceIdCourseComputer SeatalkDeviceIdConst = 5
)

func (SeatalkDeviceIdConst) GoString

func (e SeatalkDeviceIdConst) GoString() string

func (SeatalkDeviceIdConst) String

func (e SeatalkDeviceIdConst) String() string

type SeatalkDisplayColorConst

type SeatalkDisplayColorConst uint8
const (
	SeatalkDisplayColorDay1     SeatalkDisplayColorConst = 0
	SeatalkDisplayColorDay2     SeatalkDisplayColorConst = 2
	SeatalkDisplayColorRedBlack SeatalkDisplayColorConst = 3
	SeatalkDisplayColorInverse  SeatalkDisplayColorConst = 4
)

func (SeatalkDisplayColorConst) GoString

func (e SeatalkDisplayColorConst) GoString() string

func (SeatalkDisplayColorConst) String

func (e SeatalkDisplayColorConst) String() string

type SeatalkKeypadHeartbeat

type SeatalkKeypadHeartbeat struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Variant          *uint64     `json:"variant,omitempty" n2k:"5"`
	Status           *uint64     `json:"status,omitempty" n2k:"6"`
}

func (*SeatalkKeypadHeartbeat) Clone added in v1.3.0

func (m *SeatalkKeypadHeartbeat) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkKeypadHeartbeat) DecodePayload

func (m *SeatalkKeypadHeartbeat) DecodePayload(payload []uint8) error

func (*SeatalkKeypadHeartbeat) EncodePayload

func (m *SeatalkKeypadHeartbeat) EncodePayload() ([]uint8, error)

func (*SeatalkKeypadHeartbeat) MessageInfo

func (m *SeatalkKeypadHeartbeat) MessageInfo() MessageInfo

func (*SeatalkKeypadHeartbeat) PGNNumber

func (m *SeatalkKeypadHeartbeat) PGNNumber() uint32

func (*SeatalkKeypadHeartbeat) SetMessageInfo

func (m *SeatalkKeypadHeartbeat) SetMessageInfo(info MessageInfo)

type SeatalkKeypadMessage

type SeatalkKeypadMessage struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	FirstKey         *uint64     `json:"firstKey,omitempty" n2k:"5"`
	SecondKey        *uint64     `json:"secondKey,omitempty" n2k:"6"`
	FirstKeyState    *uint64     `json:"firstKeyState,omitempty" n2k:"7"`
	SecondKeyState   *uint64     `json:"secondKeyState,omitempty" n2k:"8"`
	EncoderPosition  *uint64     `json:"encoderPosition,omitempty" n2k:"10"`
}

func (*SeatalkKeypadMessage) Clone added in v1.3.0

func (m *SeatalkKeypadMessage) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkKeypadMessage) DecodePayload

func (m *SeatalkKeypadMessage) DecodePayload(payload []uint8) error

func (*SeatalkKeypadMessage) EncodePayload

func (m *SeatalkKeypadMessage) EncodePayload() ([]uint8, error)

func (*SeatalkKeypadMessage) MessageInfo

func (m *SeatalkKeypadMessage) MessageInfo() MessageInfo

func (*SeatalkKeypadMessage) PGNNumber

func (m *SeatalkKeypadMessage) PGNNumber() uint32

func (*SeatalkKeypadMessage) SetMessageInfo

func (m *SeatalkKeypadMessage) SetMessageInfo(info MessageInfo)

type SeatalkKeystrokeConst

type SeatalkKeystrokeConst uint8
const (
	SeatalkKeystrokeAuto          SeatalkKeystrokeConst = 1
	SeatalkKeystrokeStandby       SeatalkKeystrokeConst = 2
	SeatalkKeystrokeWind          SeatalkKeystrokeConst = 3
	SeatalkKeystroke1             SeatalkKeystrokeConst = 5
	SeatalkKeystroke10            SeatalkKeystrokeConst = 6
	SeatalkKeystroke1Value7       SeatalkKeystrokeConst = 7
	SeatalkKeystroke10Value8      SeatalkKeystrokeConst = 8
	SeatalkKeystroke1And10        SeatalkKeystrokeConst = 33
	SeatalkKeystroke1And10Value34 SeatalkKeystrokeConst = 34
	SeatalkKeystrokeTrack         SeatalkKeystrokeConst = 35
)

func (SeatalkKeystrokeConst) GoString

func (e SeatalkKeystrokeConst) GoString() string

func (SeatalkKeystrokeConst) String

func (e SeatalkKeystrokeConst) String() string

type SeatalkMessageIdConst added in v1.3.0

type SeatalkMessageIdConst uint8
const (
	SeatalkMessageIdSeatalk1Encoded    SeatalkMessageIdConst = 240
	SeatalkMessageIdDisplay            SeatalkMessageIdConst = 140
	SeatalkMessageIdPilotConfiguration SeatalkMessageIdConst = 108
)

func (SeatalkMessageIdConst) GoString added in v1.3.0

func (e SeatalkMessageIdConst) GoString() string

func (SeatalkMessageIdConst) String added in v1.3.0

func (e SeatalkMessageIdConst) String() string

type SeatalkNetworkGroupConst

type SeatalkNetworkGroupConst uint8
const (
	SeatalkNetworkGroupNone      SeatalkNetworkGroupConst = 0
	SeatalkNetworkGroupHelm1     SeatalkNetworkGroupConst = 1
	SeatalkNetworkGroupHelm2     SeatalkNetworkGroupConst = 2
	SeatalkNetworkGroupCockpit   SeatalkNetworkGroupConst = 3
	SeatalkNetworkGroupFlybridge SeatalkNetworkGroupConst = 4
	SeatalkNetworkGroupMast      SeatalkNetworkGroupConst = 5
	SeatalkNetworkGroupGroup1    SeatalkNetworkGroupConst = 6
	SeatalkNetworkGroupGroup2    SeatalkNetworkGroupConst = 7
	SeatalkNetworkGroupGroup3    SeatalkNetworkGroupConst = 8
	SeatalkNetworkGroupGroup4    SeatalkNetworkGroupConst = 9
	SeatalkNetworkGroupGroup5    SeatalkNetworkGroupConst = 10
)

func (SeatalkNetworkGroupConst) GoString

func (e SeatalkNetworkGroupConst) GoString() string

func (SeatalkNetworkGroupConst) String

func (e SeatalkNetworkGroupConst) String() string

type SeatalkNodeStatistics

type SeatalkNodeStatistics struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProductCode      *uint64     `json:"productCode,omitempty" n2k:"4"`
	Year             *uint64     `json:"year,omitempty" n2k:"5"`
	Month            *uint64     `json:"month,omitempty" n2k:"6"`
	DeviceNumber     *uint64     `json:"deviceNumber,omitempty" n2k:"7"`
	NodeVoltage      *uint64     `json:"nodeVoltage,omitempty" n2k:"8"`
}

func (*SeatalkNodeStatistics) Clone added in v1.3.0

func (m *SeatalkNodeStatistics) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkNodeStatistics) DecodePayload

func (m *SeatalkNodeStatistics) DecodePayload(payload []uint8) error

func (*SeatalkNodeStatistics) EncodePayload

func (m *SeatalkNodeStatistics) EncodePayload() ([]uint8, error)

func (*SeatalkNodeStatistics) MessageInfo

func (m *SeatalkNodeStatistics) MessageInfo() MessageInfo

func (*SeatalkNodeStatistics) NodeVoltageValue

func (m *SeatalkNodeStatistics) NodeVoltageValue() (float64, bool)

NodeVoltageValue returns NodeVoltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkNodeStatistics) PGNNumber

func (m *SeatalkNodeStatistics) PGNNumber() uint32

func (*SeatalkNodeStatistics) SetMessageInfo

func (m *SeatalkNodeStatistics) SetMessageInfo(info MessageInfo)

func (*SeatalkNodeStatistics) SetNodeVoltageValue

func (m *SeatalkNodeStatistics) SetNodeVoltageValue(v float64)

SetNodeVoltageValue sets NodeVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.

type SeatalkPilotAutoTurn

type SeatalkPilotAutoTurn struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Command          *uint64     `json:"command,omitempty" n2k:"5"`
	Unknown          []uint8     `json:"unknown,omitempty" n2k:"6"`
	Enabled          *uint64     `json:"enabled,omitempty" n2k:"7"`
	Unknown2         *uint64     `json:"unknown2,omitempty" n2k:"8"`
	Unknown3         []uint8     `json:"unknown3,omitempty" n2k:"9"`
}

func (*SeatalkPilotAutoTurn) Clone added in v1.3.0

func (m *SeatalkPilotAutoTurn) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkPilotAutoTurn) DecodePayload

func (m *SeatalkPilotAutoTurn) DecodePayload(payload []uint8) error

func (*SeatalkPilotAutoTurn) EncodePayload

func (m *SeatalkPilotAutoTurn) EncodePayload() ([]uint8, error)

func (*SeatalkPilotAutoTurn) MessageInfo

func (m *SeatalkPilotAutoTurn) MessageInfo() MessageInfo

func (*SeatalkPilotAutoTurn) PGNNumber

func (m *SeatalkPilotAutoTurn) PGNNumber() uint32

func (*SeatalkPilotAutoTurn) SetMessageInfo

func (m *SeatalkPilotAutoTurn) SetMessageInfo(info MessageInfo)

type SeatalkPilotHeading

type SeatalkPilotHeading struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"4"`
	HeadingTrue      *uint64     `json:"headingTrue,omitempty" n2k:"5"`
	HeadingMagnetic  *uint64     `json:"headingMagnetic,omitempty" n2k:"6"`
}

func (*SeatalkPilotHeading) Clone added in v1.3.0

func (m *SeatalkPilotHeading) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkPilotHeading) DecodePayload

func (m *SeatalkPilotHeading) DecodePayload(payload []uint8) error

func (*SeatalkPilotHeading) EncodePayload

func (m *SeatalkPilotHeading) EncodePayload() ([]uint8, error)

func (*SeatalkPilotHeading) HeadingMagneticValue

func (m *SeatalkPilotHeading) HeadingMagneticValue() (float64, bool)

HeadingMagneticValue returns HeadingMagnetic as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkPilotHeading) HeadingTrueValue

func (m *SeatalkPilotHeading) HeadingTrueValue() (float64, bool)

HeadingTrueValue returns HeadingTrue as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkPilotHeading) MessageInfo

func (m *SeatalkPilotHeading) MessageInfo() MessageInfo

func (*SeatalkPilotHeading) PGNNumber

func (m *SeatalkPilotHeading) PGNNumber() uint32

func (*SeatalkPilotHeading) SetHeadingMagneticValue

func (m *SeatalkPilotHeading) SetHeadingMagneticValue(v float64)

SetHeadingMagneticValue sets HeadingMagnetic from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkPilotHeading) SetHeadingTrueValue

func (m *SeatalkPilotHeading) SetHeadingTrueValue(v float64)

SetHeadingTrueValue sets HeadingTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkPilotHeading) SetMessageInfo

func (m *SeatalkPilotHeading) SetMessageInfo(info MessageInfo)

type SeatalkPilotHullTypeConst added in v1.3.0

type SeatalkPilotHullTypeConst uint8
const (
	SeatalkPilotHullTypeSail          SeatalkPilotHullTypeConst = 0
	SeatalkPilotHullTypeSailSlowTurn  SeatalkPilotHullTypeConst = 1
	SeatalkPilotHullTypeSailCatamaran SeatalkPilotHullTypeConst = 2
	SeatalkPilotHullTypePowerSlowTurn SeatalkPilotHullTypeConst = 3
	SeatalkPilotHullTypePowerFastTurn SeatalkPilotHullTypeConst = 4
	SeatalkPilotHullTypePower         SeatalkPilotHullTypeConst = 8
)

func (SeatalkPilotHullTypeConst) GoString added in v1.3.0

func (e SeatalkPilotHullTypeConst) GoString() string

func (SeatalkPilotHullTypeConst) String added in v1.3.0

func (e SeatalkPilotHullTypeConst) String() string

type SeatalkPilotLockedHeading

type SeatalkPilotLockedHeading struct {
	Info                  MessageInfo `json:"info"`
	ManufacturerCode      *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode          *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid                   *uint64     `json:"sid,omitempty" n2k:"4"`
	TargetHeadingTrue     *uint64     `json:"targetHeadingTrue,omitempty" n2k:"5"`
	TargetHeadingMagnetic *uint64     `json:"targetHeadingMagnetic,omitempty" n2k:"6"`
}

func (*SeatalkPilotLockedHeading) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkPilotLockedHeading) DecodePayload

func (m *SeatalkPilotLockedHeading) DecodePayload(payload []uint8) error

func (*SeatalkPilotLockedHeading) EncodePayload

func (m *SeatalkPilotLockedHeading) EncodePayload() ([]uint8, error)

func (*SeatalkPilotLockedHeading) MessageInfo

func (m *SeatalkPilotLockedHeading) MessageInfo() MessageInfo

func (*SeatalkPilotLockedHeading) PGNNumber

func (m *SeatalkPilotLockedHeading) PGNNumber() uint32

func (*SeatalkPilotLockedHeading) SetMessageInfo

func (m *SeatalkPilotLockedHeading) SetMessageInfo(info MessageInfo)

func (*SeatalkPilotLockedHeading) SetTargetHeadingMagneticValue

func (m *SeatalkPilotLockedHeading) SetTargetHeadingMagneticValue(v float64)

SetTargetHeadingMagneticValue sets TargetHeadingMagnetic from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkPilotLockedHeading) SetTargetHeadingTrueValue

func (m *SeatalkPilotLockedHeading) SetTargetHeadingTrueValue(v float64)

SetTargetHeadingTrueValue sets TargetHeadingTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkPilotLockedHeading) TargetHeadingMagneticValue

func (m *SeatalkPilotLockedHeading) TargetHeadingMagneticValue() (float64, bool)

TargetHeadingMagneticValue returns TargetHeadingMagnetic as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkPilotLockedHeading) TargetHeadingTrueValue

func (m *SeatalkPilotLockedHeading) TargetHeadingTrueValue() (float64, bool)

TargetHeadingTrueValue returns TargetHeadingTrue as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type SeatalkPilotMode

type SeatalkPilotMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	PilotMode        *uint64     `json:"pilotMode,omitempty" n2k:"4"`
	SubMode          []uint8     `json:"subMode,omitempty" n2k:"5"`
	PilotModeData    []uint8     `json:"pilotModeData,omitempty" n2k:"6"`
}

func (*SeatalkPilotMode) Clone added in v1.3.0

func (m *SeatalkPilotMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkPilotMode) DecodePayload

func (m *SeatalkPilotMode) DecodePayload(payload []uint8) error

func (*SeatalkPilotMode) EncodePayload

func (m *SeatalkPilotMode) EncodePayload() ([]uint8, error)

func (*SeatalkPilotMode) MessageInfo

func (m *SeatalkPilotMode) MessageInfo() MessageInfo

func (*SeatalkPilotMode) PGNNumber

func (m *SeatalkPilotMode) PGNNumber() uint32

func (*SeatalkPilotMode) SetMessageInfo

func (m *SeatalkPilotMode) SetMessageInfo(info MessageInfo)

type SeatalkPilotMode16Const

type SeatalkPilotMode16Const uint16
const (
	SeatalkPilotMode16Standby                                  SeatalkPilotMode16Const = 0
	SeatalkPilotMode16AutoCompassCommanded                     SeatalkPilotMode16Const = 64
	SeatalkPilotMode16VaneWindMode                             SeatalkPilotMode16Const = 256
	SeatalkPilotMode16TrackMode                                SeatalkPilotMode16Const = 384
	SeatalkPilotMode16NoDriftCOGReferencedInTrackCourseChanges SeatalkPilotMode16Const = 385
)

func (SeatalkPilotMode16Const) GoString

func (e SeatalkPilotMode16Const) GoString() string

func (SeatalkPilotMode16Const) String

func (e SeatalkPilotMode16Const) String() string

type SeatalkPilotModeConst

type SeatalkPilotModeConst uint8
const (
	SeatalkPilotModeStandby SeatalkPilotModeConst = 64
	SeatalkPilotModeAuto    SeatalkPilotModeConst = 66
	SeatalkPilotModeWind    SeatalkPilotModeConst = 70
	SeatalkPilotModeTrack   SeatalkPilotModeConst = 74
)

func (SeatalkPilotModeConst) GoString

func (e SeatalkPilotModeConst) GoString() string

func (SeatalkPilotModeConst) String

func (e SeatalkPilotModeConst) String() string

type SeatalkPilotWindDatum

type SeatalkPilotWindDatum struct {
	Info                    MessageInfo `json:"info"`
	ManufacturerCode        *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode            *uint64     `json:"industryCode,omitempty" n2k:"3"`
	WindDatum               *uint64     `json:"windDatum,omitempty" n2k:"4"`
	RollingAverageWindAngle *uint64     `json:"rollingAverageWindAngle,omitempty" n2k:"5"`
}

func (*SeatalkPilotWindDatum) Clone added in v1.3.0

func (m *SeatalkPilotWindDatum) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkPilotWindDatum) DecodePayload

func (m *SeatalkPilotWindDatum) DecodePayload(payload []uint8) error

func (*SeatalkPilotWindDatum) EncodePayload

func (m *SeatalkPilotWindDatum) EncodePayload() ([]uint8, error)

func (*SeatalkPilotWindDatum) MessageInfo

func (m *SeatalkPilotWindDatum) MessageInfo() MessageInfo

func (*SeatalkPilotWindDatum) PGNNumber

func (m *SeatalkPilotWindDatum) PGNNumber() uint32

func (*SeatalkPilotWindDatum) RollingAverageWindAngleValue

func (m *SeatalkPilotWindDatum) RollingAverageWindAngleValue() (float64, bool)

RollingAverageWindAngleValue returns RollingAverageWindAngle as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkPilotWindDatum) SetMessageInfo

func (m *SeatalkPilotWindDatum) SetMessageInfo(info MessageInfo)

func (*SeatalkPilotWindDatum) SetRollingAverageWindAngleValue

func (m *SeatalkPilotWindDatum) SetRollingAverageWindAngleValue(v float64)

SetRollingAverageWindAngleValue sets RollingAverageWindAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkPilotWindDatum) SetWindDatumValue

func (m *SeatalkPilotWindDatum) SetWindDatumValue(v float64)

SetWindDatumValue sets WindDatum from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkPilotWindDatum) WindDatumValue

func (m *SeatalkPilotWindDatum) WindDatumValue() (float64, bool)

WindDatumValue returns WindDatum as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type SeatalkRouteInformation

type SeatalkRouteInformation struct {
	Info                                     MessageInfo `json:"info"`
	ManufacturerCode                         *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode                             *uint64     `json:"industryCode,omitempty" n2k:"3"`
	CurrentWaypointSequence                  *uint64     `json:"currentWaypointSequence,omitempty" n2k:"4"`
	CurrentWaypointName                      string      `json:"currentWaypointName,omitempty" n2k:"5"`
	NextWaypointSequence                     *uint64     `json:"nextWaypointSequence,omitempty" n2k:"6"`
	NextWaypointName                         string      `json:"nextWaypointName,omitempty" n2k:"7"`
	Unknown                                  *uint64     `json:"unknown,omitempty" n2k:"8"`
	DistancePositionToNextWaypoint           *uint64     `json:"distancePositionToNextWaypoint,omitempty" n2k:"9"`
	BearingPositionToNextWaypointTrue        *uint64     `json:"bearingPositionToNextWaypointTrue,omitempty" n2k:"10"`
	BearingCurrentWaypointToNextWaypointTrue *uint64     `json:"bearingCurrentWaypointToNextWaypointTrue,omitempty" n2k:"11"`
}

func (*SeatalkRouteInformation) BearingCurrentWaypointToNextWaypointTrueValue

func (m *SeatalkRouteInformation) BearingCurrentWaypointToNextWaypointTrueValue() (float64, bool)

BearingCurrentWaypointToNextWaypointTrueValue returns BearingCurrentWaypointToNextWaypointTrue as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkRouteInformation) BearingPositionToNextWaypointTrueValue

func (m *SeatalkRouteInformation) BearingPositionToNextWaypointTrueValue() (float64, bool)

BearingPositionToNextWaypointTrueValue returns BearingPositionToNextWaypointTrue as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkRouteInformation) Clone added in v1.3.0

func (m *SeatalkRouteInformation) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkRouteInformation) DecodePayload

func (m *SeatalkRouteInformation) DecodePayload(payload []uint8) error

func (*SeatalkRouteInformation) DistancePositionToNextWaypointValue

func (m *SeatalkRouteInformation) DistancePositionToNextWaypointValue() (float64, bool)

DistancePositionToNextWaypointValue returns DistancePositionToNextWaypoint as a physical value in m (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkRouteInformation) EncodePayload

func (m *SeatalkRouteInformation) EncodePayload() ([]uint8, error)

func (*SeatalkRouteInformation) MessageInfo

func (m *SeatalkRouteInformation) MessageInfo() MessageInfo

func (*SeatalkRouteInformation) PGNNumber

func (m *SeatalkRouteInformation) PGNNumber() uint32

func (*SeatalkRouteInformation) SetBearingCurrentWaypointToNextWaypointTrueValue

func (m *SeatalkRouteInformation) SetBearingCurrentWaypointToNextWaypointTrueValue(v float64)

SetBearingCurrentWaypointToNextWaypointTrueValue sets BearingCurrentWaypointToNextWaypointTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkRouteInformation) SetBearingPositionToNextWaypointTrueValue

func (m *SeatalkRouteInformation) SetBearingPositionToNextWaypointTrueValue(v float64)

SetBearingPositionToNextWaypointTrueValue sets BearingPositionToNextWaypointTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkRouteInformation) SetDistancePositionToNextWaypointValue

func (m *SeatalkRouteInformation) SetDistancePositionToNextWaypointValue(v float64)

SetDistancePositionToNextWaypointValue sets DistancePositionToNextWaypoint from a physical value in m, rounded to the nearest wire tick of 1.

func (*SeatalkRouteInformation) SetMessageInfo

func (m *SeatalkRouteInformation) SetMessageInfo(info MessageInfo)

type SeatalkSharedConst added in v1.3.0

type SeatalkSharedConst uint8
const (
	SeatalkSharedShared    SeatalkSharedConst = 1
	SeatalkSharedNotShared SeatalkSharedConst = 2
)

func (SeatalkSharedConst) GoString added in v1.3.0

func (e SeatalkSharedConst) GoString() string

func (SeatalkSharedConst) String added in v1.3.0

func (e SeatalkSharedConst) String() string

type SeatalkSilenceAlarm

type SeatalkSilenceAlarm struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AlarmId          *uint64     `json:"alarmId,omitempty" n2k:"4"`
	AlarmGroup       *uint64     `json:"alarmGroup,omitempty" n2k:"5"`
}

func (*SeatalkSilenceAlarm) Clone added in v1.3.0

func (m *SeatalkSilenceAlarm) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkSilenceAlarm) DecodePayload

func (m *SeatalkSilenceAlarm) DecodePayload(payload []uint8) error

func (*SeatalkSilenceAlarm) EncodePayload

func (m *SeatalkSilenceAlarm) EncodePayload() ([]uint8, error)

func (*SeatalkSilenceAlarm) MessageInfo

func (m *SeatalkSilenceAlarm) MessageInfo() MessageInfo

func (*SeatalkSilenceAlarm) PGNNumber

func (m *SeatalkSilenceAlarm) PGNNumber() uint32

func (*SeatalkSilenceAlarm) SetMessageInfo

func (m *SeatalkSilenceAlarm) SetMessageInfo(info MessageInfo)

type SeatalkWaypointInformation

type SeatalkWaypointInformation struct {
	Info                      MessageInfo `json:"info"`
	ManufacturerCode          *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode              *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Sid                       *uint64     `json:"sid,omitempty" n2k:"4"`
	WaypointName              string      `json:"waypointName,omitempty" n2k:"5"`
	WaypointSequence          string      `json:"waypointSequence,omitempty" n2k:"6"`
	BearingToWaypointTrue     *uint64     `json:"bearingToWaypointTrue,omitempty" n2k:"7"`
	BearingToWaypointMagnetic *uint64     `json:"bearingToWaypointMagnetic,omitempty" n2k:"8"`
	DistanceToWaypoint        *uint64     `json:"distanceToWaypoint,omitempty" n2k:"9"`
}

func (*SeatalkWaypointInformation) BearingToWaypointMagneticValue

func (m *SeatalkWaypointInformation) BearingToWaypointMagneticValue() (float64, bool)

BearingToWaypointMagneticValue returns BearingToWaypointMagnetic as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkWaypointInformation) BearingToWaypointTrueValue

func (m *SeatalkWaypointInformation) BearingToWaypointTrueValue() (float64, bool)

BearingToWaypointTrueValue returns BearingToWaypointTrue as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkWaypointInformation) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkWaypointInformation) DecodePayload

func (m *SeatalkWaypointInformation) DecodePayload(payload []uint8) error

func (*SeatalkWaypointInformation) DistanceToWaypointValue

func (m *SeatalkWaypointInformation) DistanceToWaypointValue() (float64, bool)

DistanceToWaypointValue returns DistanceToWaypoint as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SeatalkWaypointInformation) EncodePayload

func (m *SeatalkWaypointInformation) EncodePayload() ([]uint8, error)

func (*SeatalkWaypointInformation) MessageInfo

func (m *SeatalkWaypointInformation) MessageInfo() MessageInfo

func (*SeatalkWaypointInformation) PGNNumber

func (m *SeatalkWaypointInformation) PGNNumber() uint32

func (*SeatalkWaypointInformation) SetBearingToWaypointMagneticValue

func (m *SeatalkWaypointInformation) SetBearingToWaypointMagneticValue(v float64)

SetBearingToWaypointMagneticValue sets BearingToWaypointMagnetic from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkWaypointInformation) SetBearingToWaypointTrueValue

func (m *SeatalkWaypointInformation) SetBearingToWaypointTrueValue(v float64)

SetBearingToWaypointTrueValue sets BearingToWaypointTrue from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SeatalkWaypointInformation) SetDistanceToWaypointValue

func (m *SeatalkWaypointInformation) SetDistanceToWaypointValue(v float64)

SetDistanceToWaypointValue sets DistanceToWaypoint from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*SeatalkWaypointInformation) SetMessageInfo

func (m *SeatalkWaypointInformation) SetMessageInfo(info MessageInfo)

type SeatalkWirelessKeypadControl

type SeatalkWirelessKeypadControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	PID              *uint64     `json:"PID,omitempty" n2k:"4"`
	Variant          *uint64     `json:"variant,omitempty" n2k:"5"`
	BeepControl      *uint64     `json:"beepControl,omitempty" n2k:"6"`
}

func (*SeatalkWirelessKeypadControl) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkWirelessKeypadControl) DecodePayload

func (m *SeatalkWirelessKeypadControl) DecodePayload(payload []uint8) error

func (*SeatalkWirelessKeypadControl) EncodePayload

func (m *SeatalkWirelessKeypadControl) EncodePayload() ([]uint8, error)

func (*SeatalkWirelessKeypadControl) MessageInfo

func (m *SeatalkWirelessKeypadControl) MessageInfo() MessageInfo

func (*SeatalkWirelessKeypadControl) PGNNumber

func (m *SeatalkWirelessKeypadControl) PGNNumber() uint32

func (*SeatalkWirelessKeypadControl) SetMessageInfo

func (m *SeatalkWirelessKeypadControl) SetMessageInfo(info MessageInfo)

type SeatalkWirelessKeypadLightControl

type SeatalkWirelessKeypadLightControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"4"`
	Variant          *uint64     `json:"variant,omitempty" n2k:"5"`
	WirelessSetting  *uint64     `json:"wirelessSetting,omitempty" n2k:"6"`
	WiredSetting     *uint64     `json:"wiredSetting,omitempty" n2k:"7"`
}

func (*SeatalkWirelessKeypadLightControl) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SeatalkWirelessKeypadLightControl) DecodePayload

func (m *SeatalkWirelessKeypadLightControl) DecodePayload(payload []uint8) error

func (*SeatalkWirelessKeypadLightControl) EncodePayload

func (m *SeatalkWirelessKeypadLightControl) EncodePayload() ([]uint8, error)

func (*SeatalkWirelessKeypadLightControl) MessageInfo

func (*SeatalkWirelessKeypadLightControl) PGNNumber

func (*SeatalkWirelessKeypadLightControl) SetMessageInfo

func (m *SeatalkWirelessKeypadLightControl) SetMessageInfo(info MessageInfo)

type SerialBitRateConst added in v1.3.0

type SerialBitRateConst uint8
const (
	SerialBitRate25    SerialBitRateConst = 0
	SerialBitRate50    SerialBitRateConst = 1
	SerialBitRate100   SerialBitRateConst = 2
	SerialBitRate200   SerialBitRateConst = 3
	SerialBitRate300   SerialBitRateConst = 4
	SerialBitRate600   SerialBitRateConst = 5
	SerialBitRate1200  SerialBitRateConst = 6
	SerialBitRate2400  SerialBitRateConst = 7
	SerialBitRate4800  SerialBitRateConst = 8
	SerialBitRate9600  SerialBitRateConst = 9
	SerialBitRate19200 SerialBitRateConst = 10
	SerialBitRate38400 SerialBitRateConst = 11
	SerialBitRate57600 SerialBitRateConst = 12
)

func (SerialBitRateConst) GoString added in v1.3.0

func (e SerialBitRateConst) GoString() string

func (SerialBitRateConst) String added in v1.3.0

func (e SerialBitRateConst) String() string

type SerialDetectionModeConst added in v1.3.0

type SerialDetectionModeConst uint8
const (
	SerialDetectionModeAutoBitRate   SerialDetectionModeConst = 0
	SerialDetectionModeManualBitRate SerialDetectionModeConst = 1
)

func (SerialDetectionModeConst) GoString added in v1.3.0

func (e SerialDetectionModeConst) GoString() string

func (SerialDetectionModeConst) String added in v1.3.0

func (e SerialDetectionModeConst) String() string

type SetDriftRapidUpdate

type SetDriftRapidUpdate struct {
	Info         MessageInfo `json:"info"`
	Sid          *uint64     `json:"sid,omitempty" n2k:"1"`
	SetReference *uint64     `json:"setReference,omitempty" n2k:"2"`
	Set          *uint64     `json:"set,omitempty" n2k:"4"`
	Drift        *uint64     `json:"drift,omitempty" n2k:"5"`
}

func (*SetDriftRapidUpdate) Clone added in v1.3.0

func (m *SetDriftRapidUpdate) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SetDriftRapidUpdate) DecodePayload

func (m *SetDriftRapidUpdate) DecodePayload(payload []uint8) error

func (*SetDriftRapidUpdate) DriftValue

func (m *SetDriftRapidUpdate) DriftValue() (float64, bool)

DriftValue returns Drift as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SetDriftRapidUpdate) EncodePayload

func (m *SetDriftRapidUpdate) EncodePayload() ([]uint8, error)

func (*SetDriftRapidUpdate) MessageInfo

func (m *SetDriftRapidUpdate) MessageInfo() MessageInfo

func (*SetDriftRapidUpdate) PGNNumber

func (m *SetDriftRapidUpdate) PGNNumber() uint32

func (*SetDriftRapidUpdate) SetDriftValue

func (m *SetDriftRapidUpdate) SetDriftValue(v float64)

SetDriftValue sets Drift from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*SetDriftRapidUpdate) SetMessageInfo

func (m *SetDriftRapidUpdate) SetMessageInfo(info MessageInfo)

func (*SetDriftRapidUpdate) SetSetValue

func (m *SetDriftRapidUpdate) SetSetValue(v float64)

SetSetValue sets Set from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SetDriftRapidUpdate) SetValue

func (m *SetDriftRapidUpdate) SetValue() (float64, bool)

SetValue returns Set as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type SetPressure

type SetPressure struct {
	Info     MessageInfo `json:"info"`
	Sid      *uint64     `json:"sid,omitempty" n2k:"1"`
	Instance *uint64     `json:"instance,omitempty" n2k:"2"`
	Source   *uint64     `json:"source,omitempty" n2k:"3"`
	Pressure *int64      `json:"pressure,omitempty" n2k:"4"`
}

func (*SetPressure) Clone added in v1.3.0

func (m *SetPressure) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SetPressure) DecodePayload

func (m *SetPressure) DecodePayload(payload []uint8) error

func (*SetPressure) EncodePayload

func (m *SetPressure) EncodePayload() ([]uint8, error)

func (*SetPressure) MessageInfo

func (m *SetPressure) MessageInfo() MessageInfo

func (*SetPressure) PGNNumber

func (m *SetPressure) PGNNumber() uint32

func (*SetPressure) PressureValue

func (m *SetPressure) PressureValue() (float64, bool)

PressureValue returns Pressure as a physical value in Pa (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SetPressure) SetMessageInfo

func (m *SetPressure) SetMessageInfo(info MessageInfo)

func (*SetPressure) SetPressureValue

func (m *SetPressure) SetPressureValue(v float64)

SetPressureValue sets Pressure from a physical value in Pa, rounded to the nearest wire tick of 0.1.

type ShipTypeConst

type ShipTypeConst uint8
const (
	ShipTypeUnavailable                                         ShipTypeConst = 0
	ShipTypeWingInGround                                        ShipTypeConst = 20
	ShipTypeWingInGroundHazardCatX                              ShipTypeConst = 21
	ShipTypeWingInGroundHazardCatY                              ShipTypeConst = 22
	ShipTypeWingInGroundHazardCatZ                              ShipTypeConst = 23
	ShipTypeWingInGroundHazardCatOS                             ShipTypeConst = 24
	ShipTypeWingInGroundNoAdditionalInformation                 ShipTypeConst = 29
	ShipTypeFishing                                             ShipTypeConst = 30
	ShipTypeTowing                                              ShipTypeConst = 31
	ShipTypeTowingExceeds200mOrWiderThan25m                     ShipTypeConst = 32
	ShipTypeEngagedInDredgingOrUnderwaterOperations             ShipTypeConst = 33
	ShipTypeEngagedInDivingOperations                           ShipTypeConst = 34
	ShipTypeEngagedInMilitaryOperations                         ShipTypeConst = 35
	ShipTypeSailing                                             ShipTypeConst = 36
	ShipTypePleasure                                            ShipTypeConst = 37
	ShipTypeHighSpeedCraft                                      ShipTypeConst = 40
	ShipTypeHighSpeedCraftHazardCatX                            ShipTypeConst = 41
	ShipTypeHighSpeedCraftHazardCatY                            ShipTypeConst = 42
	ShipTypeHighSpeedCraftHazardCatZ                            ShipTypeConst = 43
	ShipTypeHighSpeedCraftHazardCatOS                           ShipTypeConst = 44
	ShipTypeHighSpeedCraftNoAdditionalInformation               ShipTypeConst = 49
	ShipTypePilotVessel                                         ShipTypeConst = 50
	ShipTypeSAR                                                 ShipTypeConst = 51
	ShipTypeTug                                                 ShipTypeConst = 52
	ShipTypePortTender                                          ShipTypeConst = 53
	ShipTypeAntiPollution                                       ShipTypeConst = 54
	ShipTypeLawEnforcement                                      ShipTypeConst = 55
	ShipTypeSpare                                               ShipTypeConst = 56
	ShipTypeSpare2                                              ShipTypeConst = 57
	ShipTypeMedical                                             ShipTypeConst = 58
	ShipTypeShipsAndAircraftOfStatesNotPartiesToAnArmedConflict ShipTypeConst = 59
	ShipTypePassengerShip                                       ShipTypeConst = 60
	ShipTypePassengerShipHazardCatX                             ShipTypeConst = 61
	ShipTypePassengerShipHazardCatY                             ShipTypeConst = 62
	ShipTypePassengerShipHazardCatZ                             ShipTypeConst = 63
	ShipTypePassengerShipHazardCatOS                            ShipTypeConst = 64
	ShipTypePassengerShipNoAdditionalInformation                ShipTypeConst = 69
	ShipTypeCargoShip                                           ShipTypeConst = 70
	ShipTypeCargoShipHazardCatX                                 ShipTypeConst = 71
	ShipTypeCargoShipHazardCatY                                 ShipTypeConst = 72
	ShipTypeCargoShipHazardCatZ                                 ShipTypeConst = 73
	ShipTypeCargoShipHazardCatOS                                ShipTypeConst = 74
	ShipTypeCargoShipNoAdditionalInformation                    ShipTypeConst = 79
	ShipTypeTanker                                              ShipTypeConst = 80
	ShipTypeTankerHazardCatX                                    ShipTypeConst = 81
	ShipTypeTankerHazardCatY                                    ShipTypeConst = 82
	ShipTypeTankerHazardCatZ                                    ShipTypeConst = 83
	ShipTypeTankerHazardCatOS                                   ShipTypeConst = 84
	ShipTypeTankerNoAdditionalInformation                       ShipTypeConst = 89
	ShipTypeOther                                               ShipTypeConst = 90
	ShipTypeOtherHazardCatX                                     ShipTypeConst = 91
	ShipTypeOtherHazardCatY                                     ShipTypeConst = 92
	ShipTypeOtherHazardCatZ                                     ShipTypeConst = 93
	ShipTypeOtherHazardCatOS                                    ShipTypeConst = 94
	ShipTypeOtherNoAdditionalInformation                        ShipTypeConst = 99
)

func (ShipTypeConst) GoString

func (e ShipTypeConst) GoString() string

func (ShipTypeConst) String

func (e ShipTypeConst) String() string

type SimnetAisClassBStaticDataMsg24PartA

type SimnetAisClassBStaticDataMsg24PartA struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	RepeatIndicator  *uint64     `json:"repeatIndicator,omitempty" n2k:"5"`
	D                *uint64     `json:"d,omitempty" n2k:"6"`
	E                *uint64     `json:"e,omitempty" n2k:"7"`
	UserId           *uint64     `json:"userId,omitempty" n2k:"8"`
	Name             string      `json:"name,omitempty" n2k:"9"`
}

func (*SimnetAisClassBStaticDataMsg24PartA) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetAisClassBStaticDataMsg24PartA) DecodePayload

func (m *SimnetAisClassBStaticDataMsg24PartA) DecodePayload(payload []uint8) error

func (*SimnetAisClassBStaticDataMsg24PartA) EncodePayload

func (m *SimnetAisClassBStaticDataMsg24PartA) EncodePayload() ([]uint8, error)

func (*SimnetAisClassBStaticDataMsg24PartA) MessageInfo

func (*SimnetAisClassBStaticDataMsg24PartA) PGNNumber

func (*SimnetAisClassBStaticDataMsg24PartA) SetMessageInfo

func (m *SimnetAisClassBStaticDataMsg24PartA) SetMessageInfo(info MessageInfo)

type SimnetAisClassBStaticDataMsg24PartB

type SimnetAisClassBStaticDataMsg24PartB struct {
	Info                           MessageInfo `json:"info"`
	ManufacturerCode               *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode                   *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId                      *uint64     `json:"messageId,omitempty" n2k:"4"`
	RepeatIndicator                *uint64     `json:"repeatIndicator,omitempty" n2k:"5"`
	D                              *uint64     `json:"d,omitempty" n2k:"6"`
	E                              *uint64     `json:"e,omitempty" n2k:"7"`
	UserId                         *uint64     `json:"userId,omitempty" n2k:"8"`
	TypeOfShip                     *uint64     `json:"typeOfShip,omitempty" n2k:"9"`
	VendorId                       string      `json:"vendorId,omitempty" n2k:"10"`
	Callsign                       string      `json:"callsign,omitempty" n2k:"11"`
	Length                         *uint64     `json:"length,omitempty" n2k:"12"`
	Beam                           *uint64     `json:"beam,omitempty" n2k:"13"`
	PositionReferenceFromStarboard *uint64     `json:"positionReferenceFromStarboard,omitempty" n2k:"14"`
	PositionReferenceFromBow       *uint64     `json:"positionReferenceFromBow,omitempty" n2k:"15"`
	MothershipUserId               *uint64     `json:"mothershipUserId,omitempty" n2k:"16"`
}

func (*SimnetAisClassBStaticDataMsg24PartB) BeamValue

BeamValue returns Beam as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetAisClassBStaticDataMsg24PartB) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetAisClassBStaticDataMsg24PartB) DecodePayload

func (m *SimnetAisClassBStaticDataMsg24PartB) DecodePayload(payload []uint8) error

func (*SimnetAisClassBStaticDataMsg24PartB) EncodePayload

func (m *SimnetAisClassBStaticDataMsg24PartB) EncodePayload() ([]uint8, error)

func (*SimnetAisClassBStaticDataMsg24PartB) LengthValue

func (m *SimnetAisClassBStaticDataMsg24PartB) LengthValue() (float64, bool)

LengthValue returns Length as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetAisClassBStaticDataMsg24PartB) MessageInfo

func (*SimnetAisClassBStaticDataMsg24PartB) PGNNumber

func (*SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue

func (m *SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromBowValue() (float64, bool)

PositionReferenceFromBowValue returns PositionReferenceFromBow as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue

func (m *SimnetAisClassBStaticDataMsg24PartB) PositionReferenceFromStarboardValue() (float64, bool)

PositionReferenceFromStarboardValue returns PositionReferenceFromStarboard as a physical value in m (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetAisClassBStaticDataMsg24PartB) SetBeamValue

func (m *SimnetAisClassBStaticDataMsg24PartB) SetBeamValue(v float64)

SetBeamValue sets Beam from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*SimnetAisClassBStaticDataMsg24PartB) SetLengthValue

func (m *SimnetAisClassBStaticDataMsg24PartB) SetLengthValue(v float64)

SetLengthValue sets Length from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*SimnetAisClassBStaticDataMsg24PartB) SetMessageInfo

func (m *SimnetAisClassBStaticDataMsg24PartB) SetMessageInfo(info MessageInfo)

func (*SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue

func (m *SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromBowValue(v float64)

SetPositionReferenceFromBowValue sets PositionReferenceFromBow from a physical value in m, rounded to the nearest wire tick of 0.1.

func (*SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue

func (m *SimnetAisClassBStaticDataMsg24PartB) SetPositionReferenceFromStarboardValue(v float64)

SetPositionReferenceFromStarboardValue sets PositionReferenceFromStarboard from a physical value in m, rounded to the nearest wire tick of 0.1.

type SimnetAisSilentMode

type SimnetAisSilentMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	MessageId        *uint64     `json:"messageId,omitempty" n2k:"4"`
	Operation        *uint64     `json:"operation,omitempty" n2k:"5"`
	D                *uint64     `json:"d,omitempty" n2k:"6"`
	E                *uint64     `json:"e,omitempty" n2k:"7"`
}

func (*SimnetAisSilentMode) Clone added in v1.3.0

func (m *SimnetAisSilentMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetAisSilentMode) DecodePayload

func (m *SimnetAisSilentMode) DecodePayload(payload []uint8) error

func (*SimnetAisSilentMode) EncodePayload

func (m *SimnetAisSilentMode) EncodePayload() ([]uint8, error)

func (*SimnetAisSilentMode) MessageInfo

func (m *SimnetAisSilentMode) MessageInfo() MessageInfo

func (*SimnetAisSilentMode) PGNNumber

func (m *SimnetAisSilentMode) PGNNumber() uint32

func (*SimnetAisSilentMode) SetMessageInfo

func (m *SimnetAisSilentMode) SetMessageInfo(info MessageInfo)

type SimnetAlarm

type SimnetAlarm struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	EventType        *uint64     `json:"eventType,omitempty" n2k:"7"`
	Command          *uint64     `json:"command,omitempty" n2k:"8"`
	AlarmId          *uint64     `json:"alarmId,omitempty" n2k:"10"`
	F                *uint64     `json:"f,omitempty" n2k:"11"`
	G                *uint64     `json:"g,omitempty" n2k:"12"`
}

func (*SimnetAlarm) Clone added in v1.3.0

func (m *SimnetAlarm) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetAlarm) DecodePayload

func (m *SimnetAlarm) DecodePayload(payload []uint8) error

func (*SimnetAlarm) EncodePayload

func (m *SimnetAlarm) EncodePayload() ([]uint8, error)

func (*SimnetAlarm) MessageInfo

func (m *SimnetAlarm) MessageInfo() MessageInfo

func (*SimnetAlarm) PGNNumber

func (m *SimnetAlarm) PGNNumber() uint32

func (*SimnetAlarm) SetMessageInfo

func (m *SimnetAlarm) SetMessageInfo(info MessageInfo)

type SimnetAlarmCommandConst added in v1.3.0

type SimnetAlarmCommandConst uint8
const (
	SimnetAlarmCommandDeactivate      SimnetAlarmCommandConst = 56
	SimnetAlarmCommandActivate        SimnetAlarmCommandConst = 57
	SimnetAlarmCommandAcknowledge     SimnetAlarmCommandConst = 58
	SimnetAlarmCommandSilence         SimnetAlarmCommandConst = 68
	SimnetAlarmCommandTackGybeConfirm SimnetAlarmCommandConst = 88
	SimnetAlarmCommandAlarmHistory    SimnetAlarmCommandConst = 104
	SimnetAlarmCommandMOBActivated    SimnetAlarmCommandConst = 107
	SimnetAlarmCommandMOBCancelled    SimnetAlarmCommandConst = 108
)

func (SimnetAlarmCommandConst) GoString added in v1.3.0

func (e SimnetAlarmCommandConst) GoString() string

func (SimnetAlarmCommandConst) String added in v1.3.0

func (e SimnetAlarmCommandConst) String() string

type SimnetAlarmIdConst added in v1.3.0

type SimnetAlarmIdConst uint16
const (
	SimnetAlarmIdShallowWater                      SimnetAlarmIdConst = 10
	SimnetAlarmIdDeepWater                         SimnetAlarmIdConst = 11
	SimnetAlarmIdAnchorDepth                       SimnetAlarmIdConst = 12
	SimnetAlarmIdTrueWindShift                     SimnetAlarmIdConst = 13
	SimnetAlarmIdTrueWindHigh                      SimnetAlarmIdConst = 14
	SimnetAlarmIdTrueWindLow                       SimnetAlarmIdConst = 15
	SimnetAlarmIdLowBoatSpeed                      SimnetAlarmIdConst = 16
	SimnetAlarmIdHighVoltage                       SimnetAlarmIdConst = 17
	SimnetAlarmIdLowVoltage                        SimnetAlarmIdConst = 18
	SimnetAlarmIdDepthDataMissing                  SimnetAlarmIdConst = 19
	SimnetAlarmIdWindDataMissing                   SimnetAlarmIdConst = 20
	SimnetAlarmIdNavDataMissing                    SimnetAlarmIdConst = 21
	SimnetAlarmIdHeadingMissing                    SimnetAlarmIdConst = 22
	SimnetAlarmIdXTE                               SimnetAlarmIdConst = 23
	SimnetAlarmIdRudderDataMissing                 SimnetAlarmIdConst = 24
	SimnetAlarmIdRudderControllerFault             SimnetAlarmIdConst = 25
	SimnetAlarmIdNoRudderResponse                  SimnetAlarmIdConst = 26
	SimnetAlarmIdRudderDriveOverload               SimnetAlarmIdConst = 27
	SimnetAlarmIdHighInternalTemperature           SimnetAlarmIdConst = 28
	SimnetAlarmIdAPClutchOverload                  SimnetAlarmIdConst = 29
	SimnetAlarmIdAPClutchDisengaged                SimnetAlarmIdConst = 30
	SimnetAlarmIdHighDriveSupply                   SimnetAlarmIdConst = 31
	SimnetAlarmIdLowDriveSupply                    SimnetAlarmIdConst = 32
	SimnetAlarmIdNoActiveAutopilotControlUnit      SimnetAlarmIdConst = 33
	SimnetAlarmIdNoAutopilotComputer               SimnetAlarmIdConst = 34
	SimnetAlarmIdMemoryFail                        SimnetAlarmIdConst = 35
	SimnetAlarmIdWaterTempMissing                  SimnetAlarmIdConst = 36
	SimnetAlarmIdLowWaterTemp                      SimnetAlarmIdConst = 37
	SimnetAlarmIdHighWaterTemp                     SimnetAlarmIdConst = 38
	SimnetAlarmIdWaterTempRate                     SimnetAlarmIdConst = 39
	SimnetAlarmIdFish                              SimnetAlarmIdConst = 40
	SimnetAlarmIdNoGPSFix                          SimnetAlarmIdConst = 41
	SimnetAlarmIdWAASDGPS                          SimnetAlarmIdConst = 42
	SimnetAlarmIdArrival                           SimnetAlarmIdConst = 45
	SimnetAlarmIdAnchor                            SimnetAlarmIdConst = 46
	SimnetAlarmIdFuelLow                           SimnetAlarmIdConst = 47
	SimnetAlarmIdFuelHigh                          SimnetAlarmIdConst = 48
	SimnetAlarmIdTankLow                           SimnetAlarmIdConst = 49
	SimnetAlarmIdTankHigh                          SimnetAlarmIdConst = 50
	SimnetAlarmIdBEP                               SimnetAlarmIdConst = 51
	SimnetAlarmIdWaypointRadius                    SimnetAlarmIdConst = 52
	SimnetAlarmIdCPA                               SimnetAlarmIdConst = 53
	SimnetAlarmIdAISRangeToVessel                  SimnetAlarmIdConst = 54
	SimnetAlarmIdAISVesselLost                     SimnetAlarmIdConst = 55
	SimnetAlarmIdVesselMessage                     SimnetAlarmIdConst = 56
	SimnetAlarmIdLightning                         SimnetAlarmIdConst = 57
	SimnetAlarmIdSevereWeather                     SimnetAlarmIdConst = 58
	SimnetAlarmIdStorm                             SimnetAlarmIdConst = 59
	SimnetAlarmIdEngineCheck                       SimnetAlarmIdConst = 61
	SimnetAlarmIdEngineOverTemperature             SimnetAlarmIdConst = 62
	SimnetAlarmIdEngineLowOilPressure              SimnetAlarmIdConst = 63
	SimnetAlarmIdEngineLowOilLevel                 SimnetAlarmIdConst = 64
	SimnetAlarmIdEngineLowFuelPressure             SimnetAlarmIdConst = 65
	SimnetAlarmIdEngineLowVoltage                  SimnetAlarmIdConst = 66
	SimnetAlarmIdEngineLowCoolantLevel             SimnetAlarmIdConst = 67
	SimnetAlarmIdEngineWaterFlow                   SimnetAlarmIdConst = 68
	SimnetAlarmIdEngineWaterInFuel                 SimnetAlarmIdConst = 69
	SimnetAlarmIdEngineCharge                      SimnetAlarmIdConst = 70
	SimnetAlarmIdEnginePreheat                     SimnetAlarmIdConst = 71
	SimnetAlarmIdEngineHighBoostPressure           SimnetAlarmIdConst = 72
	SimnetAlarmIdEngineRevLimit                    SimnetAlarmIdConst = 73
	SimnetAlarmIdEngineEGRSystem                   SimnetAlarmIdConst = 74
	SimnetAlarmIdEngineThrottlePosition            SimnetAlarmIdConst = 75
	SimnetAlarmIdEngineEmergencyStop               SimnetAlarmIdConst = 76
	SimnetAlarmIdEngineWarningLevel1               SimnetAlarmIdConst = 77
	SimnetAlarmIdEngineWarningLevel2               SimnetAlarmIdConst = 78
	SimnetAlarmIdEnginePowerReduction              SimnetAlarmIdConst = 79
	SimnetAlarmIdEngineMaintenance                 SimnetAlarmIdConst = 80
	SimnetAlarmIdEngineCommError                   SimnetAlarmIdConst = 81
	SimnetAlarmIdEngineThrottle                    SimnetAlarmIdConst = 82
	SimnetAlarmIdEngineStartProtect                SimnetAlarmIdConst = 83
	SimnetAlarmIdEngineShuttingDown                SimnetAlarmIdConst = 84
	SimnetAlarmIdTransmissionCheck                 SimnetAlarmIdConst = 85
	SimnetAlarmIdTransmissionOverTemperature       SimnetAlarmIdConst = 86
	SimnetAlarmIdTransmissionLowOilPressure        SimnetAlarmIdConst = 87
	SimnetAlarmIdTransmissionLowOilLevel           SimnetAlarmIdConst = 88
	SimnetAlarmIdSailDrive                         SimnetAlarmIdConst = 89
	SimnetAlarmIdFreshWaterLow                     SimnetAlarmIdConst = 96
	SimnetAlarmIdFreshWaterHigh                    SimnetAlarmIdConst = 97
	SimnetAlarmIdGrayWaterLow                      SimnetAlarmIdConst = 98
	SimnetAlarmIdGrayWaterHigh                     SimnetAlarmIdConst = 99
	SimnetAlarmIdLiveWellLow                       SimnetAlarmIdConst = 100
	SimnetAlarmIdLiveWellHigh                      SimnetAlarmIdConst = 101
	SimnetAlarmIdOilLow                            SimnetAlarmIdConst = 102
	SimnetAlarmIdOilHigh                           SimnetAlarmIdConst = 103
	SimnetAlarmIdBlackWaterLow                     SimnetAlarmIdConst = 104
	SimnetAlarmIdBlackWaterHigh                    SimnetAlarmIdConst = 105
	SimnetAlarmIdWeatherDataMissing                SimnetAlarmIdConst = 106
	SimnetAlarmIdAPPositionDataMissing             SimnetAlarmIdConst = 107
	SimnetAlarmIdAPSpeedDataMissing                SimnetAlarmIdConst = 108
	SimnetAlarmIdAPDepthDataMissing                SimnetAlarmIdConst = 109
	SimnetAlarmIdAPHeadingDataMissing              SimnetAlarmIdConst = 110
	SimnetAlarmIdAPNavDataMissing                  SimnetAlarmIdConst = 111
	SimnetAlarmIdAPOffCourse                       SimnetAlarmIdConst = 112
	SimnetAlarmIdAPRudderDataMissing               SimnetAlarmIdConst = 113
	SimnetAlarmIdAPWindDataMissing                 SimnetAlarmIdConst = 114
	SimnetAlarmIdRadarGuardZone                    SimnetAlarmIdConst = 115
	SimnetAlarmIdMARPATargetLost                   SimnetAlarmIdConst = 116
	SimnetAlarmIdMARPAUnavailable                  SimnetAlarmIdConst = 117
	SimnetAlarmIdDangerousVessel                   SimnetAlarmIdConst = 118
	SimnetAlarmIdRadarError                        SimnetAlarmIdConst = 119
	SimnetAlarmIdCZoneCritical                     SimnetAlarmIdConst = 120
	SimnetAlarmIdCZoneImportant                    SimnetAlarmIdConst = 121
	SimnetAlarmIdCZoneStandard                     SimnetAlarmIdConst = 122
	SimnetAlarmIdCZoneWarning                      SimnetAlarmIdConst = 123
	SimnetAlarmIdTrueWindShiftValue124             SimnetAlarmIdConst = 124
	SimnetAlarmIdEVCComError                       SimnetAlarmIdConst = 125
	SimnetAlarmIdEVCOverride                       SimnetAlarmIdConst = 126
	SimnetAlarmIdHighDriveTemperature              SimnetAlarmIdConst = 127
	SimnetAlarmIdDriveInhibit                      SimnetAlarmIdConst = 128
	SimnetAlarmIdCANBusSupplyOverload              SimnetAlarmIdConst = 129
	SimnetAlarmIdDriveRefVoltageMissing            SimnetAlarmIdConst = 130
	SimnetAlarmIdRudderLimit                       SimnetAlarmIdConst = 131
	SimnetAlarmIdCompassDifference                 SimnetAlarmIdConst = 132
	SimnetAlarmIdAPLowBoatSpeed                    SimnetAlarmIdConst = 133
	SimnetAlarmIdMonitorCompassMissing             SimnetAlarmIdConst = 134
	SimnetAlarmIdCrossTrackDistanceLimit           SimnetAlarmIdConst = 135
	SimnetAlarmIdEndOfRoute                        SimnetAlarmIdConst = 137
	SimnetAlarmIdCompassAlignment                  SimnetAlarmIdConst = 138
	SimnetAlarmIdRAIM                              SimnetAlarmIdConst = 139
	SimnetAlarmIdOffHeading                        SimnetAlarmIdConst = 141
	SimnetAlarmIdSupplyVoltage                     SimnetAlarmIdConst = 142
	SimnetAlarmIdLowCANBusVoltage                  SimnetAlarmIdConst = 143
	SimnetAlarmIdCANBusFailure                     SimnetAlarmIdConst = 144
	SimnetAlarmIdDriveReadyMissing                 SimnetAlarmIdConst = 145
	SimnetAlarmIdDriveComputerMissing              SimnetAlarmIdConst = 146
	SimnetAlarmIdExternalModeIllegal               SimnetAlarmIdConst = 147
	SimnetAlarmIdRudderTooSlow                     SimnetAlarmIdConst = 148
	SimnetAlarmIdWheelOver                         SimnetAlarmIdConst = 149
	SimnetAlarmIdThrusterInhibited                 SimnetAlarmIdConst = 150
	SimnetAlarmIdCheckHeading                      SimnetAlarmIdConst = 151
	SimnetAlarmIdTrueWindSpeedHigh                 SimnetAlarmIdConst = 152
	SimnetAlarmIdOverride                          SimnetAlarmIdConst = 153
	SimnetAlarmIdSpeedThroughWaterRationalityFault SimnetAlarmIdConst = 154
	SimnetAlarmIdNoDrivesAvailable                 SimnetAlarmIdConst = 155
	SimnetAlarmIdFuelRemainingLow                  SimnetAlarmIdConst = 156
	SimnetAlarmIdFuelRemainingHigh                 SimnetAlarmIdConst = 157
	SimnetAlarmIdGeneratorCheck                    SimnetAlarmIdConst = 158
	SimnetAlarmIdGeneratorOverTemperature          SimnetAlarmIdConst = 159
	SimnetAlarmIdGeneratorLowOilPressure           SimnetAlarmIdConst = 160
	SimnetAlarmIdGeneratorLowOilLevel              SimnetAlarmIdConst = 161
	SimnetAlarmIdGeneratorLowFuelPressure          SimnetAlarmIdConst = 162
	SimnetAlarmIdGeneratorLowVoltage               SimnetAlarmIdConst = 163
	SimnetAlarmIdGeneratorLowCoolantLevel          SimnetAlarmIdConst = 164
	SimnetAlarmIdGeneratorWaterFlow                SimnetAlarmIdConst = 165
	SimnetAlarmIdGeneratorWaterInFuel              SimnetAlarmIdConst = 166
	SimnetAlarmIdGeneratorCharge                   SimnetAlarmIdConst = 167
	SimnetAlarmIdGeneratorPreheat                  SimnetAlarmIdConst = 168
	SimnetAlarmIdGeneratorHighBoostPressure        SimnetAlarmIdConst = 169
	SimnetAlarmIdGeneratorRevLimit                 SimnetAlarmIdConst = 170
	SimnetAlarmIdGeneratorEGRSystem                SimnetAlarmIdConst = 171
	SimnetAlarmIdGeneratorThrottlePosition         SimnetAlarmIdConst = 172
	SimnetAlarmIdGeneratorEmergencyStop            SimnetAlarmIdConst = 173
	SimnetAlarmIdGeneratorWarningLevel1            SimnetAlarmIdConst = 174
	SimnetAlarmIdGeneratorWarningLevel2            SimnetAlarmIdConst = 175
	SimnetAlarmIdGeneratorPowerReduction           SimnetAlarmIdConst = 176
	SimnetAlarmIdGeneratorMaintenance              SimnetAlarmIdConst = 177
	SimnetAlarmIdGeneratorCommError                SimnetAlarmIdConst = 178
	SimnetAlarmIdGeneratorThrottle                 SimnetAlarmIdConst = 179
	SimnetAlarmIdGeneratorStartProtect             SimnetAlarmIdConst = 180
	SimnetAlarmIdGeneratorShuttingDown             SimnetAlarmIdConst = 181
	SimnetAlarmIdShallowAftDepth                   SimnetAlarmIdConst = 182
	SimnetAlarmIdForwardRange                      SimnetAlarmIdConst = 183
	SimnetAlarmIdAlarmSourceMissing                SimnetAlarmIdConst = 245
	SimnetAlarmIdExternal                          SimnetAlarmIdConst = 246
	SimnetAlarmIdEVCComErrorValue247               SimnetAlarmIdConst = 247
	SimnetAlarmIdWindSensorBatteryLow              SimnetAlarmIdConst = 248
	SimnetAlarmIdGasolineLow                       SimnetAlarmIdConst = 266
	SimnetAlarmIdGasolineHigh                      SimnetAlarmIdConst = 267
	SimnetAlarmIdChargingSystem                    SimnetAlarmIdConst = 268
	SimnetAlarmIdSeawaterFlow                      SimnetAlarmIdConst = 269
	SimnetAlarmIdWaterInDriveSeal                  SimnetAlarmIdConst = 270
	SimnetAlarmIdTurnover                          SimnetAlarmIdConst = 272
	SimnetAlarmIdHelmECUDetectFailure              SimnetAlarmIdConst = 273
	SimnetAlarmIdJoystickECUDetectFailure          SimnetAlarmIdConst = 274
	SimnetAlarmIdDriveECUDetectFailure             SimnetAlarmIdConst = 275
	SimnetAlarmIdHotTransmission                   SimnetAlarmIdConst = 276
	SimnetAlarmIdLowGearOilPressure                SimnetAlarmIdConst = 277
	SimnetAlarmIdLowDriveLubOilLevel               SimnetAlarmIdConst = 278
	SimnetAlarmIdCheckThermostat                   SimnetAlarmIdConst = 285
	SimnetAlarmIdTrackOffsetActive                 SimnetAlarmIdConst = 287
	SimnetAlarmIdNavigationNotSupported            SimnetAlarmIdConst = 385
)

func (SimnetAlarmIdConst) GoString added in v1.3.0

func (e SimnetAlarmIdConst) GoString() string

func (SimnetAlarmIdConst) String added in v1.3.0

func (e SimnetAlarmIdConst) String() string

type SimnetAlarmMessage

type SimnetAlarmMessage struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AlarmId          *uint64     `json:"alarmId,omitempty" n2k:"4"`
	B                *uint64     `json:"b,omitempty" n2k:"5"`
	C                *uint64     `json:"c,omitempty" n2k:"6"`
	Text             string      `json:"text,omitempty" n2k:"7"`
}

func (*SimnetAlarmMessage) Clone added in v1.3.0

func (m *SimnetAlarmMessage) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetAlarmMessage) DecodePayload

func (m *SimnetAlarmMessage) DecodePayload(payload []uint8) error

func (*SimnetAlarmMessage) EncodePayload

func (m *SimnetAlarmMessage) EncodePayload() ([]uint8, error)

func (*SimnetAlarmMessage) MessageInfo

func (m *SimnetAlarmMessage) MessageInfo() MessageInfo

func (*SimnetAlarmMessage) PGNNumber

func (m *SimnetAlarmMessage) PGNNumber() uint32

func (*SimnetAlarmMessage) SetMessageInfo

func (m *SimnetAlarmMessage) SetMessageInfo(info MessageInfo)

type SimnetAlertBitfieldConst

type SimnetAlertBitfieldConst uint64
const (
	SimnetAlertBitfieldNoGPSFix                     SimnetAlertBitfieldConst = 1
	SimnetAlertBitfieldNoActiveAutopilotControlUnit SimnetAlertBitfieldConst = 4
	SimnetAlertBitfieldNoAutopilotComputer          SimnetAlertBitfieldConst = 16
	SimnetAlertBitfieldAPClutchOverload             SimnetAlertBitfieldConst = 64
	SimnetAlertBitfieldAPClutchDisengaged           SimnetAlertBitfieldConst = 256
	SimnetAlertBitfieldRudderControllerFault        SimnetAlertBitfieldConst = 1024
	SimnetAlertBitfieldNoRudderResponse             SimnetAlertBitfieldConst = 4096
	SimnetAlertBitfieldRudderDriveOverload          SimnetAlertBitfieldConst = 16384
	SimnetAlertBitfieldHighDriveSupply              SimnetAlertBitfieldConst = 65536
	SimnetAlertBitfieldLowDriveSupply               SimnetAlertBitfieldConst = 262144
	SimnetAlertBitfieldMemoryFail                   SimnetAlertBitfieldConst = 1048576
	SimnetAlertBitfieldAPPositionDataMissing        SimnetAlertBitfieldConst = 4194304
	SimnetAlertBitfieldAPSpeedDataMissing           SimnetAlertBitfieldConst = 16777216
	SimnetAlertBitfieldAPDepthDataMissing           SimnetAlertBitfieldConst = 67108864
	SimnetAlertBitfieldAPHeadingDataMissing         SimnetAlertBitfieldConst = 268435456
	SimnetAlertBitfieldAPNavDataMissing             SimnetAlertBitfieldConst = 1073741824
	SimnetAlertBitfieldAPRudderDataMissing          SimnetAlertBitfieldConst = 4294967296
	SimnetAlertBitfieldAPWindDataMissing            SimnetAlertBitfieldConst = 17179869184
	SimnetAlertBitfieldAPOffCourse                  SimnetAlertBitfieldConst = 68719476736
	SimnetAlertBitfieldHighDriveTemperature         SimnetAlertBitfieldConst = 274877906944
	SimnetAlertBitfieldDriveInhibit                 SimnetAlertBitfieldConst = 1099511627776
	SimnetAlertBitfieldRudderLimit                  SimnetAlertBitfieldConst = 4398046511104
	SimnetAlertBitfieldDriveComputerMissing         SimnetAlertBitfieldConst = 17592186044416
	SimnetAlertBitfieldDriveReadyMissing            SimnetAlertBitfieldConst = 70368744177664
	SimnetAlertBitfieldEVCComError                  SimnetAlertBitfieldConst = 281474976710656
	SimnetAlertBitfieldEVCOverride                  SimnetAlertBitfieldConst = 1125899906842624
	SimnetAlertBitfieldLowCANBusVoltage             SimnetAlertBitfieldConst = 4503599627370496
	SimnetAlertBitfieldCANBusSupplyOverload         SimnetAlertBitfieldConst = 18014398509481984
	SimnetAlertBitfieldWindSensorBatteryLow         SimnetAlertBitfieldConst = 72057594037927936
)

func (SimnetAlertBitfieldConst) GoString

func (e SimnetAlertBitfieldConst) GoString() string

func (SimnetAlertBitfieldConst) String

func (e SimnetAlertBitfieldConst) String() string

type SimnetAnalogTelemetry

type SimnetAnalogTelemetry struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	SubType          *uint64     `json:"subType,omitempty" n2k:"4"`
	Channel          *uint64     `json:"channel,omitempty" n2k:"5"`
	Value            *uint64     `json:"value,omitempty" n2k:"6"`
}

func (*SimnetAnalogTelemetry) Clone added in v1.3.0

func (m *SimnetAnalogTelemetry) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetAnalogTelemetry) DecodePayload

func (m *SimnetAnalogTelemetry) DecodePayload(payload []uint8) error

func (*SimnetAnalogTelemetry) EncodePayload

func (m *SimnetAnalogTelemetry) EncodePayload() ([]uint8, error)

func (*SimnetAnalogTelemetry) MessageInfo

func (m *SimnetAnalogTelemetry) MessageInfo() MessageInfo

func (*SimnetAnalogTelemetry) PGNNumber

func (m *SimnetAnalogTelemetry) PGNNumber() uint32

func (*SimnetAnalogTelemetry) SetMessageInfo

func (m *SimnetAnalogTelemetry) SetMessageInfo(info MessageInfo)

type SimnetApCommand

type SimnetApCommand struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
}

func (*SimnetApCommand) Clone added in v1.3.0

func (m *SimnetApCommand) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetApCommand) DecodePayload

func (m *SimnetApCommand) DecodePayload(payload []uint8) error

func (*SimnetApCommand) EncodePayload

func (m *SimnetApCommand) EncodePayload() ([]uint8, error)

func (*SimnetApCommand) MessageInfo

func (m *SimnetApCommand) MessageInfo() MessageInfo

func (*SimnetApCommand) PGNNumber

func (m *SimnetApCommand) PGNNumber() uint32

func (*SimnetApCommand) SetMessageInfo

func (m *SimnetApCommand) SetMessageInfo(info MessageInfo)

type SimnetApCommandReply

type SimnetApCommandReply struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
	D                *uint64     `json:"d,omitempty" n2k:"10"`
	Value            *uint64     `json:"value,omitempty" n2k:"11"`
}

func (*SimnetApCommandReply) Clone added in v1.3.0

func (m *SimnetApCommandReply) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetApCommandReply) DecodePayload

func (m *SimnetApCommandReply) DecodePayload(payload []uint8) error

func (*SimnetApCommandReply) EncodePayload

func (m *SimnetApCommandReply) EncodePayload() ([]uint8, error)

func (*SimnetApCommandReply) MessageInfo

func (m *SimnetApCommandReply) MessageInfo() MessageInfo

func (*SimnetApCommandReply) PGNNumber

func (m *SimnetApCommandReply) PGNNumber() uint32

func (*SimnetApCommandReply) SetMessageInfo

func (m *SimnetApCommandReply) SetMessageInfo(info MessageInfo)

type SimnetApCommandReplyChangeCourse

type SimnetApCommandReplyChangeCourse struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
	Direction        *uint64     `json:"direction,omitempty" n2k:"10"`
	Angle            *uint64     `json:"angle,omitempty" n2k:"11"`
}

func (*SimnetApCommandReplyChangeCourse) AngleValue

func (m *SimnetApCommandReplyChangeCourse) AngleValue() (float64, bool)

AngleValue returns Angle as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetApCommandReplyChangeCourse) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetApCommandReplyChangeCourse) DecodePayload

func (m *SimnetApCommandReplyChangeCourse) DecodePayload(payload []uint8) error

func (*SimnetApCommandReplyChangeCourse) EncodePayload

func (m *SimnetApCommandReplyChangeCourse) EncodePayload() ([]uint8, error)

func (*SimnetApCommandReplyChangeCourse) MessageInfo

func (*SimnetApCommandReplyChangeCourse) PGNNumber

func (*SimnetApCommandReplyChangeCourse) SetAngleValue

func (m *SimnetApCommandReplyChangeCourse) SetAngleValue(v float64)

SetAngleValue sets Angle from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SimnetApCommandReplyChangeCourse) SetMessageInfo

func (m *SimnetApCommandReplyChangeCourse) SetMessageInfo(info MessageInfo)

type SimnetApEventsConst

type SimnetApEventsConst uint8
const (
	SimnetApEventsFollowNonFollow  SimnetApEventsConst = 2
	SimnetApEventsStandby          SimnetApEventsConst = 6
	SimnetApEventsHeadingMode      SimnetApEventsConst = 9
	SimnetApEventsNavMode          SimnetApEventsConst = 10
	SimnetApEventsNoDriftMode      SimnetApEventsConst = 12
	SimnetApEventsNonFollowUpMode  SimnetApEventsConst = 13
	SimnetApEventsFollowUpMode     SimnetApEventsConst = 14
	SimnetApEventsWindMode         SimnetApEventsConst = 15
	SimnetApEventsTack             SimnetApEventsConst = 17
	SimnetApEventsSquareTurn       SimnetApEventsConst = 18
	SimnetApEventsCTurn            SimnetApEventsConst = 19
	SimnetApEventsUTurn            SimnetApEventsConst = 20
	SimnetApEventsSpiralTurn       SimnetApEventsConst = 21
	SimnetApEventsZigZagTurn       SimnetApEventsConst = 22
	SimnetApEventsLazySTurn        SimnetApEventsConst = 23
	SimnetApEventsDepthTurn        SimnetApEventsConst = 24
	SimnetApEventsChangeCourse     SimnetApEventsConst = 26
	SimnetApEventsTimerSync        SimnetApEventsConst = 61
	SimnetApEventsMOBActivated     SimnetApEventsConst = 107
	SimnetApEventsMOBDeactivated   SimnetApEventsConst = 108
	SimnetApEventsPingPortEnd      SimnetApEventsConst = 112
	SimnetApEventsPingStarboardEnd SimnetApEventsConst = 113
)

func (SimnetApEventsConst) GoString

func (e SimnetApEventsConst) GoString() string

func (SimnetApEventsConst) String

func (e SimnetApEventsConst) String() string

type SimnetApModeBitfieldConst

type SimnetApModeBitfieldConst uint16
const (
	SimnetApModeBitfieldStandby SimnetApModeBitfieldConst = 8
	SimnetApModeBitfieldHeading SimnetApModeBitfieldConst = 16
	SimnetApModeBitfieldNav     SimnetApModeBitfieldConst = 64
	SimnetApModeBitfieldNoDrift SimnetApModeBitfieldConst = 256
	SimnetApModeBitfieldWind    SimnetApModeBitfieldConst = 1024
)

func (SimnetApModeBitfieldConst) GoString

func (e SimnetApModeBitfieldConst) GoString() string

func (SimnetApModeBitfieldConst) String

func (e SimnetApModeBitfieldConst) String() string

type SimnetApModeConst

type SimnetApModeConst uint8
const (
	SimnetApModeHeading SimnetApModeConst = 2
	SimnetApModeWind    SimnetApModeConst = 3
	SimnetApModeNav     SimnetApModeConst = 10
	SimnetApModeNoDrift SimnetApModeConst = 11
)

func (SimnetApModeConst) GoString

func (e SimnetApModeConst) GoString() string

func (SimnetApModeConst) String

func (e SimnetApModeConst) String() string

type SimnetApStatusConst

type SimnetApStatusConst uint8
const (
	SimnetApStatusManual    SimnetApStatusConst = 2
	SimnetApStatusAutomatic SimnetApStatusConst = 16
)

func (SimnetApStatusConst) GoString

func (e SimnetApStatusConst) GoString() string

func (SimnetApStatusConst) String

func (e SimnetApStatusConst) String() string

type SimnetApUnknown1

type SimnetApUnknown1 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Type             *uint64     `json:"type,omitempty" n2k:"4"`
	Value            *uint64     `json:"value,omitempty" n2k:"5"`
}

func (*SimnetApUnknown1) Clone added in v1.3.0

func (m *SimnetApUnknown1) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetApUnknown1) DecodePayload

func (m *SimnetApUnknown1) DecodePayload(payload []uint8) error

func (*SimnetApUnknown1) EncodePayload

func (m *SimnetApUnknown1) EncodePayload() ([]uint8, error)

func (*SimnetApUnknown1) MessageInfo

func (m *SimnetApUnknown1) MessageInfo() MessageInfo

func (*SimnetApUnknown1) PGNNumber

func (m *SimnetApUnknown1) PGNNumber() uint32

func (*SimnetApUnknown1) SetMessageInfo

func (m *SimnetApUnknown1) SetMessageInfo(info MessageInfo)

type SimnetApUnknown3

type SimnetApUnknown3 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Value            *uint64     `json:"value,omitempty" n2k:"4"`
	C                *uint64     `json:"c,omitempty" n2k:"5"`
	D                *uint64     `json:"d,omitempty" n2k:"6"`
	SubIndex         *uint64     `json:"subIndex,omitempty" n2k:"7"`
}

func (*SimnetApUnknown3) Clone added in v1.3.0

func (m *SimnetApUnknown3) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetApUnknown3) DecodePayload

func (m *SimnetApUnknown3) DecodePayload(payload []uint8) error

func (*SimnetApUnknown3) EncodePayload

func (m *SimnetApUnknown3) EncodePayload() ([]uint8, error)

func (*SimnetApUnknown3) MessageInfo

func (m *SimnetApUnknown3) MessageInfo() MessageInfo

func (*SimnetApUnknown3) PGNNumber

func (m *SimnetApUnknown3) PGNNumber() uint32

func (*SimnetApUnknown3) SetMessageInfo

func (m *SimnetApUnknown3) SetMessageInfo(info MessageInfo)

type SimnetApUnknown4

type SimnetApUnknown4 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	A                *uint64     `json:"a,omitempty" n2k:"4"`
	B                *int64      `json:"b,omitempty" n2k:"5"`
	C                *int64      `json:"c,omitempty" n2k:"6"`
	D                *uint64     `json:"d,omitempty" n2k:"7"`
	E                *int64      `json:"e,omitempty" n2k:"8"`
	F                *uint64     `json:"f,omitempty" n2k:"9"`
}

func (*SimnetApUnknown4) Clone added in v1.3.0

func (m *SimnetApUnknown4) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetApUnknown4) DecodePayload

func (m *SimnetApUnknown4) DecodePayload(payload []uint8) error

func (*SimnetApUnknown4) EncodePayload

func (m *SimnetApUnknown4) EncodePayload() ([]uint8, error)

func (*SimnetApUnknown4) MessageInfo

func (m *SimnetApUnknown4) MessageInfo() MessageInfo

func (*SimnetApUnknown4) PGNNumber

func (m *SimnetApUnknown4) PGNNumber() uint32

func (*SimnetApUnknown4) SetMessageInfo

func (m *SimnetApUnknown4) SetMessageInfo(info MessageInfo)

type SimnetAutopilotAngle

type SimnetAutopilotAngle struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Mode             *uint64     `json:"mode,omitempty" n2k:"5"`
	Angle            *uint64     `json:"angle,omitempty" n2k:"7"`
}

func (*SimnetAutopilotAngle) AngleValue

func (m *SimnetAutopilotAngle) AngleValue() (float64, bool)

AngleValue returns Angle as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetAutopilotAngle) Clone added in v1.3.0

func (m *SimnetAutopilotAngle) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetAutopilotAngle) DecodePayload

func (m *SimnetAutopilotAngle) DecodePayload(payload []uint8) error

func (*SimnetAutopilotAngle) EncodePayload

func (m *SimnetAutopilotAngle) EncodePayload() ([]uint8, error)

func (*SimnetAutopilotAngle) MessageInfo

func (m *SimnetAutopilotAngle) MessageInfo() MessageInfo

func (*SimnetAutopilotAngle) PGNNumber

func (m *SimnetAutopilotAngle) PGNNumber() uint32

func (*SimnetAutopilotAngle) SetAngleValue

func (m *SimnetAutopilotAngle) SetAngleValue(v float64)

SetAngleValue sets Angle from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SimnetAutopilotAngle) SetMessageInfo

func (m *SimnetAutopilotAngle) SetMessageInfo(info MessageInfo)

type SimnetAutopilotMode

type SimnetAutopilotMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetAutopilotMode) Clone added in v1.3.0

func (m *SimnetAutopilotMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetAutopilotMode) DecodePayload

func (m *SimnetAutopilotMode) DecodePayload(payload []uint8) error

func (*SimnetAutopilotMode) EncodePayload

func (m *SimnetAutopilotMode) EncodePayload() ([]uint8, error)

func (*SimnetAutopilotMode) MessageInfo

func (m *SimnetAutopilotMode) MessageInfo() MessageInfo

func (*SimnetAutopilotMode) PGNNumber

func (m *SimnetAutopilotMode) PGNNumber() uint32

func (*SimnetAutopilotMode) SetMessageInfo

func (m *SimnetAutopilotMode) SetMessageInfo(info MessageInfo)

type SimnetAutopilotModeClassConst added in v1.3.0

type SimnetAutopilotModeClassConst uint8
const (
	SimnetAutopilotModeClassStandby SimnetAutopilotModeClassConst = 0
	SimnetAutopilotModeClassEngaged SimnetAutopilotModeClassConst = 16
)

func (SimnetAutopilotModeClassConst) GoString added in v1.3.0

func (SimnetAutopilotModeClassConst) String added in v1.3.0

type SimnetAutopilotModeConst added in v1.3.0

type SimnetAutopilotModeConst uint8
const (
	SimnetAutopilotModeStandby     SimnetAutopilotModeConst = 0
	SimnetAutopilotModeHeading     SimnetAutopilotModeConst = 1
	SimnetAutopilotModeMode4       SimnetAutopilotModeConst = 3
	SimnetAutopilotModeWind        SimnetAutopilotModeConst = 4
	SimnetAutopilotModeNonFollowUp SimnetAutopilotModeConst = 5
	SimnetAutopilotModeNavigation  SimnetAutopilotModeConst = 6
)

func (SimnetAutopilotModeConst) GoString added in v1.3.0

func (e SimnetAutopilotModeConst) GoString() string

func (SimnetAutopilotModeConst) String added in v1.3.0

func (e SimnetAutopilotModeConst) String() string

type SimnetAutopilotModeState

type SimnetAutopilotModeState struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ModeClass        *uint64     `json:"modeClass,omitempty" n2k:"4"`
	Mode             *uint64     `json:"mode,omitempty" n2k:"5"`
	C                *uint64     `json:"c,omitempty" n2k:"6"`
	D                *uint64     `json:"d,omitempty" n2k:"7"`
	Flags            *uint64     `json:"flags,omitempty" n2k:"9"`
}

func (*SimnetAutopilotModeState) Clone added in v1.3.0

func (m *SimnetAutopilotModeState) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetAutopilotModeState) DecodePayload

func (m *SimnetAutopilotModeState) DecodePayload(payload []uint8) error

func (*SimnetAutopilotModeState) EncodePayload

func (m *SimnetAutopilotModeState) EncodePayload() ([]uint8, error)

func (*SimnetAutopilotModeState) MessageInfo

func (m *SimnetAutopilotModeState) MessageInfo() MessageInfo

func (*SimnetAutopilotModeState) PGNNumber

func (m *SimnetAutopilotModeState) PGNNumber() uint32

func (*SimnetAutopilotModeState) SetMessageInfo

func (m *SimnetAutopilotModeState) SetMessageInfo(info MessageInfo)

type SimnetBacklightLevelConst

type SimnetBacklightLevelConst uint8
const (
	SimnetBacklightLevel10Min     SimnetBacklightLevelConst = 0
	SimnetBacklightLevelDayMode   SimnetBacklightLevelConst = 1
	SimnetBacklightLevelNightMode SimnetBacklightLevelConst = 4
	SimnetBacklightLevel20        SimnetBacklightLevelConst = 11
	SimnetBacklightLevel30        SimnetBacklightLevelConst = 22
	SimnetBacklightLevel40        SimnetBacklightLevelConst = 33
	SimnetBacklightLevel50        SimnetBacklightLevelConst = 44
	SimnetBacklightLevel60        SimnetBacklightLevelConst = 55
	SimnetBacklightLevel70        SimnetBacklightLevelConst = 66
	SimnetBacklightLevel80        SimnetBacklightLevelConst = 77
	SimnetBacklightLevel90        SimnetBacklightLevelConst = 88
	SimnetBacklightLevel100Max    SimnetBacklightLevelConst = 99
)

func (SimnetBacklightLevelConst) GoString

func (e SimnetBacklightLevelConst) GoString() string

func (SimnetBacklightLevelConst) String

func (e SimnetBacklightLevelConst) String() string

type SimnetBaroPressureUnitConst added in v1.3.0

type SimnetBaroPressureUnitConst uint8
const (
	SimnetBaroPressureUnitMillibar        SimnetBaroPressureUnitConst = 0
	SimnetBaroPressureUnitHectopascal     SimnetBaroPressureUnitConst = 2
	SimnetBaroPressureUnitInchesOfMercury SimnetBaroPressureUnitConst = 5
)

func (SimnetBaroPressureUnitConst) GoString added in v1.3.0

func (e SimnetBaroPressureUnitConst) GoString() string

func (SimnetBaroPressureUnitConst) String added in v1.3.0

type SimnetClearFluidLevelWarnings

type SimnetClearFluidLevelWarnings struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetClearFluidLevelWarnings) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetClearFluidLevelWarnings) DecodePayload

func (m *SimnetClearFluidLevelWarnings) DecodePayload(payload []uint8) error

func (*SimnetClearFluidLevelWarnings) EncodePayload

func (m *SimnetClearFluidLevelWarnings) EncodePayload() ([]uint8, error)

func (*SimnetClearFluidLevelWarnings) MessageInfo

func (m *SimnetClearFluidLevelWarnings) MessageInfo() MessageInfo

func (*SimnetClearFluidLevelWarnings) PGNNumber

func (m *SimnetClearFluidLevelWarnings) PGNNumber() uint32

func (*SimnetClearFluidLevelWarnings) SetMessageInfo

func (m *SimnetClearFluidLevelWarnings) SetMessageInfo(info MessageInfo)

type SimnetCommandApChangeCourse

type SimnetCommandApChangeCourse struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
	Direction        *uint64     `json:"direction,omitempty" n2k:"10"`
	Angle            *uint64     `json:"angle,omitempty" n2k:"11"`
}

func (*SimnetCommandApChangeCourse) AngleValue

func (m *SimnetCommandApChangeCourse) AngleValue() (float64, bool)

AngleValue returns Angle as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetCommandApChangeCourse) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetCommandApChangeCourse) DecodePayload

func (m *SimnetCommandApChangeCourse) DecodePayload(payload []uint8) error

func (*SimnetCommandApChangeCourse) EncodePayload

func (m *SimnetCommandApChangeCourse) EncodePayload() ([]uint8, error)

func (*SimnetCommandApChangeCourse) MessageInfo

func (m *SimnetCommandApChangeCourse) MessageInfo() MessageInfo

func (*SimnetCommandApChangeCourse) PGNNumber

func (m *SimnetCommandApChangeCourse) PGNNumber() uint32

func (*SimnetCommandApChangeCourse) SetAngleValue

func (m *SimnetCommandApChangeCourse) SetAngleValue(v float64)

SetAngleValue sets Angle from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*SimnetCommandApChangeCourse) SetMessageInfo

func (m *SimnetCommandApChangeCourse) SetMessageInfo(info MessageInfo)

type SimnetCommandApFollowUp

type SimnetCommandApFollowUp struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
}

func (*SimnetCommandApFollowUp) Clone added in v1.3.0

func (m *SimnetCommandApFollowUp) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetCommandApFollowUp) DecodePayload

func (m *SimnetCommandApFollowUp) DecodePayload(payload []uint8) error

func (*SimnetCommandApFollowUp) EncodePayload

func (m *SimnetCommandApFollowUp) EncodePayload() ([]uint8, error)

func (*SimnetCommandApFollowUp) MessageInfo

func (m *SimnetCommandApFollowUp) MessageInfo() MessageInfo

func (*SimnetCommandApFollowUp) PGNNumber

func (m *SimnetCommandApFollowUp) PGNNumber() uint32

func (*SimnetCommandApFollowUp) SetMessageInfo

func (m *SimnetCommandApFollowUp) SetMessageInfo(info MessageInfo)

type SimnetCommandApHeading

type SimnetCommandApHeading struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
}

func (*SimnetCommandApHeading) Clone added in v1.3.0

func (m *SimnetCommandApHeading) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetCommandApHeading) DecodePayload

func (m *SimnetCommandApHeading) DecodePayload(payload []uint8) error

func (*SimnetCommandApHeading) EncodePayload

func (m *SimnetCommandApHeading) EncodePayload() ([]uint8, error)

func (*SimnetCommandApHeading) MessageInfo

func (m *SimnetCommandApHeading) MessageInfo() MessageInfo

func (*SimnetCommandApHeading) PGNNumber

func (m *SimnetCommandApHeading) PGNNumber() uint32

func (*SimnetCommandApHeading) SetMessageInfo

func (m *SimnetCommandApHeading) SetMessageInfo(info MessageInfo)

type SimnetCommandApNav

type SimnetCommandApNav struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
}

func (*SimnetCommandApNav) Clone added in v1.3.0

func (m *SimnetCommandApNav) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetCommandApNav) DecodePayload

func (m *SimnetCommandApNav) DecodePayload(payload []uint8) error

func (*SimnetCommandApNav) EncodePayload

func (m *SimnetCommandApNav) EncodePayload() ([]uint8, error)

func (*SimnetCommandApNav) MessageInfo

func (m *SimnetCommandApNav) MessageInfo() MessageInfo

func (*SimnetCommandApNav) PGNNumber

func (m *SimnetCommandApNav) PGNNumber() uint32

func (*SimnetCommandApNav) SetMessageInfo

func (m *SimnetCommandApNav) SetMessageInfo(info MessageInfo)

type SimnetCommandApNodrift

type SimnetCommandApNodrift struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
}

func (*SimnetCommandApNodrift) Clone added in v1.3.0

func (m *SimnetCommandApNodrift) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetCommandApNodrift) DecodePayload

func (m *SimnetCommandApNodrift) DecodePayload(payload []uint8) error

func (*SimnetCommandApNodrift) EncodePayload

func (m *SimnetCommandApNodrift) EncodePayload() ([]uint8, error)

func (*SimnetCommandApNodrift) MessageInfo

func (m *SimnetCommandApNodrift) MessageInfo() MessageInfo

func (*SimnetCommandApNodrift) PGNNumber

func (m *SimnetCommandApNodrift) PGNNumber() uint32

func (*SimnetCommandApNodrift) SetMessageInfo

func (m *SimnetCommandApNodrift) SetMessageInfo(info MessageInfo)

type SimnetCommandApStandby

type SimnetCommandApStandby struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
}

func (*SimnetCommandApStandby) Clone added in v1.3.0

func (m *SimnetCommandApStandby) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetCommandApStandby) DecodePayload

func (m *SimnetCommandApStandby) DecodePayload(payload []uint8) error

func (*SimnetCommandApStandby) EncodePayload

func (m *SimnetCommandApStandby) EncodePayload() ([]uint8, error)

func (*SimnetCommandApStandby) MessageInfo

func (m *SimnetCommandApStandby) MessageInfo() MessageInfo

func (*SimnetCommandApStandby) PGNNumber

func (m *SimnetCommandApStandby) PGNNumber() uint32

func (*SimnetCommandApStandby) SetMessageInfo

func (m *SimnetCommandApStandby) SetMessageInfo(info MessageInfo)

type SimnetCommandApTack

type SimnetCommandApTack struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
	UnknownA         *uint64     `json:"unknownA,omitempty" n2k:"9"`
	UnknownB         *uint64     `json:"unknownB,omitempty" n2k:"10"`
}

func (*SimnetCommandApTack) Clone added in v1.3.0

func (m *SimnetCommandApTack) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetCommandApTack) DecodePayload

func (m *SimnetCommandApTack) DecodePayload(payload []uint8) error

func (*SimnetCommandApTack) EncodePayload

func (m *SimnetCommandApTack) EncodePayload() ([]uint8, error)

func (*SimnetCommandApTack) MessageInfo

func (m *SimnetCommandApTack) MessageInfo() MessageInfo

func (*SimnetCommandApTack) PGNNumber

func (m *SimnetCommandApTack) PGNNumber() uint32

func (*SimnetCommandApTack) SetMessageInfo

func (m *SimnetCommandApTack) SetMessageInfo(info MessageInfo)

type SimnetCommandApWind

type SimnetCommandApWind struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	CommandType      *uint64     `json:"commandType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
}

func (*SimnetCommandApWind) Clone added in v1.3.0

func (m *SimnetCommandApWind) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetCommandApWind) DecodePayload

func (m *SimnetCommandApWind) DecodePayload(payload []uint8) error

func (*SimnetCommandApWind) EncodePayload

func (m *SimnetCommandApWind) EncodePayload() ([]uint8, error)

func (*SimnetCommandApWind) MessageInfo

func (m *SimnetCommandApWind) MessageInfo() MessageInfo

func (*SimnetCommandApWind) PGNNumber

func (m *SimnetCommandApWind) PGNNumber() uint32

func (*SimnetCommandApWind) SetMessageInfo

func (m *SimnetCommandApWind) SetMessageInfo(info MessageInfo)

type SimnetCommandConst

type SimnetCommandConst uint8
const (
	SimnetCommandText SimnetCommandConst = 50
)

func (SimnetCommandConst) GoString

func (e SimnetCommandConst) GoString() string

func (SimnetCommandConst) String

func (e SimnetCommandConst) String() string

type SimnetCompassAutocalModeConst added in v1.3.0

type SimnetCompassAutocalModeConst uint8
const (
	SimnetCompassAutocalModeOff        SimnetCompassAutocalModeConst = 0
	SimnetCompassAutocalModeOn         SimnetCompassAutocalModeConst = 1
	SimnetCompassAutocalModeAutoLocked SimnetCompassAutocalModeConst = 2
	SimnetCompassAutocalModeAuto       SimnetCompassAutocalModeConst = 3
)

func (SimnetCompassAutocalModeConst) GoString added in v1.3.0

func (SimnetCompassAutocalModeConst) String added in v1.3.0

type SimnetConfigureTemperatureSensor

type SimnetConfigureTemperatureSensor struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetConfigureTemperatureSensor) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetConfigureTemperatureSensor) DecodePayload

func (m *SimnetConfigureTemperatureSensor) DecodePayload(payload []uint8) error

func (*SimnetConfigureTemperatureSensor) EncodePayload

func (m *SimnetConfigureTemperatureSensor) EncodePayload() ([]uint8, error)

func (*SimnetConfigureTemperatureSensor) MessageInfo

func (*SimnetConfigureTemperatureSensor) PGNNumber

func (*SimnetConfigureTemperatureSensor) SetMessageInfo

func (m *SimnetConfigureTemperatureSensor) SetMessageInfo(info MessageInfo)

type SimnetDataSourceConst added in v1.3.0

type SimnetDataSourceConst uint8
const (
	SimnetDataSourceHeading                 SimnetDataSourceConst = 0
	SimnetDataSourceNavigation              SimnetDataSourceConst = 1
	SimnetDataSourcePosition                SimnetDataSourceConst = 2
	SimnetDataSourceApparentWind            SimnetDataSourceConst = 3
	SimnetDataSourceTrueWind                SimnetDataSourceConst = 4
	SimnetDataSourceSpeedThroughWater       SimnetDataSourceConst = 5
	SimnetDataSourceSeaTemperature          SimnetDataSourceConst = 6
	SimnetDataSourceDistanceLog             SimnetDataSourceConst = 7
	SimnetDataSourceDepth                   SimnetDataSourceConst = 8
	SimnetDataSourceRudderFeedback          SimnetDataSourceConst = 9
	SimnetDataSourceMonitorCompass          SimnetDataSourceConst = 19
	SimnetDataSourcePositionBackup          SimnetDataSourceConst = 20
	SimnetDataSourceBoatSpeedBackup         SimnetDataSourceConst = 21
	SimnetDataSourceAirTemperature          SimnetDataSourceConst = 22
	SimnetDataSourceBarometricPressure      SimnetDataSourceConst = 28
	SimnetDataSourceHeelAngle               SimnetDataSourceConst = 30
	SimnetDataSourceSailingNavigation       SimnetDataSourceConst = 34
	SimnetDataSourceTrimAngle               SimnetDataSourceConst = 35
	SimnetDataSourceSailing                 SimnetDataSourceConst = 36
	SimnetDataSourceAftDepth                SimnetDataSourceConst = 37
	SimnetDataSourceSpeedLog                SimnetDataSourceConst = 38
	SimnetDataSourceRTCMSignal              SimnetDataSourceConst = 39
	SimnetDataSourceRTCMCorrections         SimnetDataSourceConst = 40
	SimnetDataSourceAutopilot               SimnetDataSourceConst = 54
	SimnetDataSourceAutopilotFunctionBackup SimnetDataSourceConst = 59
	SimnetDataSourceAutopilotControl        SimnetDataSourceConst = 104
)

func (SimnetDataSourceConst) GoString added in v1.3.0

func (e SimnetDataSourceConst) GoString() string

func (SimnetDataSourceConst) String added in v1.3.0

func (e SimnetDataSourceConst) String() string

type SimnetDataSourceSelection

type SimnetDataSourceSelection struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	DataType         *uint64     `json:"dataType,omitempty" n2k:"5"`
	SourceClass      *uint64     `json:"sourceClass,omitempty" n2k:"6"`
	SourceAddress    *uint64     `json:"sourceAddress,omitempty" n2k:"7"`
	ChangeCounter    *uint64     `json:"changeCounter,omitempty" n2k:"9"`
	Source           *uint64     `json:"source,omitempty" n2k:"10"`
}

func (*SimnetDataSourceSelection) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetDataSourceSelection) DecodePayload

func (m *SimnetDataSourceSelection) DecodePayload(payload []uint8) error

func (*SimnetDataSourceSelection) EncodePayload

func (m *SimnetDataSourceSelection) EncodePayload() ([]uint8, error)

func (*SimnetDataSourceSelection) MessageInfo

func (m *SimnetDataSourceSelection) MessageInfo() MessageInfo

func (*SimnetDataSourceSelection) PGNNumber

func (m *SimnetDataSourceSelection) PGNNumber() uint32

func (*SimnetDataSourceSelection) SetMessageInfo

func (m *SimnetDataSourceSelection) SetMessageInfo(info MessageInfo)

type SimnetDataSourceSelectionRequest

type SimnetDataSourceSelectionRequest struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	DataType         *uint64     `json:"dataType,omitempty" n2k:"5"`
	SourceClass      *uint64     `json:"sourceClass,omitempty" n2k:"6"`
}

func (*SimnetDataSourceSelectionRequest) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetDataSourceSelectionRequest) DecodePayload

func (m *SimnetDataSourceSelectionRequest) DecodePayload(payload []uint8) error

func (*SimnetDataSourceSelectionRequest) EncodePayload

func (m *SimnetDataSourceSelectionRequest) EncodePayload() ([]uint8, error)

func (*SimnetDataSourceSelectionRequest) MessageInfo

func (*SimnetDataSourceSelectionRequest) PGNNumber

func (*SimnetDataSourceSelectionRequest) SetMessageInfo

func (m *SimnetDataSourceSelectionRequest) SetMessageInfo(info MessageInfo)

type SimnetDepthUnitConst added in v1.3.0

type SimnetDepthUnitConst uint8
const (
	SimnetDepthUnitMeters  SimnetDepthUnitConst = 0
	SimnetDepthUnitFeet    SimnetDepthUnitConst = 1
	SimnetDepthUnitFathoms SimnetDepthUnitConst = 2
)

func (SimnetDepthUnitConst) GoString added in v1.3.0

func (e SimnetDepthUnitConst) GoString() string

func (SimnetDepthUnitConst) String added in v1.3.0

func (e SimnetDepthUnitConst) String() string

type SimnetDeviceModeRequest

type SimnetDeviceModeRequest struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Model            *uint64     `json:"model,omitempty" n2k:"4"`
	Report           *uint64     `json:"report,omitempty" n2k:"5"`
}

func (*SimnetDeviceModeRequest) Clone added in v1.3.0

func (m *SimnetDeviceModeRequest) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetDeviceModeRequest) DecodePayload

func (m *SimnetDeviceModeRequest) DecodePayload(payload []uint8) error

func (*SimnetDeviceModeRequest) EncodePayload

func (m *SimnetDeviceModeRequest) EncodePayload() ([]uint8, error)

func (*SimnetDeviceModeRequest) MessageInfo

func (m *SimnetDeviceModeRequest) MessageInfo() MessageInfo

func (*SimnetDeviceModeRequest) PGNNumber

func (m *SimnetDeviceModeRequest) PGNNumber() uint32

func (*SimnetDeviceModeRequest) SetMessageInfo

func (m *SimnetDeviceModeRequest) SetMessageInfo(info MessageInfo)

type SimnetDeviceModelConst

type SimnetDeviceModelConst uint8
const (
	SimnetDeviceModelAC          SimnetDeviceModelConst = 0
	SimnetDeviceModelOtherDevice SimnetDeviceModelConst = 1
	SimnetDeviceModelNAC         SimnetDeviceModelConst = 100
)

func (SimnetDeviceModelConst) GoString

func (e SimnetDeviceModelConst) GoString() string

func (SimnetDeviceModelConst) String

func (e SimnetDeviceModelConst) String() string

type SimnetDeviceReportConst

type SimnetDeviceReportConst uint8
const (
	SimnetDeviceReportStatus                 SimnetDeviceReportConst = 2
	SimnetDeviceReportSendStatus             SimnetDeviceReportConst = 3
	SimnetDeviceReportMode                   SimnetDeviceReportConst = 10
	SimnetDeviceReportSendMode               SimnetDeviceReportConst = 11
	SimnetDeviceReportSailingProcessorStatus SimnetDeviceReportConst = 23
)

func (SimnetDeviceReportConst) GoString

func (e SimnetDeviceReportConst) GoString() string

func (SimnetDeviceReportConst) String

func (e SimnetDeviceReportConst) String() string

type SimnetDeviceStatus

type SimnetDeviceStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Model            *uint64     `json:"model,omitempty" n2k:"4"`
	Report           *uint64     `json:"report,omitempty" n2k:"5"`
	Status           *uint64     `json:"status,omitempty" n2k:"6"`
}

func (*SimnetDeviceStatus) Clone added in v1.3.0

func (m *SimnetDeviceStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetDeviceStatus) DecodePayload

func (m *SimnetDeviceStatus) DecodePayload(payload []uint8) error

func (*SimnetDeviceStatus) EncodePayload

func (m *SimnetDeviceStatus) EncodePayload() ([]uint8, error)

func (*SimnetDeviceStatus) MessageInfo

func (m *SimnetDeviceStatus) MessageInfo() MessageInfo

func (*SimnetDeviceStatus) PGNNumber

func (m *SimnetDeviceStatus) PGNNumber() uint32

func (*SimnetDeviceStatus) SetMessageInfo

func (m *SimnetDeviceStatus) SetMessageInfo(info MessageInfo)

type SimnetDeviceStatusRequest

type SimnetDeviceStatusRequest struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Model            *uint64     `json:"model,omitempty" n2k:"4"`
	Report           *uint64     `json:"report,omitempty" n2k:"5"`
}

func (*SimnetDeviceStatusRequest) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetDeviceStatusRequest) DecodePayload

func (m *SimnetDeviceStatusRequest) DecodePayload(payload []uint8) error

func (*SimnetDeviceStatusRequest) EncodePayload

func (m *SimnetDeviceStatusRequest) EncodePayload() ([]uint8, error)

func (*SimnetDeviceStatusRequest) MessageInfo

func (m *SimnetDeviceStatusRequest) MessageInfo() MessageInfo

func (*SimnetDeviceStatusRequest) PGNNumber

func (m *SimnetDeviceStatusRequest) PGNNumber() uint32

func (*SimnetDeviceStatusRequest) SetMessageInfo

func (m *SimnetDeviceStatusRequest) SetMessageInfo(info MessageInfo)

type SimnetDirectionConst

type SimnetDirectionConst uint8
const (
	SimnetDirectionPort                 SimnetDirectionConst = 2
	SimnetDirectionStarboard            SimnetDirectionConst = 3
	SimnetDirectionLeftRudderPort       SimnetDirectionConst = 4
	SimnetDirectionRightRudderStarboard SimnetDirectionConst = 5
)

func (SimnetDirectionConst) GoString

func (e SimnetDirectionConst) GoString() string

func (SimnetDirectionConst) String

func (e SimnetDirectionConst) String() string

type SimnetDistanceSmallUnitConst added in v1.3.0

type SimnetDistanceSmallUnitConst uint8
const (
	SimnetDistanceSmallUnitFeet   SimnetDistanceSmallUnitConst = 0
	SimnetDistanceSmallUnitMeters SimnetDistanceSmallUnitConst = 1
	SimnetDistanceSmallUnitYards  SimnetDistanceSmallUnitConst = 2
)

func (SimnetDistanceSmallUnitConst) GoString added in v1.3.0

func (e SimnetDistanceSmallUnitConst) GoString() string

func (SimnetDistanceSmallUnitConst) String added in v1.3.0

type SimnetDistanceUnitConst added in v1.3.0

type SimnetDistanceUnitConst uint8
const (
	SimnetDistanceUnitNauticalMiles SimnetDistanceUnitConst = 0
	SimnetDistanceUnitKilometers    SimnetDistanceUnitConst = 1
	SimnetDistanceUnitMiles         SimnetDistanceUnitConst = 2
)

func (SimnetDistanceUnitConst) GoString added in v1.3.0

func (e SimnetDistanceUnitConst) GoString() string

func (SimnetDistanceUnitConst) String added in v1.3.0

func (e SimnetDistanceUnitConst) String() string

type SimnetEngineAndTankConfiguration

type SimnetEngineAndTankConfiguration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetEngineAndTankConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetEngineAndTankConfiguration) DecodePayload

func (m *SimnetEngineAndTankConfiguration) DecodePayload(payload []uint8) error

func (*SimnetEngineAndTankConfiguration) EncodePayload

func (m *SimnetEngineAndTankConfiguration) EncodePayload() ([]uint8, error)

func (*SimnetEngineAndTankConfiguration) MessageInfo

func (*SimnetEngineAndTankConfiguration) PGNNumber

func (*SimnetEngineAndTankConfiguration) SetMessageInfo

func (m *SimnetEngineAndTankConfiguration) SetMessageInfo(info MessageInfo)

type SimnetEvent

type SimnetEvent struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
}

func (*SimnetEvent) Clone added in v1.3.0

func (m *SimnetEvent) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetEvent) DecodePayload

func (m *SimnetEvent) DecodePayload(payload []uint8) error

func (*SimnetEvent) EncodePayload

func (m *SimnetEvent) EncodePayload() ([]uint8, error)

func (*SimnetEvent) MessageInfo

func (m *SimnetEvent) MessageInfo() MessageInfo

func (*SimnetEvent) PGNNumber

func (m *SimnetEvent) PGNNumber() uint32

func (*SimnetEvent) SetMessageInfo

func (m *SimnetEvent) SetMessageInfo(info MessageInfo)

type SimnetEventCommandTimer

type SimnetEventCommandTimer struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	EventType        *uint64     `json:"eventType,omitempty" n2k:"7"`
	Event            *uint64     `json:"event,omitempty" n2k:"8"`
	Parameter1       *uint64     `json:"parameter1,omitempty" n2k:"9"`
	Parameter2       *uint64     `json:"parameter2,omitempty" n2k:"10"`
	Parameter3       *uint64     `json:"parameter3,omitempty" n2k:"11"`
}

func (*SimnetEventCommandTimer) Clone added in v1.3.0

func (m *SimnetEventCommandTimer) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetEventCommandTimer) DecodePayload

func (m *SimnetEventCommandTimer) DecodePayload(payload []uint8) error

func (*SimnetEventCommandTimer) EncodePayload

func (m *SimnetEventCommandTimer) EncodePayload() ([]uint8, error)

func (*SimnetEventCommandTimer) MessageInfo

func (m *SimnetEventCommandTimer) MessageInfo() MessageInfo

func (*SimnetEventCommandTimer) PGNNumber

func (m *SimnetEventCommandTimer) PGNNumber() uint32

func (*SimnetEventCommandTimer) SetMessageInfo

func (m *SimnetEventCommandTimer) SetMessageInfo(info MessageInfo)

type SimnetEventTypeConst added in v1.3.0

type SimnetEventTypeConst uint8
const (
	SimnetEventTypeFollowUp          SimnetEventTypeConst = 2
	SimnetEventTypeAPCommand         SimnetEventTypeConst = 10
	SimnetEventTypeTimer             SimnetEventTypeConst = 23
	SimnetEventTypeSiren             SimnetEventTypeConst = 31
	SimnetEventTypeAISVesselSelected SimnetEventTypeConst = 36
	SimnetEventTypeAlarm             SimnetEventTypeConst = 255
)

func (SimnetEventTypeConst) GoString added in v1.3.0

func (e SimnetEventTypeConst) GoString() string

func (SimnetEventTypeConst) String added in v1.3.0

func (e SimnetEventTypeConst) String() string

type SimnetFluidLevelSensorConfiguration

type SimnetFluidLevelSensorConfiguration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	C                *uint64     `json:"c,omitempty" n2k:"4"`
	Device           *uint64     `json:"device,omitempty" n2k:"5"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"6"`
	F                *uint64     `json:"f,omitempty" n2k:"7"`
	TankType         *uint64     `json:"tankType,omitempty" n2k:"8"`
	Capacity         *uint64     `json:"capacity,omitempty" n2k:"9"`
	G                *uint64     `json:"g,omitempty" n2k:"10"`
	H                *int64      `json:"h,omitempty" n2k:"11"`
	I                *int64      `json:"i,omitempty" n2k:"12"`
}

func (*SimnetFluidLevelSensorConfiguration) CapacityValue

func (m *SimnetFluidLevelSensorConfiguration) CapacityValue() (float64, bool)

CapacityValue returns Capacity as a physical value in L (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetFluidLevelSensorConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetFluidLevelSensorConfiguration) DecodePayload

func (m *SimnetFluidLevelSensorConfiguration) DecodePayload(payload []uint8) error

func (*SimnetFluidLevelSensorConfiguration) EncodePayload

func (m *SimnetFluidLevelSensorConfiguration) EncodePayload() ([]uint8, error)

func (*SimnetFluidLevelSensorConfiguration) MessageInfo

func (*SimnetFluidLevelSensorConfiguration) PGNNumber

func (*SimnetFluidLevelSensorConfiguration) SetCapacityValue

func (m *SimnetFluidLevelSensorConfiguration) SetCapacityValue(v float64)

SetCapacityValue sets Capacity from a physical value in L, rounded to the nearest wire tick of 0.1.

func (*SimnetFluidLevelSensorConfiguration) SetMessageInfo

func (m *SimnetFluidLevelSensorConfiguration) SetMessageInfo(info MessageInfo)

type SimnetFluidLevelWarning

type SimnetFluidLevelWarning struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetFluidLevelWarning) Clone added in v1.3.0

func (m *SimnetFluidLevelWarning) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetFluidLevelWarning) DecodePayload

func (m *SimnetFluidLevelWarning) DecodePayload(payload []uint8) error

func (*SimnetFluidLevelWarning) EncodePayload

func (m *SimnetFluidLevelWarning) EncodePayload() ([]uint8, error)

func (*SimnetFluidLevelWarning) MessageInfo

func (m *SimnetFluidLevelWarning) MessageInfo() MessageInfo

func (*SimnetFluidLevelWarning) PGNNumber

func (m *SimnetFluidLevelWarning) PGNNumber() uint32

func (*SimnetFluidLevelWarning) SetMessageInfo

func (m *SimnetFluidLevelWarning) SetMessageInfo(info MessageInfo)

type SimnetFuelFlowTurbineConfiguration

type SimnetFuelFlowTurbineConfiguration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetFuelFlowTurbineConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetFuelFlowTurbineConfiguration) DecodePayload

func (m *SimnetFuelFlowTurbineConfiguration) DecodePayload(payload []uint8) error

func (*SimnetFuelFlowTurbineConfiguration) EncodePayload

func (m *SimnetFuelFlowTurbineConfiguration) EncodePayload() ([]uint8, error)

func (*SimnetFuelFlowTurbineConfiguration) MessageInfo

func (*SimnetFuelFlowTurbineConfiguration) PGNNumber

func (*SimnetFuelFlowTurbineConfiguration) SetMessageInfo

func (m *SimnetFuelFlowTurbineConfiguration) SetMessageInfo(info MessageInfo)

type SimnetFuelUsedHighResolution

type SimnetFuelUsedHighResolution struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetFuelUsedHighResolution) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetFuelUsedHighResolution) DecodePayload

func (m *SimnetFuelUsedHighResolution) DecodePayload(payload []uint8) error

func (*SimnetFuelUsedHighResolution) EncodePayload

func (m *SimnetFuelUsedHighResolution) EncodePayload() ([]uint8, error)

func (*SimnetFuelUsedHighResolution) MessageInfo

func (m *SimnetFuelUsedHighResolution) MessageInfo() MessageInfo

func (*SimnetFuelUsedHighResolution) PGNNumber

func (m *SimnetFuelUsedHighResolution) PGNNumber() uint32

func (*SimnetFuelUsedHighResolution) SetMessageInfo

func (m *SimnetFuelUsedHighResolution) SetMessageInfo(info MessageInfo)

type SimnetHeadingUnitConst added in v1.3.0

type SimnetHeadingUnitConst uint8
const (
	SimnetHeadingUnitMagnetic SimnetHeadingUnitConst = 0
	SimnetHeadingUnitTrue     SimnetHeadingUnitConst = 1
)

func (SimnetHeadingUnitConst) GoString added in v1.3.0

func (e SimnetHeadingUnitConst) GoString() string

func (SimnetHeadingUnitConst) String added in v1.3.0

func (e SimnetHeadingUnitConst) String() string

type SimnetHourDisplayConst

type SimnetHourDisplayConst uint8
const (
	SimnetHourDisplay24Hour SimnetHourDisplayConst = 0
	SimnetHourDisplay12Hour SimnetHourDisplayConst = 1
)

func (SimnetHourDisplayConst) GoString

func (e SimnetHourDisplayConst) GoString() string

func (SimnetHourDisplayConst) String

func (e SimnetHourDisplayConst) String() string

type SimnetKeepAlive

type SimnetKeepAlive struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Command          *uint64     `json:"command,omitempty" n2k:"4"`
	Reply            *uint64     `json:"reply,omitempty" n2k:"6"`
	Value            []uint8     `json:"value,omitempty" n2k:"7"`
}

func (*SimnetKeepAlive) Clone added in v1.3.0

func (m *SimnetKeepAlive) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetKeepAlive) DecodePayload

func (m *SimnetKeepAlive) DecodePayload(payload []uint8) error

func (*SimnetKeepAlive) EncodePayload

func (m *SimnetKeepAlive) EncodePayload() ([]uint8, error)

func (*SimnetKeepAlive) MessageInfo

func (m *SimnetKeepAlive) MessageInfo() MessageInfo

func (*SimnetKeepAlive) PGNNumber

func (m *SimnetKeepAlive) PGNNumber() uint32

func (*SimnetKeepAlive) SetMessageInfo

func (m *SimnetKeepAlive) SetMessageInfo(info MessageInfo)

type SimnetKeyOperationConst added in v1.3.0

type SimnetKeyOperationConst uint8
const (
	SimnetKeyOperationRead  SimnetKeyOperationConst = 0
	SimnetKeyOperationSet   SimnetKeyOperationConst = 1
	SimnetKeyOperationReply SimnetKeyOperationConst = 2
)

func (SimnetKeyOperationConst) GoString added in v1.3.0

func (e SimnetKeyOperationConst) GoString() string

func (SimnetKeyOperationConst) String added in v1.3.0

func (e SimnetKeyOperationConst) String() string

type SimnetKeyValue

type SimnetKeyValue struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"5"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	Source           *uint64     `json:"source,omitempty" n2k:"7"`
	Key              *uint64     `json:"key,omitempty" n2k:"8"`
	Operation        *uint64     `json:"operation,omitempty" n2k:"9"`
	Value            []uint8     `json:"value,omitempty" n2k:"10"`
}

func (*SimnetKeyValue) Clone added in v1.3.0

func (m *SimnetKeyValue) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetKeyValue) DecodePayload

func (m *SimnetKeyValue) DecodePayload(payload []uint8) error

func (*SimnetKeyValue) EncodePayload

func (m *SimnetKeyValue) EncodePayload() ([]uint8, error)

func (*SimnetKeyValue) MessageInfo

func (m *SimnetKeyValue) MessageInfo() MessageInfo

func (*SimnetKeyValue) PGNNumber

func (m *SimnetKeyValue) PGNNumber() uint32

func (*SimnetKeyValue) SetMessageInfo

func (m *SimnetKeyValue) SetMessageInfo(info MessageInfo)

type SimnetKeyValueConst

type SimnetKeyValueConst uint32
const (
	SimnetKeyValueHeadingOffset          SimnetKeyValueConst = 0
	SimnetKeyValueTimezoneOffset         SimnetKeyValueConst = 41
	SimnetKeyValueTrueWindHigh           SimnetKeyValueConst = 260
	SimnetKeyValueDeepWater              SimnetKeyValueConst = 264
	SimnetKeyValueTrueWindLow            SimnetKeyValueConst = 516
	SimnetKeyValueLowBoatSpeed           SimnetKeyValueConst = 517
	SimnetKeyValueShallowWater           SimnetKeyValueConst = 520
	SimnetKeyValueLocalField             SimnetKeyValueConst = 768
	SimnetKeyValueFieldAngle             SimnetKeyValueConst = 1024
	SimnetKeyValueHeadingDamping         SimnetKeyValueConst = 1280
	SimnetKeyValueApparentWindDamping    SimnetKeyValueConst = 1283
	SimnetKeyValueBoatSpeedDamping       SimnetKeyValueConst = 1285
	SimnetKeyValueTrimAngleDamping       SimnetKeyValueConst = 1329
	SimnetKeyValueSOGDamping             SimnetKeyValueConst = 1335
	SimnetKeyValueCOGDamping             SimnetKeyValueConst = 1336
	SimnetKeyValueHeelAngleDamping       SimnetKeyValueConst = 1337
	SimnetKeyValueTideDamping            SimnetKeyValueConst = 1345
	SimnetKeyValueTrueWindSpeedDamping   SimnetKeyValueConst = 1349
	SimnetKeyValueAnchorDepth            SimnetKeyValueConst = 1800
	SimnetKeyValueBacklightLevel         SimnetKeyValueConst = 4863
	SimnetKeyValueHeadingUnit            SimnetKeyValueConst = 5120
	SimnetKeyValueWindSpeedUnit          SimnetKeyValueConst = 5123
	SimnetKeyValueSpeedUnit              SimnetKeyValueConst = 5125
	SimnetKeyValueTemperatureUnit        SimnetKeyValueConst = 5126
	SimnetKeyValueDistanceUnit           SimnetKeyValueConst = 5127
	SimnetKeyValueDepthUnit              SimnetKeyValueConst = 5128
	SimnetKeyValueVolumeUnit             SimnetKeyValueConst = 5134
	SimnetKeyValueTimeFormat             SimnetKeyValueConst = 5160
	SimnetKeyValueTimeHourDisplay        SimnetKeyValueConst = 5161
	SimnetKeyValuePressureUnit           SimnetKeyValueConst = 5163
	SimnetKeyValueBarometricPressureUnit SimnetKeyValueConst = 5164
	SimnetKeyValueDistanceUnitCompanion  SimnetKeyValueConst = 5174
	SimnetKeyValueNightMode              SimnetKeyValueConst = 9983
	SimnetKeyValueTrueWindShift          SimnetKeyValueConst = 11524
	SimnetKeyValueRaceTimerDuration      SimnetKeyValueConst = 16903
	SimnetKeyValueAPLowBoatSpeed         SimnetKeyValueConst = 22296
	SimnetKeyValueAlertBits              SimnetKeyValueConst = 32789
	SimnetKeyValueDistanceUnitSmall      SimnetKeyValueConst = 36871
	SimnetKeyValueRaceTimerAutoStart     SimnetKeyValueConst = 40711
	SimnetKeyValueNightModeColor         SimnetKeyValueConst = 44079
	SimnetKeyValueRaceTimerRollingStart  SimnetKeyValueConst = 49159
	SimnetKeyValueAutoCalibrationMode    SimnetKeyValueConst = 53760
	SimnetKeyValueDayModeInvert          SimnetKeyValueConst = 55087
)

func (SimnetKeyValueConst) GoString added in v1.3.0

func (e SimnetKeyValueConst) GoString() string

func (SimnetKeyValueConst) String added in v1.3.0

func (e SimnetKeyValueConst) String() string

type SimnetLgc2000Configuration

type SimnetLgc2000Configuration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetLgc2000Configuration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetLgc2000Configuration) DecodePayload

func (m *SimnetLgc2000Configuration) DecodePayload(payload []uint8) error

func (*SimnetLgc2000Configuration) EncodePayload

func (m *SimnetLgc2000Configuration) EncodePayload() ([]uint8, error)

func (*SimnetLgc2000Configuration) MessageInfo

func (m *SimnetLgc2000Configuration) MessageInfo() MessageInfo

func (*SimnetLgc2000Configuration) PGNNumber

func (m *SimnetLgc2000Configuration) PGNNumber() uint32

func (*SimnetLgc2000Configuration) SetMessageInfo

func (m *SimnetLgc2000Configuration) SetMessageInfo(info MessageInfo)

type SimnetMagneticField

type SimnetMagneticField struct {
	Info   MessageInfo `json:"info"`
	FieldX *int64      `json:"fieldX,omitempty" n2k:"1"`
	FieldY *int64      `json:"fieldY,omitempty" n2k:"2"`
	FieldZ *int64      `json:"fieldZ,omitempty" n2k:"3"`
	Marker *uint64     `json:"marker,omitempty" n2k:"4"`
}

func (*SimnetMagneticField) Clone added in v1.3.0

func (m *SimnetMagneticField) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetMagneticField) DecodePayload

func (m *SimnetMagneticField) DecodePayload(payload []uint8) error

func (*SimnetMagneticField) EncodePayload

func (m *SimnetMagneticField) EncodePayload() ([]uint8, error)

func (*SimnetMagneticField) FieldXValue

func (m *SimnetMagneticField) FieldXValue() (float64, bool)

FieldXValue returns FieldX as a physical value (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetMagneticField) FieldYValue

func (m *SimnetMagneticField) FieldYValue() (float64, bool)

FieldYValue returns FieldY as a physical value (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetMagneticField) FieldZValue

func (m *SimnetMagneticField) FieldZValue() (float64, bool)

FieldZValue returns FieldZ as a physical value (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SimnetMagneticField) MessageInfo

func (m *SimnetMagneticField) MessageInfo() MessageInfo

func (*SimnetMagneticField) PGNNumber

func (m *SimnetMagneticField) PGNNumber() uint32

func (*SimnetMagneticField) SetFieldXValue

func (m *SimnetMagneticField) SetFieldXValue(v float64)

SetFieldXValue sets FieldX from a physical value, rounded to the nearest wire tick of 0.0001.

func (*SimnetMagneticField) SetFieldYValue

func (m *SimnetMagneticField) SetFieldYValue(v float64)

SetFieldYValue sets FieldY from a physical value, rounded to the nearest wire tick of 0.0001.

func (*SimnetMagneticField) SetFieldZValue

func (m *SimnetMagneticField) SetFieldZValue(v float64)

SetFieldZValue sets FieldZ from a physical value, rounded to the nearest wire tick of 0.0001.

func (*SimnetMagneticField) SetMessageInfo

func (m *SimnetMagneticField) SetMessageInfo(info MessageInfo)

type SimnetNetworkGroupConst added in v1.3.0

type SimnetNetworkGroupConst uint8
const (
	SimnetNetworkGroupNone    SimnetNetworkGroupConst = 0
	SimnetNetworkGroupDefault SimnetNetworkGroupConst = 1
	SimnetNetworkGroupGroup1  SimnetNetworkGroupConst = 2
	SimnetNetworkGroupGroup2  SimnetNetworkGroupConst = 3
	SimnetNetworkGroupGroup3  SimnetNetworkGroupConst = 4
	SimnetNetworkGroupGroup4  SimnetNetworkGroupConst = 5
	SimnetNetworkGroupGroup5  SimnetNetworkGroupConst = 6
	SimnetNetworkGroupGroup6  SimnetNetworkGroupConst = 7
)

func (SimnetNetworkGroupConst) GoString added in v1.3.0

func (e SimnetNetworkGroupConst) GoString() string

func (SimnetNetworkGroupConst) String added in v1.3.0

func (e SimnetNetworkGroupConst) String() string

type SimnetNightModeColorConst

type SimnetNightModeColorConst uint8
const (
	SimnetNightModeColorRed     SimnetNightModeColorConst = 0
	SimnetNightModeColorGreen   SimnetNightModeColorConst = 1
	SimnetNightModeColorBlue    SimnetNightModeColorConst = 2
	SimnetNightModeColorWhite   SimnetNightModeColorConst = 3
	SimnetNightModeColorMagenta SimnetNightModeColorConst = 4
)

func (SimnetNightModeColorConst) GoString

func (e SimnetNightModeColorConst) GoString() string

func (SimnetNightModeColorConst) String

func (e SimnetNightModeColorConst) String() string

type SimnetNightModeConst

type SimnetNightModeConst uint8
const (
	SimnetNightModeDay   SimnetNightModeConst = 2
	SimnetNightModeNight SimnetNightModeConst = 4
)

func (SimnetNightModeConst) GoString

func (e SimnetNightModeConst) GoString() string

func (SimnetNightModeConst) String

func (e SimnetNightModeConst) String() string

type SimnetPaddleWheelSpeedConfiguration

type SimnetPaddleWheelSpeedConfiguration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetPaddleWheelSpeedConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetPaddleWheelSpeedConfiguration) DecodePayload

func (m *SimnetPaddleWheelSpeedConfiguration) DecodePayload(payload []uint8) error

func (*SimnetPaddleWheelSpeedConfiguration) EncodePayload

func (m *SimnetPaddleWheelSpeedConfiguration) EncodePayload() ([]uint8, error)

func (*SimnetPaddleWheelSpeedConfiguration) MessageInfo

func (*SimnetPaddleWheelSpeedConfiguration) PGNNumber

func (*SimnetPaddleWheelSpeedConfiguration) SetMessageInfo

func (m *SimnetPaddleWheelSpeedConfiguration) SetMessageInfo(info MessageInfo)

type SimnetParameterSet

type SimnetParameterSet struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Address          *uint64     `json:"address,omitempty" n2k:"4"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"5"`
	NetworkGroup     *uint64     `json:"networkGroup,omitempty" n2k:"6"`
	Source           *uint64     `json:"source,omitempty" n2k:"7"`
	Key              *uint64     `json:"key,omitempty" n2k:"8"`
	Operation        *uint64     `json:"operation,omitempty" n2k:"9"`
	Length           *uint64     `json:"length,omitempty" n2k:"10"`
	Value            []uint8     `json:"value,omitempty" n2k:"11"`
}

func (*SimnetParameterSet) Clone added in v1.3.0

func (m *SimnetParameterSet) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetParameterSet) DecodePayload

func (m *SimnetParameterSet) DecodePayload(payload []uint8) error

func (*SimnetParameterSet) EncodePayload

func (m *SimnetParameterSet) EncodePayload() ([]uint8, error)

func (*SimnetParameterSet) MessageInfo

func (m *SimnetParameterSet) MessageInfo() MessageInfo

func (*SimnetParameterSet) PGNNumber

func (m *SimnetParameterSet) PGNNumber() uint32

func (*SimnetParameterSet) SetMessageInfo

func (m *SimnetParameterSet) SetMessageInfo(info MessageInfo)

type SimnetPilotMode

type SimnetPilotMode struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Model            *uint64     `json:"model,omitempty" n2k:"4"`
	Report           *uint64     `json:"report,omitempty" n2k:"5"`
	Mode             *uint64     `json:"mode,omitempty" n2k:"6"`
}

func (*SimnetPilotMode) Clone added in v1.3.0

func (m *SimnetPilotMode) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetPilotMode) DecodePayload

func (m *SimnetPilotMode) DecodePayload(payload []uint8) error

func (*SimnetPilotMode) EncodePayload

func (m *SimnetPilotMode) EncodePayload() ([]uint8, error)

func (*SimnetPilotMode) MessageInfo

func (m *SimnetPilotMode) MessageInfo() MessageInfo

func (*SimnetPilotMode) PGNNumber

func (m *SimnetPilotMode) PGNNumber() uint32

func (*SimnetPilotMode) SetMessageInfo

func (m *SimnetPilotMode) SetMessageInfo(info MessageInfo)

type SimnetPressureSensorConfiguration

type SimnetPressureSensorConfiguration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetPressureSensorConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetPressureSensorConfiguration) DecodePayload

func (m *SimnetPressureSensorConfiguration) DecodePayload(payload []uint8) error

func (*SimnetPressureSensorConfiguration) EncodePayload

func (m *SimnetPressureSensorConfiguration) EncodePayload() ([]uint8, error)

func (*SimnetPressureSensorConfiguration) MessageInfo

func (*SimnetPressureSensorConfiguration) PGNNumber

func (*SimnetPressureSensorConfiguration) SetMessageInfo

func (m *SimnetPressureSensorConfiguration) SetMessageInfo(info MessageInfo)

type SimnetPressureUnitConst added in v1.3.0

type SimnetPressureUnitConst uint8
const (
	SimnetPressureUnitPSI             SimnetPressureUnitConst = 1
	SimnetPressureUnitKilopascal      SimnetPressureUnitConst = 3
	SimnetPressureUnitInchesOfMercury SimnetPressureUnitConst = 5
	SimnetPressureUnitBar             SimnetPressureUnitConst = 6
)

func (SimnetPressureUnitConst) GoString added in v1.3.0

func (e SimnetPressureUnitConst) GoString() string

func (SimnetPressureUnitConst) String added in v1.3.0

func (e SimnetPressureUnitConst) String() string

type SimnetReprogramData

type SimnetReprogramData struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Version          *uint64     `json:"version,omitempty" n2k:"4"`
	Sequence         *uint64     `json:"sequence,omitempty" n2k:"5"`
	Data             []uint8     `json:"data,omitempty" n2k:"6"`
}

func (*SimnetReprogramData) Clone added in v1.3.0

func (m *SimnetReprogramData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetReprogramData) DecodePayload

func (m *SimnetReprogramData) DecodePayload(payload []uint8) error

func (*SimnetReprogramData) EncodePayload

func (m *SimnetReprogramData) EncodePayload() ([]uint8, error)

func (*SimnetReprogramData) MessageInfo

func (m *SimnetReprogramData) MessageInfo() MessageInfo

func (*SimnetReprogramData) PGNNumber

func (m *SimnetReprogramData) PGNNumber() uint32

func (*SimnetReprogramData) SetMessageInfo

func (m *SimnetReprogramData) SetMessageInfo(info MessageInfo)

type SimnetReprogramStatus

type SimnetReprogramStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Status           *uint64     `json:"status,omitempty" n2k:"5"`
}

func (*SimnetReprogramStatus) Clone added in v1.3.0

func (m *SimnetReprogramStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetReprogramStatus) DecodePayload

func (m *SimnetReprogramStatus) DecodePayload(payload []uint8) error

func (*SimnetReprogramStatus) EncodePayload

func (m *SimnetReprogramStatus) EncodePayload() ([]uint8, error)

func (*SimnetReprogramStatus) MessageInfo

func (m *SimnetReprogramStatus) MessageInfo() MessageInfo

func (*SimnetReprogramStatus) PGNNumber

func (m *SimnetReprogramStatus) PGNNumber() uint32

func (*SimnetReprogramStatus) SetMessageInfo

func (m *SimnetReprogramStatus) SetMessageInfo(info MessageInfo)

type SimnetRequestReprogram

type SimnetRequestReprogram struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetRequestReprogram) Clone added in v1.3.0

func (m *SimnetRequestReprogram) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetRequestReprogram) DecodePayload

func (m *SimnetRequestReprogram) DecodePayload(payload []uint8) error

func (*SimnetRequestReprogram) EncodePayload

func (m *SimnetRequestReprogram) EncodePayload() ([]uint8, error)

func (*SimnetRequestReprogram) MessageInfo

func (m *SimnetRequestReprogram) MessageInfo() MessageInfo

func (*SimnetRequestReprogram) PGNNumber

func (m *SimnetRequestReprogram) PGNNumber() uint32

func (*SimnetRequestReprogram) SetMessageInfo

func (m *SimnetRequestReprogram) SetMessageInfo(info MessageInfo)

type SimnetSailingProcessorStatus

type SimnetSailingProcessorStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Model            *uint64     `json:"model,omitempty" n2k:"4"`
	Report           *uint64     `json:"report,omitempty" n2k:"5"`
	Data             []uint8     `json:"data,omitempty" n2k:"6"`
}

func (*SimnetSailingProcessorStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetSailingProcessorStatus) DecodePayload

func (m *SimnetSailingProcessorStatus) DecodePayload(payload []uint8) error

func (*SimnetSailingProcessorStatus) EncodePayload

func (m *SimnetSailingProcessorStatus) EncodePayload() ([]uint8, error)

func (*SimnetSailingProcessorStatus) MessageInfo

func (m *SimnetSailingProcessorStatus) MessageInfo() MessageInfo

func (*SimnetSailingProcessorStatus) PGNNumber

func (m *SimnetSailingProcessorStatus) PGNNumber() uint32

func (*SimnetSailingProcessorStatus) SetMessageInfo

func (m *SimnetSailingProcessorStatus) SetMessageInfo(info MessageInfo)

type SimnetSetEngineAndTankConfiguration

type SimnetSetEngineAndTankConfiguration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetSetEngineAndTankConfiguration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetSetEngineAndTankConfiguration) DecodePayload

func (m *SimnetSetEngineAndTankConfiguration) DecodePayload(payload []uint8) error

func (*SimnetSetEngineAndTankConfiguration) EncodePayload

func (m *SimnetSetEngineAndTankConfiguration) EncodePayload() ([]uint8, error)

func (*SimnetSetEngineAndTankConfiguration) MessageInfo

func (*SimnetSetEngineAndTankConfiguration) PGNNumber

func (*SimnetSetEngineAndTankConfiguration) SetMessageInfo

func (m *SimnetSetEngineAndTankConfiguration) SetMessageInfo(info MessageInfo)

type SimnetSetSerialNumber

type SimnetSetSerialNumber struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetSetSerialNumber) Clone added in v1.3.0

func (m *SimnetSetSerialNumber) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetSetSerialNumber) DecodePayload

func (m *SimnetSetSerialNumber) DecodePayload(payload []uint8) error

func (*SimnetSetSerialNumber) EncodePayload

func (m *SimnetSetSerialNumber) EncodePayload() ([]uint8, error)

func (*SimnetSetSerialNumber) MessageInfo

func (m *SimnetSetSerialNumber) MessageInfo() MessageInfo

func (*SimnetSetSerialNumber) PGNNumber

func (m *SimnetSetSerialNumber) PGNNumber() uint32

func (*SimnetSetSerialNumber) SetMessageInfo

func (m *SimnetSetSerialNumber) SetMessageInfo(info MessageInfo)

type SimnetSonarStatusFrequencyAndDspVoltage

type SimnetSonarStatusFrequencyAndDspVoltage struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetSonarStatusFrequencyAndDspVoltage) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetSonarStatusFrequencyAndDspVoltage) DecodePayload

func (m *SimnetSonarStatusFrequencyAndDspVoltage) DecodePayload(payload []uint8) error

func (*SimnetSonarStatusFrequencyAndDspVoltage) EncodePayload

func (m *SimnetSonarStatusFrequencyAndDspVoltage) EncodePayload() ([]uint8, error)

func (*SimnetSonarStatusFrequencyAndDspVoltage) MessageInfo

func (*SimnetSonarStatusFrequencyAndDspVoltage) PGNNumber

func (*SimnetSonarStatusFrequencyAndDspVoltage) SetMessageInfo

func (m *SimnetSonarStatusFrequencyAndDspVoltage) SetMessageInfo(info MessageInfo)

type SimnetSpeedUnitConst added in v1.3.0

type SimnetSpeedUnitConst uint8
const (
	SimnetSpeedUnitKnots             SimnetSpeedUnitConst = 0
	SimnetSpeedUnitKilometersPerHour SimnetSpeedUnitConst = 1
	SimnetSpeedUnitMilesPerHour      SimnetSpeedUnitConst = 2
)

func (SimnetSpeedUnitConst) GoString added in v1.3.0

func (e SimnetSpeedUnitConst) GoString() string

func (SimnetSpeedUnitConst) String added in v1.3.0

func (e SimnetSpeedUnitConst) String() string

type SimnetTemperatureUnitConst added in v1.3.0

type SimnetTemperatureUnitConst uint8
const (
	SimnetTemperatureUnitCelsius    SimnetTemperatureUnitConst = 0
	SimnetTemperatureUnitFahrenheit SimnetTemperatureUnitConst = 1
)

func (SimnetTemperatureUnitConst) GoString added in v1.3.0

func (e SimnetTemperatureUnitConst) GoString() string

func (SimnetTemperatureUnitConst) String added in v1.3.0

type SimnetTimeFormatConst

type SimnetTimeFormatConst uint8
const (
	SimnetTimeFormatMMDdYyyy SimnetTimeFormatConst = 1
	SimnetTimeFormatDdMMYyyy SimnetTimeFormatConst = 2
)

func (SimnetTimeFormatConst) GoString

func (e SimnetTimeFormatConst) GoString() string

func (SimnetTimeFormatConst) String

func (e SimnetTimeFormatConst) String() string

type SimnetTimerEventConst added in v1.3.0

type SimnetTimerEventConst uint16
const (
	SimnetTimerEventRaceTimerStart    SimnetTimerEventConst = 61
	SimnetTimerEventRaceTimerStop     SimnetTimerEventConst = 62
	SimnetTimerEventRaceTimerSync     SimnetTimerEventConst = 63
	SimnetTimerEventRaceTimerReset    SimnetTimerEventConst = 64
	SimnetTimerEventTripTimerResetAll SimnetTimerEventConst = 65
	SimnetTimerEventTripTimerEnable   SimnetTimerEventConst = 100
	SimnetTimerEventTripTimerDisable  SimnetTimerEventConst = 101
)

func (SimnetTimerEventConst) GoString added in v1.3.0

func (e SimnetTimerEventConst) GoString() string

func (SimnetTimerEventConst) String added in v1.3.0

func (e SimnetTimerEventConst) String() string

type SimnetTrimTabSensorCalibration

type SimnetTrimTabSensorCalibration struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SimnetTrimTabSensorCalibration) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SimnetTrimTabSensorCalibration) DecodePayload

func (m *SimnetTrimTabSensorCalibration) DecodePayload(payload []uint8) error

func (*SimnetTrimTabSensorCalibration) EncodePayload

func (m *SimnetTrimTabSensorCalibration) EncodePayload() ([]uint8, error)

func (*SimnetTrimTabSensorCalibration) MessageInfo

func (*SimnetTrimTabSensorCalibration) PGNNumber

func (m *SimnetTrimTabSensorCalibration) PGNNumber() uint32

func (*SimnetTrimTabSensorCalibration) SetMessageInfo

func (m *SimnetTrimTabSensorCalibration) SetMessageInfo(info MessageInfo)

type SimnetVolumeUnitConst added in v1.3.0

type SimnetVolumeUnitConst uint8
const (
	SimnetVolumeUnitLiters  SimnetVolumeUnitConst = 0
	SimnetVolumeUnitGallons SimnetVolumeUnitConst = 1
)

func (SimnetVolumeUnitConst) GoString added in v1.3.0

func (e SimnetVolumeUnitConst) GoString() string

func (SimnetVolumeUnitConst) String added in v1.3.0

func (e SimnetVolumeUnitConst) String() string

type SimnetWindSpeedUnitConst added in v1.3.0

type SimnetWindSpeedUnitConst uint8
const (
	SimnetWindSpeedUnitKnots             SimnetWindSpeedUnitConst = 0
	SimnetWindSpeedUnitMetersPerSecond   SimnetWindSpeedUnitConst = 1
	SimnetWindSpeedUnitMilesPerHour      SimnetWindSpeedUnitConst = 2
	SimnetWindSpeedUnitKilometersPerHour SimnetWindSpeedUnitConst = 3
)

func (SimnetWindSpeedUnitConst) GoString added in v1.3.0

func (e SimnetWindSpeedUnitConst) GoString() string

func (SimnetWindSpeedUnitConst) String added in v1.3.0

func (e SimnetWindSpeedUnitConst) String() string

type SimradTextMessage

type SimradTextMessage struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	A                *uint64     `json:"a,omitempty" n2k:"6"`
	B                *uint64     `json:"b,omitempty" n2k:"7"`
	C                *uint64     `json:"c,omitempty" n2k:"8"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"9"`
	Prio             *uint64     `json:"prio,omitempty" n2k:"10"`
	Text             string      `json:"text,omitempty" n2k:"11"`
}

func (*SimradTextMessage) Clone added in v1.3.0

func (m *SimradTextMessage) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SimradTextMessage) DecodePayload

func (m *SimradTextMessage) DecodePayload(payload []uint8) error

func (*SimradTextMessage) EncodePayload

func (m *SimradTextMessage) EncodePayload() ([]uint8, error)

func (*SimradTextMessage) MessageInfo

func (m *SimradTextMessage) MessageInfo() MessageInfo

func (*SimradTextMessage) PGNNumber

func (m *SimradTextMessage) PGNNumber() uint32

func (*SimradTextMessage) SetMessageInfo

func (m *SimradTextMessage) SetMessageInfo(info MessageInfo)

type SmallCraftStatus

type SmallCraftStatus struct {
	Info             MessageInfo `json:"info"`
	PortTrimTab      *int64      `json:"portTrimTab,omitempty" n2k:"1"`
	StarboardTrimTab *int64      `json:"starboardTrimTab,omitempty" n2k:"2"`
}

func (*SmallCraftStatus) Clone added in v1.3.0

func (m *SmallCraftStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SmallCraftStatus) DecodePayload

func (m *SmallCraftStatus) DecodePayload(payload []uint8) error

func (*SmallCraftStatus) EncodePayload

func (m *SmallCraftStatus) EncodePayload() ([]uint8, error)

func (*SmallCraftStatus) MessageInfo

func (m *SmallCraftStatus) MessageInfo() MessageInfo

func (*SmallCraftStatus) PGNNumber

func (m *SmallCraftStatus) PGNNumber() uint32

func (*SmallCraftStatus) PortTrimTabValue

func (m *SmallCraftStatus) PortTrimTabValue() (float64, bool)

PortTrimTabValue returns PortTrimTab as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SmallCraftStatus) SetMessageInfo

func (m *SmallCraftStatus) SetMessageInfo(info MessageInfo)

func (*SmallCraftStatus) SetPortTrimTabValue

func (m *SmallCraftStatus) SetPortTrimTabValue(v float64)

SetPortTrimTabValue sets PortTrimTab from a physical value in %, rounded to the nearest wire tick of 1.

func (*SmallCraftStatus) SetStarboardTrimTabValue

func (m *SmallCraftStatus) SetStarboardTrimTabValue(v float64)

SetStarboardTrimTabValue sets StarboardTrimTab from a physical value in %, rounded to the nearest wire tick of 1.

func (*SmallCraftStatus) StarboardTrimTabValue

func (m *SmallCraftStatus) StarboardTrimTabValue() (float64, bool)

StarboardTrimTabValue returns StarboardTrimTab as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type SonichubAlbum

type SonichubAlbum struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Item             *uint64     `json:"item,omitempty" n2k:"7"`
	Text             string      `json:"text,omitempty" n2k:"8"`
}

func (*SonichubAlbum) Clone added in v1.3.0

func (m *SonichubAlbum) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubAlbum) DecodePayload

func (m *SonichubAlbum) DecodePayload(payload []uint8) error

func (*SonichubAlbum) EncodePayload

func (m *SonichubAlbum) EncodePayload() ([]uint8, error)

func (*SonichubAlbum) MessageInfo

func (m *SonichubAlbum) MessageInfo() MessageInfo

func (*SonichubAlbum) PGNNumber

func (m *SonichubAlbum) PGNNumber() uint32

func (*SonichubAlbum) SetMessageInfo

func (m *SonichubAlbum) SetMessageInfo(info MessageInfo)

type SonichubAmRadio

type SonichubAmRadio struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Item             *uint64     `json:"item,omitempty" n2k:"7"`
	Frequency        *uint64     `json:"frequency,omitempty" n2k:"8"`
	NoiseLevel       *uint64     `json:"noiseLevel,omitempty" n2k:"9"`
	SignalLevel      *uint64     `json:"signalLevel,omitempty" n2k:"10"`
	Text             string      `json:"text,omitempty" n2k:"12"`
}

func (*SonichubAmRadio) Clone added in v1.3.0

func (m *SonichubAmRadio) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubAmRadio) DecodePayload

func (m *SonichubAmRadio) DecodePayload(payload []uint8) error

func (*SonichubAmRadio) EncodePayload

func (m *SonichubAmRadio) EncodePayload() ([]uint8, error)

func (*SonichubAmRadio) FrequencyValue

func (m *SonichubAmRadio) FrequencyValue() (float64, bool)

FrequencyValue returns Frequency as a physical value in Hz (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SonichubAmRadio) MessageInfo

func (m *SonichubAmRadio) MessageInfo() MessageInfo

func (*SonichubAmRadio) PGNNumber

func (m *SonichubAmRadio) PGNNumber() uint32

func (*SonichubAmRadio) SetFrequencyValue

func (m *SonichubAmRadio) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 1.

func (*SonichubAmRadio) SetMessageInfo

func (m *SonichubAmRadio) SetMessageInfo(info MessageInfo)

type SonichubArtist

type SonichubArtist struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Item             *uint64     `json:"item,omitempty" n2k:"7"`
	Text             string      `json:"text,omitempty" n2k:"8"`
}

func (*SonichubArtist) Clone added in v1.3.0

func (m *SonichubArtist) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubArtist) DecodePayload

func (m *SonichubArtist) DecodePayload(payload []uint8) error

func (*SonichubArtist) EncodePayload

func (m *SonichubArtist) EncodePayload() ([]uint8, error)

func (*SonichubArtist) MessageInfo

func (m *SonichubArtist) MessageInfo() MessageInfo

func (*SonichubArtist) PGNNumber

func (m *SonichubArtist) PGNNumber() uint32

func (*SonichubArtist) SetMessageInfo

func (m *SonichubArtist) SetMessageInfo(info MessageInfo)

type SonichubCommandConst

type SonichubCommandConst uint8
const (
	SonichubCommandInit2      SonichubCommandConst = 1
	SonichubCommandAMRadio    SonichubCommandConst = 4
	SonichubCommandZoneInfo   SonichubCommandConst = 5
	SonichubCommandSource     SonichubCommandConst = 6
	SonichubCommandSourceList SonichubCommandConst = 8
	SonichubCommandControl    SonichubCommandConst = 9
	SonichubCommandFMRadio    SonichubCommandConst = 12
	SonichubCommandPlaylist   SonichubCommandConst = 13
	SonichubCommandTrack      SonichubCommandConst = 14
	SonichubCommandArtist     SonichubCommandConst = 15
	SonichubCommandAlbum      SonichubCommandConst = 16
	SonichubCommandMenuItem   SonichubCommandConst = 19
	SonichubCommandZones      SonichubCommandConst = 20
	SonichubCommandMaxVolume  SonichubCommandConst = 23
	SonichubCommandVolume     SonichubCommandConst = 24
	SonichubCommandInit1      SonichubCommandConst = 25
	SonichubCommandPosition   SonichubCommandConst = 48
	SonichubCommandInit3      SonichubCommandConst = 50
)

func (SonichubCommandConst) GoString

func (e SonichubCommandConst) GoString() string

func (SonichubCommandConst) String

func (e SonichubCommandConst) String() string

type SonichubControl

type SonichubControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Item             *uint64     `json:"item,omitempty" n2k:"7"`
}

func (*SonichubControl) Clone added in v1.3.0

func (m *SonichubControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubControl) DecodePayload

func (m *SonichubControl) DecodePayload(payload []uint8) error

func (*SonichubControl) EncodePayload

func (m *SonichubControl) EncodePayload() ([]uint8, error)

func (*SonichubControl) MessageInfo

func (m *SonichubControl) MessageInfo() MessageInfo

func (*SonichubControl) PGNNumber

func (m *SonichubControl) PGNNumber() uint32

func (*SonichubControl) SetMessageInfo

func (m *SonichubControl) SetMessageInfo(info MessageInfo)

type SonichubControlConst

type SonichubControlConst uint8
const (
	SonichubControlSet SonichubControlConst = 0
	SonichubControlAck SonichubControlConst = 128
)

func (SonichubControlConst) GoString

func (e SonichubControlConst) GoString() string

func (SonichubControlConst) String

func (e SonichubControlConst) String() string

type SonichubFmRadio

type SonichubFmRadio struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Item             *uint64     `json:"item,omitempty" n2k:"7"`
	Frequency        *uint64     `json:"frequency,omitempty" n2k:"8"`
	NoiseLevel       *uint64     `json:"noiseLevel,omitempty" n2k:"9"`
	SignalLevel      *uint64     `json:"signalLevel,omitempty" n2k:"10"`
	Text             string      `json:"text,omitempty" n2k:"12"`
}

func (*SonichubFmRadio) Clone added in v1.3.0

func (m *SonichubFmRadio) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubFmRadio) DecodePayload

func (m *SonichubFmRadio) DecodePayload(payload []uint8) error

func (*SonichubFmRadio) EncodePayload

func (m *SonichubFmRadio) EncodePayload() ([]uint8, error)

func (*SonichubFmRadio) FrequencyValue

func (m *SonichubFmRadio) FrequencyValue() (float64, bool)

FrequencyValue returns Frequency as a physical value in Hz (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SonichubFmRadio) MessageInfo

func (m *SonichubFmRadio) MessageInfo() MessageInfo

func (*SonichubFmRadio) PGNNumber

func (m *SonichubFmRadio) PGNNumber() uint32

func (*SonichubFmRadio) SetFrequencyValue

func (m *SonichubFmRadio) SetFrequencyValue(v float64)

SetFrequencyValue sets Frequency from a physical value in Hz, rounded to the nearest wire tick of 1.

func (*SonichubFmRadio) SetMessageInfo

func (m *SonichubFmRadio) SetMessageInfo(info MessageInfo)

type SonichubInit1

type SonichubInit1 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
}

func (*SonichubInit1) Clone added in v1.3.0

func (m *SonichubInit1) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubInit1) DecodePayload

func (m *SonichubInit1) DecodePayload(payload []uint8) error

func (*SonichubInit1) EncodePayload

func (m *SonichubInit1) EncodePayload() ([]uint8, error)

func (*SonichubInit1) MessageInfo

func (m *SonichubInit1) MessageInfo() MessageInfo

func (*SonichubInit1) PGNNumber

func (m *SonichubInit1) PGNNumber() uint32

func (*SonichubInit1) SetMessageInfo

func (m *SonichubInit1) SetMessageInfo(info MessageInfo)

type SonichubInit2

type SonichubInit2 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	A                *uint64     `json:"a,omitempty" n2k:"7"`
	B                *uint64     `json:"b,omitempty" n2k:"8"`
}

func (*SonichubInit2) Clone added in v1.3.0

func (m *SonichubInit2) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubInit2) DecodePayload

func (m *SonichubInit2) DecodePayload(payload []uint8) error

func (*SonichubInit2) EncodePayload

func (m *SonichubInit2) EncodePayload() ([]uint8, error)

func (*SonichubInit2) MessageInfo

func (m *SonichubInit2) MessageInfo() MessageInfo

func (*SonichubInit2) PGNNumber

func (m *SonichubInit2) PGNNumber() uint32

func (*SonichubInit2) SetMessageInfo

func (m *SonichubInit2) SetMessageInfo(info MessageInfo)

type SonichubInit3

type SonichubInit3 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	A                *uint64     `json:"a,omitempty" n2k:"7"`
	B                *uint64     `json:"b,omitempty" n2k:"8"`
}

func (*SonichubInit3) Clone added in v1.3.0

func (m *SonichubInit3) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubInit3) DecodePayload

func (m *SonichubInit3) DecodePayload(payload []uint8) error

func (*SonichubInit3) EncodePayload

func (m *SonichubInit3) EncodePayload() ([]uint8, error)

func (*SonichubInit3) MessageInfo

func (m *SonichubInit3) MessageInfo() MessageInfo

func (*SonichubInit3) PGNNumber

func (m *SonichubInit3) PGNNumber() uint32

func (*SonichubInit3) SetMessageInfo

func (m *SonichubInit3) SetMessageInfo(info MessageInfo)

type SonichubMaxVolume

type SonichubMaxVolume struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Zone             *uint64     `json:"zone,omitempty" n2k:"7"`
	Level            *uint64     `json:"level,omitempty" n2k:"8"`
}

func (*SonichubMaxVolume) Clone added in v1.3.0

func (m *SonichubMaxVolume) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubMaxVolume) DecodePayload

func (m *SonichubMaxVolume) DecodePayload(payload []uint8) error

func (*SonichubMaxVolume) EncodePayload

func (m *SonichubMaxVolume) EncodePayload() ([]uint8, error)

func (*SonichubMaxVolume) MessageInfo

func (m *SonichubMaxVolume) MessageInfo() MessageInfo

func (*SonichubMaxVolume) PGNNumber

func (m *SonichubMaxVolume) PGNNumber() uint32

func (*SonichubMaxVolume) SetMessageInfo

func (m *SonichubMaxVolume) SetMessageInfo(info MessageInfo)

type SonichubMenuItem

type SonichubMenuItem struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Item             *uint64     `json:"item,omitempty" n2k:"7"`
	C                *uint64     `json:"c,omitempty" n2k:"8"`
	D                *uint64     `json:"d,omitempty" n2k:"9"`
	E                *uint64     `json:"e,omitempty" n2k:"10"`
	Text             string      `json:"text,omitempty" n2k:"11"`
}

func (*SonichubMenuItem) Clone added in v1.3.0

func (m *SonichubMenuItem) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubMenuItem) DecodePayload

func (m *SonichubMenuItem) DecodePayload(payload []uint8) error

func (*SonichubMenuItem) EncodePayload

func (m *SonichubMenuItem) EncodePayload() ([]uint8, error)

func (*SonichubMenuItem) MessageInfo

func (m *SonichubMenuItem) MessageInfo() MessageInfo

func (*SonichubMenuItem) PGNNumber

func (m *SonichubMenuItem) PGNNumber() uint32

func (*SonichubMenuItem) SetMessageInfo

func (m *SonichubMenuItem) SetMessageInfo(info MessageInfo)

type SonichubPlaylist

type SonichubPlaylist struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Item             *uint64     `json:"item,omitempty" n2k:"7"`
	A                *uint64     `json:"a,omitempty" n2k:"8"`
	CurrentTrack     *uint64     `json:"currentTrack,omitempty" n2k:"9"`
	Tracks           *uint64     `json:"tracks,omitempty" n2k:"10"`
	Length           *uint64     `json:"length,omitempty" n2k:"11"`
	PositionInTrack  *uint64     `json:"positionInTrack,omitempty" n2k:"12"`
}

func (*SonichubPlaylist) Clone added in v1.3.0

func (m *SonichubPlaylist) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubPlaylist) DecodePayload

func (m *SonichubPlaylist) DecodePayload(payload []uint8) error

func (*SonichubPlaylist) EncodePayload

func (m *SonichubPlaylist) EncodePayload() ([]uint8, error)

func (*SonichubPlaylist) LengthValue

func (m *SonichubPlaylist) LengthValue() (float64, bool)

LengthValue returns Length as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SonichubPlaylist) MessageInfo

func (m *SonichubPlaylist) MessageInfo() MessageInfo

func (*SonichubPlaylist) PGNNumber

func (m *SonichubPlaylist) PGNNumber() uint32

func (*SonichubPlaylist) PositionInTrackValue

func (m *SonichubPlaylist) PositionInTrackValue() (float64, bool)

PositionInTrackValue returns PositionInTrack as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SonichubPlaylist) SetLengthValue

func (m *SonichubPlaylist) SetLengthValue(v float64)

SetLengthValue sets Length from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*SonichubPlaylist) SetMessageInfo

func (m *SonichubPlaylist) SetMessageInfo(info MessageInfo)

func (*SonichubPlaylist) SetPositionInTrackValue

func (m *SonichubPlaylist) SetPositionInTrackValue(v float64)

SetPositionInTrackValue sets PositionInTrack from a physical value in s, rounded to the nearest wire tick of 0.001.

type SonichubPlaylistConst

type SonichubPlaylistConst uint8
const (
	SonichubPlaylistReport       SonichubPlaylistConst = 1
	SonichubPlaylistNextSong     SonichubPlaylistConst = 4
	SonichubPlaylistPreviousSong SonichubPlaylistConst = 6
)

func (SonichubPlaylistConst) GoString

func (e SonichubPlaylistConst) GoString() string

func (SonichubPlaylistConst) String

func (e SonichubPlaylistConst) String() string

type SonichubPosition

type SonichubPosition struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Position         *uint64     `json:"position,omitempty" n2k:"7"`
}

func (*SonichubPosition) Clone added in v1.3.0

func (m *SonichubPosition) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubPosition) DecodePayload

func (m *SonichubPosition) DecodePayload(payload []uint8) error

func (*SonichubPosition) EncodePayload

func (m *SonichubPosition) EncodePayload() ([]uint8, error)

func (*SonichubPosition) MessageInfo

func (m *SonichubPosition) MessageInfo() MessageInfo

func (*SonichubPosition) PGNNumber

func (m *SonichubPosition) PGNNumber() uint32

func (*SonichubPosition) PositionValue

func (m *SonichubPosition) PositionValue() (float64, bool)

PositionValue returns Position as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SonichubPosition) SetMessageInfo

func (m *SonichubPosition) SetMessageInfo(info MessageInfo)

func (*SonichubPosition) SetPositionValue

func (m *SonichubPosition) SetPositionValue(v float64)

SetPositionValue sets Position from a physical value in s, rounded to the nearest wire tick of 0.001.

type SonichubSource

type SonichubSource struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Source           *uint64     `json:"source,omitempty" n2k:"7"`
}

func (*SonichubSource) Clone added in v1.3.0

func (m *SonichubSource) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubSource) DecodePayload

func (m *SonichubSource) DecodePayload(payload []uint8) error

func (*SonichubSource) EncodePayload

func (m *SonichubSource) EncodePayload() ([]uint8, error)

func (*SonichubSource) MessageInfo

func (m *SonichubSource) MessageInfo() MessageInfo

func (*SonichubSource) PGNNumber

func (m *SonichubSource) PGNNumber() uint32

func (*SonichubSource) SetMessageInfo

func (m *SonichubSource) SetMessageInfo(info MessageInfo)

type SonichubSourceConst

type SonichubSourceConst uint8
const (
	SonichubSourceAM   SonichubSourceConst = 0
	SonichubSourceFM   SonichubSourceConst = 1
	SonichubSourceIPod SonichubSourceConst = 2
	SonichubSourceUSB  SonichubSourceConst = 3
	SonichubSourceAUX  SonichubSourceConst = 4
	SonichubSourceAUX2 SonichubSourceConst = 5
	SonichubSourceMic  SonichubSourceConst = 6
)

func (SonichubSourceConst) GoString

func (e SonichubSourceConst) GoString() string

func (SonichubSourceConst) String

func (e SonichubSourceConst) String() string

type SonichubSourceList

type SonichubSourceList struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	SourceId         *uint64     `json:"sourceId,omitempty" n2k:"7"`
	A                *uint64     `json:"a,omitempty" n2k:"8"`
	Text             string      `json:"text,omitempty" n2k:"9"`
}

func (*SonichubSourceList) Clone added in v1.3.0

func (m *SonichubSourceList) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubSourceList) DecodePayload

func (m *SonichubSourceList) DecodePayload(payload []uint8) error

func (*SonichubSourceList) EncodePayload

func (m *SonichubSourceList) EncodePayload() ([]uint8, error)

func (*SonichubSourceList) MessageInfo

func (m *SonichubSourceList) MessageInfo() MessageInfo

func (*SonichubSourceList) PGNNumber

func (m *SonichubSourceList) PGNNumber() uint32

func (*SonichubSourceList) SetMessageInfo

func (m *SonichubSourceList) SetMessageInfo(info MessageInfo)

type SonichubTrack

type SonichubTrack struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Item             *uint64     `json:"item,omitempty" n2k:"7"`
	Text             string      `json:"text,omitempty" n2k:"8"`
}

func (*SonichubTrack) Clone added in v1.3.0

func (m *SonichubTrack) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubTrack) DecodePayload

func (m *SonichubTrack) DecodePayload(payload []uint8) error

func (*SonichubTrack) EncodePayload

func (m *SonichubTrack) EncodePayload() ([]uint8, error)

func (*SonichubTrack) MessageInfo

func (m *SonichubTrack) MessageInfo() MessageInfo

func (*SonichubTrack) PGNNumber

func (m *SonichubTrack) PGNNumber() uint32

func (*SonichubTrack) SetMessageInfo

func (m *SonichubTrack) SetMessageInfo(info MessageInfo)

type SonichubTuningConst

type SonichubTuningConst uint8
const (
	SonichubTuningSeekingUp   SonichubTuningConst = 1
	SonichubTuningTuned       SonichubTuningConst = 2
	SonichubTuningSeekingDown SonichubTuningConst = 3
)

func (SonichubTuningConst) GoString

func (e SonichubTuningConst) GoString() string

func (SonichubTuningConst) String

func (e SonichubTuningConst) String() string

type SonichubVolume

type SonichubVolume struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Zone             *uint64     `json:"zone,omitempty" n2k:"7"`
	Level            *uint64     `json:"level,omitempty" n2k:"8"`
}

func (*SonichubVolume) Clone added in v1.3.0

func (m *SonichubVolume) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubVolume) DecodePayload

func (m *SonichubVolume) DecodePayload(payload []uint8) error

func (*SonichubVolume) EncodePayload

func (m *SonichubVolume) EncodePayload() ([]uint8, error)

func (*SonichubVolume) MessageInfo

func (m *SonichubVolume) MessageInfo() MessageInfo

func (*SonichubVolume) PGNNumber

func (m *SonichubVolume) PGNNumber() uint32

func (*SonichubVolume) SetMessageInfo

func (m *SonichubVolume) SetMessageInfo(info MessageInfo)

type SonichubZoneInfo

type SonichubZoneInfo struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Zone             *uint64     `json:"zone,omitempty" n2k:"7"`
}

func (*SonichubZoneInfo) Clone added in v1.3.0

func (m *SonichubZoneInfo) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubZoneInfo) DecodePayload

func (m *SonichubZoneInfo) DecodePayload(payload []uint8) error

func (*SonichubZoneInfo) EncodePayload

func (m *SonichubZoneInfo) EncodePayload() ([]uint8, error)

func (*SonichubZoneInfo) MessageInfo

func (m *SonichubZoneInfo) MessageInfo() MessageInfo

func (*SonichubZoneInfo) PGNNumber

func (m *SonichubZoneInfo) PGNNumber() uint32

func (*SonichubZoneInfo) SetMessageInfo

func (m *SonichubZoneInfo) SetMessageInfo(info MessageInfo)

type SonichubZones

type SonichubZones struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ProprietaryId    *uint64     `json:"proprietaryId,omitempty" n2k:"5"`
	Control          *uint64     `json:"control,omitempty" n2k:"6"`
	Zones            *uint64     `json:"zones,omitempty" n2k:"7"`
}

func (*SonichubZones) Clone added in v1.3.0

func (m *SonichubZones) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SonichubZones) DecodePayload

func (m *SonichubZones) DecodePayload(payload []uint8) error

func (*SonichubZones) EncodePayload

func (m *SonichubZones) EncodePayload() ([]uint8, error)

func (*SonichubZones) MessageInfo

func (m *SonichubZones) MessageInfo() MessageInfo

func (*SonichubZones) PGNNumber

func (m *SonichubZones) PGNNumber() uint32

func (*SonichubZones) SetMessageInfo

func (m *SonichubZones) SetMessageInfo(info MessageInfo)

type SourceDefinition

type SourceDefinition struct {
	PGN                          uint32
	StructName                   string
	SourceID                     string
	Description                  string
	Explanation                  string
	Type                         string
	Complete                     bool
	Fallback                     bool
	Missing                      []string
	Length                       *int
	MinLength                    *int
	Priority                     *uint8
	TransmissionInterval         *int
	TransmissionIrregular        *bool
	RepeatingFieldSet1StartField *int
	RepeatingFieldSet1CountField *int
	RepeatingFieldSet1Size       *int
	RepeatingFieldSet2StartField *int
	RepeatingFieldSet2CountField *int
	RepeatingFieldSet2Size       *int
	Fields                       []SourceFieldDefinition
}

type SourceFieldDefinition

type SourceFieldDefinition struct {
	Order                               int
	SourceID                            string
	Name                                string
	Description                         string
	BitLength                           *uint16
	BitLengthField                      *int
	BitOffset                           *uint16
	BitStart                            *uint16
	Resolution                          *float64
	Signed                              bool
	Unit                                string
	FieldType                           string
	PhysicalQuantity                    string
	LookupEnumeration                   string
	LookupBitEnumeration                string
	LookupIndirectEnumeration           string
	LookupIndirectEnumerationFieldOrder *int
	LookupFieldTypeEnumeration          string
	Match                               *int
	RangeMin                            *float64
	RangeMax                            *float64
	Offset                              *float64
	OutOfRangeValue                     *int64
	PartOfPrimaryKey                    *bool
	ReservedValue                       *int64
	UnknownValue                        *int64
	Condition                           string
	BitLengthVariable                   bool
}

type Speed

type Speed struct {
	Info                     MessageInfo `json:"info"`
	Sid                      *uint64     `json:"sid,omitempty" n2k:"1"`
	SpeedWaterReferenced     *uint64     `json:"speedWaterReferenced,omitempty" n2k:"2"`
	SpeedGroundReferenced    *uint64     `json:"speedGroundReferenced,omitempty" n2k:"3"`
	SpeedWaterReferencedType *uint64     `json:"speedWaterReferencedType,omitempty" n2k:"4"`
	SpeedDirection           *uint64     `json:"speedDirection,omitempty" n2k:"5"`
}

func (*Speed) Clone added in v1.3.0

func (m *Speed) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Speed) DecodePayload

func (m *Speed) DecodePayload(payload []uint8) error

func (*Speed) EncodePayload

func (m *Speed) EncodePayload() ([]uint8, error)

func (*Speed) MessageInfo

func (m *Speed) MessageInfo() MessageInfo

func (*Speed) PGNNumber

func (m *Speed) PGNNumber() uint32

func (*Speed) SetMessageInfo

func (m *Speed) SetMessageInfo(info MessageInfo)

func (*Speed) SetSpeedGroundReferencedValue

func (m *Speed) SetSpeedGroundReferencedValue(v float64)

SetSpeedGroundReferencedValue sets SpeedGroundReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*Speed) SetSpeedWaterReferencedValue

func (m *Speed) SetSpeedWaterReferencedValue(v float64)

SetSpeedWaterReferencedValue sets SpeedWaterReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*Speed) SpeedGroundReferencedValue

func (m *Speed) SpeedGroundReferencedValue() (float64, bool)

SpeedGroundReferencedValue returns SpeedGroundReferenced as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Speed) SpeedWaterReferencedValue

func (m *Speed) SpeedWaterReferencedValue() (float64, bool)

SpeedWaterReferencedValue returns SpeedWaterReferenced as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type SpeedTypeConst

type SpeedTypeConst uint8
const (
	SpeedTypeSingleSpeed       SpeedTypeConst = 0
	SpeedTypeDualSpeed         SpeedTypeConst = 1
	SpeedTypeProportionalSpeed SpeedTypeConst = 2
)

func (SpeedTypeConst) GoString

func (e SpeedTypeConst) GoString() string

func (SpeedTypeConst) String

func (e SpeedTypeConst) String() string

type StationHealthConst added in v1.3.0

type StationHealthConst uint8
const (
	StationHealthNotWorking         StationHealthConst = 0
	StationHealthUnmonitored        StationHealthConst = 1
	StationHealthHealthyOperational StationHealthConst = 2
	StationHealthHealthyTestMode    StationHealthConst = 3
	StationHealthTestMode           StationHealthConst = 4
)

func (StationHealthConst) GoString added in v1.3.0

func (e StationHealthConst) GoString() string

func (StationHealthConst) String added in v1.3.0

func (e StationHealthConst) String() string

type StationStatusConst

type StationStatusConst uint8
const (
	StationStatusStationInUse StationStatusConst = 1
	StationStatusLowSNR       StationStatusConst = 2
	StationStatusCycleError   StationStatusConst = 4
	StationStatusBlink        StationStatusConst = 8
)

func (StationStatusConst) GoString

func (e StationStatusConst) GoString() string

func (StationStatusConst) String

func (e StationStatusConst) String() string

type StationTypeConst

type StationTypeConst uint8
const (
	StationTypeAllTypesOfMobileStation        StationTypeConst = 0
	StationTypeAllTypesOfClassBMobileStation  StationTypeConst = 2
	StationTypeSARAirborneMobileStation       StationTypeConst = 3
	StationTypeAtoNStation                    StationTypeConst = 4
	StationTypeClassBCSShipborneMobileStation StationTypeConst = 5
	StationTypeInlandWaterways                StationTypeConst = 6
	StationTypeRegionalUse7                   StationTypeConst = 7
	StationTypeRegionalUse8                   StationTypeConst = 8
	StationTypeRegionalUse9                   StationTypeConst = 9
)

func (StationTypeConst) GoString

func (e StationTypeConst) GoString() string

func (StationTypeConst) String

func (e StationTypeConst) String() string

type SteeringModeConst

type SteeringModeConst uint8
const (
	SteeringModeMainSteering             SteeringModeConst = 0
	SteeringModeNonFollowUpDevice        SteeringModeConst = 1
	SteeringModeFollowUpDevice           SteeringModeConst = 2
	SteeringModeHeadingControlStandalone SteeringModeConst = 3
	SteeringModeHeadingControl           SteeringModeConst = 4
	SteeringModeTrackControl             SteeringModeConst = 5
)

func (SteeringModeConst) GoString

func (e SteeringModeConst) GoString() string

func (SteeringModeConst) String

func (e SteeringModeConst) String() string

type SupportedSourceData

type SupportedSourceData struct {
	Info         MessageInfo                     `json:"info"`
	IdOffset     *uint64                         `json:"idOffset,omitempty" n2k:"1"`
	IdCount      *uint64                         `json:"idCount,omitempty" n2k:"2"`
	TotalIdCount *uint64                         `json:"totalIdCount,omitempty" n2k:"3"`
	Repeating1   []SupportedSourceDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*SupportedSourceData) Clone added in v1.3.0

func (m *SupportedSourceData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SupportedSourceData) DecodePayload

func (m *SupportedSourceData) DecodePayload(payload []uint8) error

func (*SupportedSourceData) EncodePayload

func (m *SupportedSourceData) EncodePayload() ([]uint8, error)

func (*SupportedSourceData) MessageInfo

func (m *SupportedSourceData) MessageInfo() MessageInfo

func (*SupportedSourceData) PGNNumber

func (m *SupportedSourceData) PGNNumber() uint32

func (*SupportedSourceData) SetMessageInfo

func (m *SupportedSourceData) SetMessageInfo(info MessageInfo)

type SupportedSourceDataRepeating1

type SupportedSourceDataRepeating1 struct {
	Id             *uint64 `json:"id,omitempty" n2k:"4"`
	Source         *uint64 `json:"source,omitempty" n2k:"5"`
	Number         *uint64 `json:"number,omitempty" n2k:"6"`
	Name           string  `json:"name,omitempty" n2k:"7"`
	PlaySupport    *uint64 `json:"playSupport,omitempty" n2k:"8"`
	BrowseSupport  *uint64 `json:"browseSupport,omitempty" n2k:"9"`
	ThumbsSupport  *uint64 `json:"thumbsSupport,omitempty" n2k:"10"`
	Connected      *uint64 `json:"connected,omitempty" n2k:"11"`
	RepeatSupport  *uint64 `json:"repeatSupport,omitempty" n2k:"12"`
	ShuffleSupport *uint64 `json:"shuffleSupport,omitempty" n2k:"13"`
}

type SupportedZoneData

type SupportedZoneData struct {
	Info           MessageInfo                   `json:"info"`
	FirstZoneId    *uint64                       `json:"firstZoneId,omitempty" n2k:"1"`
	ZoneCount      *uint64                       `json:"zoneCount,omitempty" n2k:"2"`
	TotalZoneCount *uint64                       `json:"totalZoneCount,omitempty" n2k:"3"`
	Repeating1     []SupportedZoneDataRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*SupportedZoneData) Clone added in v1.3.0

func (m *SupportedZoneData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SupportedZoneData) DecodePayload

func (m *SupportedZoneData) DecodePayload(payload []uint8) error

func (*SupportedZoneData) EncodePayload

func (m *SupportedZoneData) EncodePayload() ([]uint8, error)

func (*SupportedZoneData) MessageInfo

func (m *SupportedZoneData) MessageInfo() MessageInfo

func (*SupportedZoneData) PGNNumber

func (m *SupportedZoneData) PGNNumber() uint32

func (*SupportedZoneData) SetMessageInfo

func (m *SupportedZoneData) SetMessageInfo(info MessageInfo)

type SupportedZoneDataRepeating1

type SupportedZoneDataRepeating1 struct {
	ZoneId *uint64 `json:"zoneId,omitempty" n2k:"4"`
	Name   string  `json:"name,omitempty" n2k:"5"`
}

type SuzukiEngineAndStorageDeviceConfig

type SuzukiEngineAndStorageDeviceConfig struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SuzukiEngineAndStorageDeviceConfig) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiEngineAndStorageDeviceConfig) DecodePayload

func (m *SuzukiEngineAndStorageDeviceConfig) DecodePayload(payload []uint8) error

func (*SuzukiEngineAndStorageDeviceConfig) EncodePayload

func (m *SuzukiEngineAndStorageDeviceConfig) EncodePayload() ([]uint8, error)

func (*SuzukiEngineAndStorageDeviceConfig) MessageInfo

func (*SuzukiEngineAndStorageDeviceConfig) PGNNumber

func (*SuzukiEngineAndStorageDeviceConfig) SetMessageInfo

func (m *SuzukiEngineAndStorageDeviceConfig) SetMessageInfo(info MessageInfo)

type SuzukiEngineData

type SuzukiEngineData struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SuzukiEngineData) Clone added in v1.3.0

func (m *SuzukiEngineData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiEngineData) DecodePayload

func (m *SuzukiEngineData) DecodePayload(payload []uint8) error

func (*SuzukiEngineData) EncodePayload

func (m *SuzukiEngineData) EncodePayload() ([]uint8, error)

func (*SuzukiEngineData) MessageInfo

func (m *SuzukiEngineData) MessageInfo() MessageInfo

func (*SuzukiEngineData) PGNNumber

func (m *SuzukiEngineData) PGNNumber() uint32

func (*SuzukiEngineData) SetMessageInfo

func (m *SuzukiEngineData) SetMessageInfo(info MessageInfo)

type SuzukiEngineDataA

type SuzukiEngineDataA struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*SuzukiEngineDataA) Clone added in v1.3.0

func (m *SuzukiEngineDataA) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiEngineDataA) DecodePayload

func (m *SuzukiEngineDataA) DecodePayload(payload []uint8) error

func (*SuzukiEngineDataA) EncodePayload

func (m *SuzukiEngineDataA) EncodePayload() ([]uint8, error)

func (*SuzukiEngineDataA) MessageInfo

func (m *SuzukiEngineDataA) MessageInfo() MessageInfo

func (*SuzukiEngineDataA) PGNNumber

func (m *SuzukiEngineDataA) PGNNumber() uint32

func (*SuzukiEngineDataA) SetMessageInfo

func (m *SuzukiEngineDataA) SetMessageInfo(info MessageInfo)

type SuzukiEngineDataB

type SuzukiEngineDataB struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*SuzukiEngineDataB) Clone added in v1.3.0

func (m *SuzukiEngineDataB) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiEngineDataB) DecodePayload

func (m *SuzukiEngineDataB) DecodePayload(payload []uint8) error

func (*SuzukiEngineDataB) EncodePayload

func (m *SuzukiEngineDataB) EncodePayload() ([]uint8, error)

func (*SuzukiEngineDataB) MessageInfo

func (m *SuzukiEngineDataB) MessageInfo() MessageInfo

func (*SuzukiEngineDataB) PGNNumber

func (m *SuzukiEngineDataB) PGNNumber() uint32

func (*SuzukiEngineDataB) SetMessageInfo

func (m *SuzukiEngineDataB) SetMessageInfo(info MessageInfo)

type SuzukiEngineDataC

type SuzukiEngineDataC struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*SuzukiEngineDataC) Clone added in v1.3.0

func (m *SuzukiEngineDataC) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiEngineDataC) DecodePayload

func (m *SuzukiEngineDataC) DecodePayload(payload []uint8) error

func (*SuzukiEngineDataC) EncodePayload

func (m *SuzukiEngineDataC) EncodePayload() ([]uint8, error)

func (*SuzukiEngineDataC) MessageInfo

func (m *SuzukiEngineDataC) MessageInfo() MessageInfo

func (*SuzukiEngineDataC) PGNNumber

func (m *SuzukiEngineDataC) PGNNumber() uint32

func (*SuzukiEngineDataC) SetMessageInfo

func (m *SuzukiEngineDataC) SetMessageInfo(info MessageInfo)

type SuzukiEngineDataD

type SuzukiEngineDataD struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*SuzukiEngineDataD) Clone added in v1.3.0

func (m *SuzukiEngineDataD) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiEngineDataD) DecodePayload

func (m *SuzukiEngineDataD) DecodePayload(payload []uint8) error

func (*SuzukiEngineDataD) EncodePayload

func (m *SuzukiEngineDataD) EncodePayload() ([]uint8, error)

func (*SuzukiEngineDataD) MessageInfo

func (m *SuzukiEngineDataD) MessageInfo() MessageInfo

func (*SuzukiEngineDataD) PGNNumber

func (m *SuzukiEngineDataD) PGNNumber() uint32

func (*SuzukiEngineDataD) SetMessageInfo

func (m *SuzukiEngineDataD) SetMessageInfo(info MessageInfo)

type SuzukiEngineDataE

type SuzukiEngineDataE struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*SuzukiEngineDataE) Clone added in v1.3.0

func (m *SuzukiEngineDataE) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiEngineDataE) DecodePayload

func (m *SuzukiEngineDataE) DecodePayload(payload []uint8) error

func (*SuzukiEngineDataE) EncodePayload

func (m *SuzukiEngineDataE) EncodePayload() ([]uint8, error)

func (*SuzukiEngineDataE) MessageInfo

func (m *SuzukiEngineDataE) MessageInfo() MessageInfo

func (*SuzukiEngineDataE) PGNNumber

func (m *SuzukiEngineDataE) PGNNumber() uint32

func (*SuzukiEngineDataE) SetMessageInfo

func (m *SuzukiEngineDataE) SetMessageInfo(info MessageInfo)

type SuzukiEngineSensorData

type SuzukiEngineSensorData struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SuzukiEngineSensorData) Clone added in v1.3.0

func (m *SuzukiEngineSensorData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiEngineSensorData) DecodePayload

func (m *SuzukiEngineSensorData) DecodePayload(payload []uint8) error

func (*SuzukiEngineSensorData) EncodePayload

func (m *SuzukiEngineSensorData) EncodePayload() ([]uint8, error)

func (*SuzukiEngineSensorData) MessageInfo

func (m *SuzukiEngineSensorData) MessageInfo() MessageInfo

func (*SuzukiEngineSensorData) PGNNumber

func (m *SuzukiEngineSensorData) PGNNumber() uint32

func (*SuzukiEngineSensorData) SetMessageInfo

func (m *SuzukiEngineSensorData) SetMessageInfo(info MessageInfo)

type SuzukiFuelManagement

type SuzukiFuelManagement struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*SuzukiFuelManagement) Clone added in v1.3.0

func (m *SuzukiFuelManagement) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiFuelManagement) DecodePayload

func (m *SuzukiFuelManagement) DecodePayload(payload []uint8) error

func (*SuzukiFuelManagement) EncodePayload

func (m *SuzukiFuelManagement) EncodePayload() ([]uint8, error)

func (*SuzukiFuelManagement) MessageInfo

func (m *SuzukiFuelManagement) MessageInfo() MessageInfo

func (*SuzukiFuelManagement) PGNNumber

func (m *SuzukiFuelManagement) PGNNumber() uint32

func (*SuzukiFuelManagement) SetMessageInfo

func (m *SuzukiFuelManagement) SetMessageInfo(info MessageInfo)

type SuzukiTrollModeControl

type SuzukiTrollModeControl struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*SuzukiTrollModeControl) Clone added in v1.3.0

func (m *SuzukiTrollModeControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SuzukiTrollModeControl) DecodePayload

func (m *SuzukiTrollModeControl) DecodePayload(payload []uint8) error

func (*SuzukiTrollModeControl) EncodePayload

func (m *SuzukiTrollModeControl) EncodePayload() ([]uint8, error)

func (*SuzukiTrollModeControl) MessageInfo

func (m *SuzukiTrollModeControl) MessageInfo() MessageInfo

func (*SuzukiTrollModeControl) PGNNumber

func (m *SuzukiTrollModeControl) PGNNumber() uint32

func (*SuzukiTrollModeControl) SetMessageInfo

func (m *SuzukiTrollModeControl) SetMessageInfo(info MessageInfo)

type SwitchBankControl

type SwitchBankControl struct {
	Info     MessageInfo `json:"info"`
	Instance *uint64     `json:"instance,omitempty" n2k:"1"`
	Switch1  *uint64     `json:"switch1,omitempty" n2k:"2"`
	Switch2  *uint64     `json:"switch2,omitempty" n2k:"3"`
	Switch3  *uint64     `json:"switch3,omitempty" n2k:"4"`
	Switch4  *uint64     `json:"switch4,omitempty" n2k:"5"`
	Switch5  *uint64     `json:"switch5,omitempty" n2k:"6"`
	Switch6  *uint64     `json:"switch6,omitempty" n2k:"7"`
	Switch7  *uint64     `json:"switch7,omitempty" n2k:"8"`
	Switch8  *uint64     `json:"switch8,omitempty" n2k:"9"`
	Switch9  *uint64     `json:"switch9,omitempty" n2k:"10"`
	Switch10 *uint64     `json:"switch10,omitempty" n2k:"11"`
	Switch11 *uint64     `json:"switch11,omitempty" n2k:"12"`
	Switch12 *uint64     `json:"switch12,omitempty" n2k:"13"`
	Switch13 *uint64     `json:"switch13,omitempty" n2k:"14"`
	Switch14 *uint64     `json:"switch14,omitempty" n2k:"15"`
	Switch15 *uint64     `json:"switch15,omitempty" n2k:"16"`
	Switch16 *uint64     `json:"switch16,omitempty" n2k:"17"`
	Switch17 *uint64     `json:"switch17,omitempty" n2k:"18"`
	Switch18 *uint64     `json:"switch18,omitempty" n2k:"19"`
	Switch19 *uint64     `json:"switch19,omitempty" n2k:"20"`
	Switch20 *uint64     `json:"switch20,omitempty" n2k:"21"`
	Switch21 *uint64     `json:"switch21,omitempty" n2k:"22"`
	Switch22 *uint64     `json:"switch22,omitempty" n2k:"23"`
	Switch23 *uint64     `json:"switch23,omitempty" n2k:"24"`
	Switch24 *uint64     `json:"switch24,omitempty" n2k:"25"`
	Switch25 *uint64     `json:"switch25,omitempty" n2k:"26"`
	Switch26 *uint64     `json:"switch26,omitempty" n2k:"27"`
	Switch27 *uint64     `json:"switch27,omitempty" n2k:"28"`
	Switch28 *uint64     `json:"switch28,omitempty" n2k:"29"`
}

func (*SwitchBankControl) Clone added in v1.3.0

func (m *SwitchBankControl) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SwitchBankControl) DecodePayload

func (m *SwitchBankControl) DecodePayload(payload []uint8) error

func (*SwitchBankControl) EncodePayload

func (m *SwitchBankControl) EncodePayload() ([]uint8, error)

func (*SwitchBankControl) MessageInfo

func (m *SwitchBankControl) MessageInfo() MessageInfo

func (*SwitchBankControl) PGNNumber

func (m *SwitchBankControl) PGNNumber() uint32

func (*SwitchBankControl) SetMessageInfo

func (m *SwitchBankControl) SetMessageInfo(info MessageInfo)

type SystemConfiguration

type SystemConfiguration struct {
	Info            MessageInfo `json:"info"`
	Power           *uint64     `json:"power,omitempty" n2k:"1"`
	DefaultSettings *uint64     `json:"defaultSettings,omitempty" n2k:"2"`
	TunerRegions    *uint64     `json:"tunerRegions,omitempty" n2k:"3"`
	MaxFavorites    *uint64     `json:"maxFavorites,omitempty" n2k:"4"`
	VideoProtocols  *uint64     `json:"videoProtocols,omitempty" n2k:"5"`
}

func (*SystemConfiguration) Clone added in v1.3.0

func (m *SystemConfiguration) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SystemConfiguration) DecodePayload

func (m *SystemConfiguration) DecodePayload(payload []uint8) error

func (*SystemConfiguration) EncodePayload

func (m *SystemConfiguration) EncodePayload() ([]uint8, error)

func (*SystemConfiguration) MessageInfo

func (m *SystemConfiguration) MessageInfo() MessageInfo

func (*SystemConfiguration) PGNNumber

func (m *SystemConfiguration) PGNNumber() uint32

func (*SystemConfiguration) SetMessageInfo

func (m *SystemConfiguration) SetMessageInfo(info MessageInfo)

type SystemConfigurationDeprecated

type SystemConfigurationDeprecated struct {
	Info            MessageInfo `json:"info"`
	Power           *uint64     `json:"power,omitempty" n2k:"1"`
	DefaultSettings *uint64     `json:"defaultSettings,omitempty" n2k:"2"`
	TunerRegions    *uint64     `json:"tunerRegions,omitempty" n2k:"3"`
	MaxFavorites    *uint64     `json:"maxFavorites,omitempty" n2k:"4"`
}

func (*SystemConfigurationDeprecated) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*SystemConfigurationDeprecated) DecodePayload

func (m *SystemConfigurationDeprecated) DecodePayload(payload []uint8) error

func (*SystemConfigurationDeprecated) EncodePayload

func (m *SystemConfigurationDeprecated) EncodePayload() ([]uint8, error)

func (*SystemConfigurationDeprecated) MessageInfo

func (m *SystemConfigurationDeprecated) MessageInfo() MessageInfo

func (*SystemConfigurationDeprecated) PGNNumber

func (m *SystemConfigurationDeprecated) PGNNumber() uint32

func (*SystemConfigurationDeprecated) SetMessageInfo

func (m *SystemConfigurationDeprecated) SetMessageInfo(info MessageInfo)

type SystemTime

type SystemTime struct {
	Info   MessageInfo `json:"info"`
	Sid    *uint64     `json:"sid,omitempty" n2k:"1"`
	Source *uint64     `json:"source,omitempty" n2k:"2"`
	Date   *uint64     `json:"date,omitempty" n2k:"4"`
	Time   *uint64     `json:"time,omitempty" n2k:"5"`
}

func (*SystemTime) Clone added in v1.3.0

func (m *SystemTime) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*SystemTime) DateValue

func (m *SystemTime) DateValue() (float64, bool)

DateValue returns Date as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*SystemTime) DecodePayload

func (m *SystemTime) DecodePayload(payload []uint8) error

func (*SystemTime) EncodePayload

func (m *SystemTime) EncodePayload() ([]uint8, error)

func (*SystemTime) MessageInfo

func (m *SystemTime) MessageInfo() MessageInfo

func (*SystemTime) PGNNumber

func (m *SystemTime) PGNNumber() uint32

func (*SystemTime) SetDateValue

func (m *SystemTime) SetDateValue(v float64)

SetDateValue sets Date from a physical value in d, rounded to the nearest wire tick of 1.

func (*SystemTime) SetMessageInfo

func (m *SystemTime) SetMessageInfo(info MessageInfo)

func (*SystemTime) SetTimeValue

func (m *SystemTime) SetTimeValue(v float64)

SetTimeValue sets Time from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*SystemTime) TimeValue

func (m *SystemTime) TimeValue() (float64, bool)

TimeValue returns Time as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type SystemTimeConst

type SystemTimeConst uint8
const (
	SystemTimeGPS                SystemTimeConst = 0
	SystemTimeGLONASS            SystemTimeConst = 1
	SystemTimeRadioStation       SystemTimeConst = 2
	SystemTimeLocalCesiumClock   SystemTimeConst = 3
	SystemTimeLocalRubidiumClock SystemTimeConst = 4
	SystemTimeLocalCrystalClock  SystemTimeConst = 5
)

func (SystemTimeConst) GoString

func (e SystemTimeConst) GoString() string

func (SystemTimeConst) String

func (e SystemTimeConst) String() string

type TankTypeConst

type TankTypeConst uint8
const (
	TankTypeFuel       TankTypeConst = 0
	TankTypeWater      TankTypeConst = 1
	TankTypeGrayWater  TankTypeConst = 2
	TankTypeLiveWell   TankTypeConst = 3
	TankTypeOil        TankTypeConst = 4
	TankTypeBlackWater TankTypeConst = 5
)

func (TankTypeConst) GoString

func (e TankTypeConst) GoString() string

func (TankTypeConst) String

func (e TankTypeConst) String() string

type TargetAcquisitionConst

type TargetAcquisitionConst uint8
const (
	TargetAcquisitionManual    TargetAcquisitionConst = 0
	TargetAcquisitionAutomatic TargetAcquisitionConst = 1
)

func (TargetAcquisitionConst) GoString

func (e TargetAcquisitionConst) GoString() string

func (TargetAcquisitionConst) String

func (e TargetAcquisitionConst) String() string

type TelephoneModeConst added in v1.3.0

type TelephoneModeConst uint8
const (
	TelephoneModeF3EG3ESimplexTelephone          TelephoneModeConst = 0
	TelephoneModeF3EG3EDuplexTelephone           TelephoneModeConst = 1
	TelephoneModeJ3ETelephone                    TelephoneModeConst = 2
	TelephoneModeH3ETelephone                    TelephoneModeConst = 3
	TelephoneModeF1BJ2BFECNBDPTelexTeleprinter   TelephoneModeConst = 4
	TelephoneModeF1BJ2BARQNBDPTelexTeleprinter   TelephoneModeConst = 5
	TelephoneModeF1BJ2BReceiveOnlyTeleprinterDSC TelephoneModeConst = 6
	TelephoneModeF1BJ2BTeleprinterDSC            TelephoneModeConst = 7
	TelephoneModeA1AMorseTapeRecorder            TelephoneModeConst = 8
	TelephoneModeA1AMorseMorseKeyHeadSet         TelephoneModeConst = 9
	TelephoneModeF1CF2CF3CFAXMachine             TelephoneModeConst = 10
)

func (TelephoneModeConst) GoString added in v1.3.0

func (e TelephoneModeConst) GoString() string

func (TelephoneModeConst) String added in v1.3.0

func (e TelephoneModeConst) String() string

type Temperature

type Temperature struct {
	Info              MessageInfo `json:"info"`
	Sid               *uint64     `json:"sid,omitempty" n2k:"1"`
	Instance          *uint64     `json:"instance,omitempty" n2k:"2"`
	Source            *uint64     `json:"source,omitempty" n2k:"3"`
	ActualTemperature *uint64     `json:"actualTemperature,omitempty" n2k:"4"`
	SetTemperature    *uint64     `json:"setTemperature,omitempty" n2k:"5"`
}

func (*Temperature) ActualTemperatureValue

func (m *Temperature) ActualTemperatureValue() (float64, bool)

ActualTemperatureValue returns ActualTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*Temperature) Clone added in v1.3.0

func (m *Temperature) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*Temperature) DecodePayload

func (m *Temperature) DecodePayload(payload []uint8) error

func (*Temperature) EncodePayload

func (m *Temperature) EncodePayload() ([]uint8, error)

func (*Temperature) MessageInfo

func (m *Temperature) MessageInfo() MessageInfo

func (*Temperature) PGNNumber

func (m *Temperature) PGNNumber() uint32

func (*Temperature) SetActualTemperatureValue

func (m *Temperature) SetActualTemperatureValue(v float64)

SetActualTemperatureValue sets ActualTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*Temperature) SetMessageInfo

func (m *Temperature) SetMessageInfo(info MessageInfo)

func (*Temperature) SetSetTemperatureValue

func (m *Temperature) SetSetTemperatureValue(v float64)

SetSetTemperatureValue sets SetTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*Temperature) SetTemperatureValue

func (m *Temperature) SetTemperatureValue() (float64, bool)

SetTemperatureValue returns SetTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type TemperatureExtendedRange

type TemperatureExtendedRange struct {
	Info           MessageInfo `json:"info"`
	Sid            *uint64     `json:"sid,omitempty" n2k:"1"`
	Instance       *uint64     `json:"instance,omitempty" n2k:"2"`
	Source         *uint64     `json:"source,omitempty" n2k:"3"`
	Temperature    *uint64     `json:"temperature,omitempty" n2k:"4"`
	SetTemperature *uint64     `json:"setTemperature,omitempty" n2k:"5"`
}

func (*TemperatureExtendedRange) Clone added in v1.3.0

func (m *TemperatureExtendedRange) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*TemperatureExtendedRange) DecodePayload

func (m *TemperatureExtendedRange) DecodePayload(payload []uint8) error

func (*TemperatureExtendedRange) EncodePayload

func (m *TemperatureExtendedRange) EncodePayload() ([]uint8, error)

func (*TemperatureExtendedRange) MessageInfo

func (m *TemperatureExtendedRange) MessageInfo() MessageInfo

func (*TemperatureExtendedRange) PGNNumber

func (m *TemperatureExtendedRange) PGNNumber() uint32

func (*TemperatureExtendedRange) SetMessageInfo

func (m *TemperatureExtendedRange) SetMessageInfo(info MessageInfo)

func (*TemperatureExtendedRange) SetTemperatureValue

func (m *TemperatureExtendedRange) SetTemperatureValue(v float64)

SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.001.

func (*TemperatureExtendedRange) TemperatureValue

func (m *TemperatureExtendedRange) TemperatureValue() (float64, bool)

TemperatureValue returns Temperature as a physical value in K (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

type TemperatureSourceConst

type TemperatureSourceConst uint8
const (
	TemperatureSourceSeaTemperature                  TemperatureSourceConst = 0
	TemperatureSourceOutsideTemperature              TemperatureSourceConst = 1
	TemperatureSourceInsideTemperature               TemperatureSourceConst = 2
	TemperatureSourceEngineRoomTemperature           TemperatureSourceConst = 3
	TemperatureSourceMainCabinTemperature            TemperatureSourceConst = 4
	TemperatureSourceLiveWellTemperature             TemperatureSourceConst = 5
	TemperatureSourceBaitWellTemperature             TemperatureSourceConst = 6
	TemperatureSourceRefrigerationTemperature        TemperatureSourceConst = 7
	TemperatureSourceHeatingSystemTemperature        TemperatureSourceConst = 8
	TemperatureSourceDewPointTemperature             TemperatureSourceConst = 9
	TemperatureSourceApparentWindChillTemperature    TemperatureSourceConst = 10
	TemperatureSourceTheoreticalWindChillTemperature TemperatureSourceConst = 11
	TemperatureSourceHeatIndexTemperature            TemperatureSourceConst = 12
	TemperatureSourceFreezerTemperature              TemperatureSourceConst = 13
	TemperatureSourceExhaustGasTemperature           TemperatureSourceConst = 14
	TemperatureSourceShaftSealTemperature            TemperatureSourceConst = 15
)

func (TemperatureSourceConst) GoString

func (e TemperatureSourceConst) GoString() string

func (TemperatureSourceConst) String

func (e TemperatureSourceConst) String() string

type ThrusterControlEventsConst

type ThrusterControlEventsConst uint8
const (
	ThrusterControlEventsAnotherDeviceControllingThruster    ThrusterControlEventsConst = 1
	ThrusterControlEventsBoatSpeedTooFastToSafelyUseThruster ThrusterControlEventsConst = 2
)

func (ThrusterControlEventsConst) GoString

func (e ThrusterControlEventsConst) GoString() string

func (ThrusterControlEventsConst) String

type ThrusterControlStatus

type ThrusterControlStatus struct {
	Info             MessageInfo `json:"info"`
	Sid              *uint64     `json:"sid,omitempty" n2k:"1"`
	Identifier       *uint64     `json:"identifier,omitempty" n2k:"2"`
	DirectionControl *uint64     `json:"directionControl,omitempty" n2k:"3"`
	PowerEnabled     *uint64     `json:"powerEnabled,omitempty" n2k:"4"`
	RetractControl   *uint64     `json:"retractControl,omitempty" n2k:"5"`
	SpeedControl     *uint64     `json:"speedControl,omitempty" n2k:"6"`
	ControlEvents    *uint64     `json:"controlEvents,omitempty" n2k:"7"`
	CommandTimeout   *uint64     `json:"commandTimeout,omitempty" n2k:"8"`
	AzimuthControl   *uint64     `json:"azimuthControl,omitempty" n2k:"9"`
}

func (*ThrusterControlStatus) AzimuthControlValue

func (m *ThrusterControlStatus) AzimuthControlValue() (float64, bool)

AzimuthControlValue returns AzimuthControl as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ThrusterControlStatus) Clone added in v1.3.0

func (m *ThrusterControlStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ThrusterControlStatus) CommandTimeoutValue

func (m *ThrusterControlStatus) CommandTimeoutValue() (float64, bool)

CommandTimeoutValue returns CommandTimeout as a physical value in s (value = raw * 0.005). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ThrusterControlStatus) DecodePayload

func (m *ThrusterControlStatus) DecodePayload(payload []uint8) error

func (*ThrusterControlStatus) EncodePayload

func (m *ThrusterControlStatus) EncodePayload() ([]uint8, error)

func (*ThrusterControlStatus) MessageInfo

func (m *ThrusterControlStatus) MessageInfo() MessageInfo

func (*ThrusterControlStatus) PGNNumber

func (m *ThrusterControlStatus) PGNNumber() uint32

func (*ThrusterControlStatus) SetAzimuthControlValue

func (m *ThrusterControlStatus) SetAzimuthControlValue(v float64)

SetAzimuthControlValue sets AzimuthControl from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*ThrusterControlStatus) SetCommandTimeoutValue

func (m *ThrusterControlStatus) SetCommandTimeoutValue(v float64)

SetCommandTimeoutValue sets CommandTimeout from a physical value in s, rounded to the nearest wire tick of 0.005.

func (*ThrusterControlStatus) SetMessageInfo

func (m *ThrusterControlStatus) SetMessageInfo(info MessageInfo)

func (*ThrusterControlStatus) SetSpeedControlValue

func (m *ThrusterControlStatus) SetSpeedControlValue(v float64)

SetSpeedControlValue sets SpeedControl from a physical value in %, rounded to the nearest wire tick of 1.

func (*ThrusterControlStatus) SpeedControlValue

func (m *ThrusterControlStatus) SpeedControlValue() (float64, bool)

SpeedControlValue returns SpeedControl as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type ThrusterDirectionControlConst

type ThrusterDirectionControlConst uint8
const (
	ThrusterDirectionControlOff         ThrusterDirectionControlConst = 0
	ThrusterDirectionControlReady       ThrusterDirectionControlConst = 1
	ThrusterDirectionControlToPort      ThrusterDirectionControlConst = 2
	ThrusterDirectionControlToStarboard ThrusterDirectionControlConst = 3
)

func (ThrusterDirectionControlConst) GoString

func (ThrusterDirectionControlConst) String

type ThrusterInformation

type ThrusterInformation struct {
	Info                     MessageInfo `json:"info"`
	Identifier               *uint64     `json:"identifier,omitempty" n2k:"1"`
	MotorType                *uint64     `json:"motorType,omitempty" n2k:"2"`
	PowerRating              *uint64     `json:"powerRating,omitempty" n2k:"4"`
	MaximumTemperatureRating *uint64     `json:"maximumTemperatureRating,omitempty" n2k:"5"`
	MaximumRotationalSpeed   *uint64     `json:"maximumRotationalSpeed,omitempty" n2k:"6"`
}

func (*ThrusterInformation) Clone added in v1.3.0

func (m *ThrusterInformation) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ThrusterInformation) DecodePayload

func (m *ThrusterInformation) DecodePayload(payload []uint8) error

func (*ThrusterInformation) EncodePayload

func (m *ThrusterInformation) EncodePayload() ([]uint8, error)

func (*ThrusterInformation) MaximumRotationalSpeedValue

func (m *ThrusterInformation) MaximumRotationalSpeedValue() (float64, bool)

MaximumRotationalSpeedValue returns MaximumRotationalSpeed as a physical value in rpm (value = raw * 0.25). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ThrusterInformation) MaximumTemperatureRatingValue

func (m *ThrusterInformation) MaximumTemperatureRatingValue() (float64, bool)

MaximumTemperatureRatingValue returns MaximumTemperatureRating as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ThrusterInformation) MessageInfo

func (m *ThrusterInformation) MessageInfo() MessageInfo

func (*ThrusterInformation) PGNNumber

func (m *ThrusterInformation) PGNNumber() uint32

func (*ThrusterInformation) PowerRatingValue

func (m *ThrusterInformation) PowerRatingValue() (float64, bool)

PowerRatingValue returns PowerRating as a physical value in W (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ThrusterInformation) SetMaximumRotationalSpeedValue

func (m *ThrusterInformation) SetMaximumRotationalSpeedValue(v float64)

SetMaximumRotationalSpeedValue sets MaximumRotationalSpeed from a physical value in rpm, rounded to the nearest wire tick of 0.25.

func (*ThrusterInformation) SetMaximumTemperatureRatingValue

func (m *ThrusterInformation) SetMaximumTemperatureRatingValue(v float64)

SetMaximumTemperatureRatingValue sets MaximumTemperatureRating from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ThrusterInformation) SetMessageInfo

func (m *ThrusterInformation) SetMessageInfo(info MessageInfo)

func (*ThrusterInformation) SetPowerRatingValue

func (m *ThrusterInformation) SetPowerRatingValue(v float64)

SetPowerRatingValue sets PowerRating from a physical value in W, rounded to the nearest wire tick of 1.

type ThrusterMotorEventsConst

type ThrusterMotorEventsConst uint8
const (
	ThrusterMotorEventsMotorOverTemperatureCutout   ThrusterMotorEventsConst = 1
	ThrusterMotorEventsMotorOverCurrentCutout       ThrusterMotorEventsConst = 2
	ThrusterMotorEventsLowOilLevelWarning           ThrusterMotorEventsConst = 4
	ThrusterMotorEventsOilOverTemperatureWarning    ThrusterMotorEventsConst = 8
	ThrusterMotorEventsControllerUnderVoltageCutout ThrusterMotorEventsConst = 16
	ThrusterMotorEventsManufacturerDefined          ThrusterMotorEventsConst = 32
)

func (ThrusterMotorEventsConst) GoString

func (e ThrusterMotorEventsConst) GoString() string

func (ThrusterMotorEventsConst) String

func (e ThrusterMotorEventsConst) String() string

type ThrusterMotorStatus

type ThrusterMotorStatus struct {
	Info          MessageInfo `json:"info"`
	Sid           *uint64     `json:"sid,omitempty" n2k:"1"`
	Identifier    *uint64     `json:"identifier,omitempty" n2k:"2"`
	MotorEvents   *uint64     `json:"motorEvents,omitempty" n2k:"3"`
	Current       *uint64     `json:"current,omitempty" n2k:"4"`
	Temperature   *uint64     `json:"temperature,omitempty" n2k:"5"`
	OperatingTime *uint64     `json:"operatingTime,omitempty" n2k:"6"`
}

func (*ThrusterMotorStatus) Clone added in v1.3.0

func (m *ThrusterMotorStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ThrusterMotorStatus) CurrentValue

func (m *ThrusterMotorStatus) CurrentValue() (float64, bool)

CurrentValue returns Current as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ThrusterMotorStatus) DecodePayload

func (m *ThrusterMotorStatus) DecodePayload(payload []uint8) error

func (*ThrusterMotorStatus) EncodePayload

func (m *ThrusterMotorStatus) EncodePayload() ([]uint8, error)

func (*ThrusterMotorStatus) MessageInfo

func (m *ThrusterMotorStatus) MessageInfo() MessageInfo

func (*ThrusterMotorStatus) OperatingTimeValue

func (m *ThrusterMotorStatus) OperatingTimeValue() (float64, bool)

OperatingTimeValue returns OperatingTime as a physical value in s (value = raw * 60). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ThrusterMotorStatus) PGNNumber

func (m *ThrusterMotorStatus) PGNNumber() uint32

func (*ThrusterMotorStatus) SetCurrentValue

func (m *ThrusterMotorStatus) SetCurrentValue(v float64)

SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 1.

func (*ThrusterMotorStatus) SetMessageInfo

func (m *ThrusterMotorStatus) SetMessageInfo(info MessageInfo)

func (*ThrusterMotorStatus) SetOperatingTimeValue

func (m *ThrusterMotorStatus) SetOperatingTimeValue(v float64)

SetOperatingTimeValue sets OperatingTime from a physical value in s, rounded to the nearest wire tick of 60.

func (*ThrusterMotorStatus) SetTemperatureValue

func (m *ThrusterMotorStatus) SetTemperatureValue(v float64)

SetTemperatureValue sets Temperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*ThrusterMotorStatus) TemperatureValue

func (m *ThrusterMotorStatus) TemperatureValue() (float64, bool)

TemperatureValue returns Temperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type ThrusterMotorTypeConst

type ThrusterMotorTypeConst uint8
const (
	ThrusterMotorType12VDC     ThrusterMotorTypeConst = 0
	ThrusterMotorType24VDC     ThrusterMotorTypeConst = 1
	ThrusterMotorType48VDC     ThrusterMotorTypeConst = 2
	ThrusterMotorType24VAC     ThrusterMotorTypeConst = 3
	ThrusterMotorTypeHydraulic ThrusterMotorTypeConst = 4
)

func (ThrusterMotorTypeConst) GoString

func (e ThrusterMotorTypeConst) GoString() string

func (ThrusterMotorTypeConst) String

func (e ThrusterMotorTypeConst) String() string

type ThrusterRetractControlConst

type ThrusterRetractControlConst uint8
const (
	ThrusterRetractControlOff     ThrusterRetractControlConst = 0
	ThrusterRetractControlExtend  ThrusterRetractControlConst = 1
	ThrusterRetractControlRetract ThrusterRetractControlConst = 2
)

func (ThrusterRetractControlConst) GoString

func (e ThrusterRetractControlConst) GoString() string

func (ThrusterRetractControlConst) String

type TideConst

type TideConst uint8
const (
	TideFalling TideConst = 0
	TideRising  TideConst = 1
)

func (TideConst) GoString

func (e TideConst) GoString() string

func (TideConst) String

func (e TideConst) String() string

type TideStationData

type TideStationData struct {
	Info                       MessageInfo `json:"info"`
	Mode                       *uint64     `json:"mode,omitempty" n2k:"1"`
	TideTendency               *uint64     `json:"tideTendency,omitempty" n2k:"2"`
	MeasurementDate            *uint64     `json:"measurementDate,omitempty" n2k:"4"`
	MeasurementTime            *uint64     `json:"measurementTime,omitempty" n2k:"5"`
	StationLatitude            *int64      `json:"stationLatitude,omitempty" n2k:"6"`
	StationLongitude           *int64      `json:"stationLongitude,omitempty" n2k:"7"`
	TideLevel                  *int64      `json:"tideLevel,omitempty" n2k:"8"`
	TideLevelStandardDeviation *uint64     `json:"tideLevelStandardDeviation,omitempty" n2k:"9"`
	StationId                  string      `json:"stationId,omitempty" n2k:"10"`
	StationName                string      `json:"stationName,omitempty" n2k:"11"`
}

func (*TideStationData) Clone added in v1.3.0

func (m *TideStationData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*TideStationData) DecodePayload

func (m *TideStationData) DecodePayload(payload []uint8) error

func (*TideStationData) EncodePayload

func (m *TideStationData) EncodePayload() ([]uint8, error)

func (*TideStationData) MeasurementDateValue

func (m *TideStationData) MeasurementDateValue() (float64, bool)

MeasurementDateValue returns MeasurementDate as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TideStationData) MeasurementTimeValue

func (m *TideStationData) MeasurementTimeValue() (float64, bool)

MeasurementTimeValue returns MeasurementTime as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TideStationData) MessageInfo

func (m *TideStationData) MessageInfo() MessageInfo

func (*TideStationData) PGNNumber

func (m *TideStationData) PGNNumber() uint32

func (*TideStationData) SetMeasurementDateValue

func (m *TideStationData) SetMeasurementDateValue(v float64)

SetMeasurementDateValue sets MeasurementDate from a physical value in d, rounded to the nearest wire tick of 1.

func (*TideStationData) SetMeasurementTimeValue

func (m *TideStationData) SetMeasurementTimeValue(v float64)

SetMeasurementTimeValue sets MeasurementTime from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*TideStationData) SetMessageInfo

func (m *TideStationData) SetMessageInfo(info MessageInfo)

func (*TideStationData) SetStationLatitudeValue

func (m *TideStationData) SetStationLatitudeValue(v float64)

SetStationLatitudeValue sets StationLatitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*TideStationData) SetStationLongitudeValue

func (m *TideStationData) SetStationLongitudeValue(v float64)

SetStationLongitudeValue sets StationLongitude from a physical value in deg, rounded to the nearest wire tick of 1e-07.

func (*TideStationData) SetTideLevelStandardDeviationValue

func (m *TideStationData) SetTideLevelStandardDeviationValue(v float64)

SetTideLevelStandardDeviationValue sets TideLevelStandardDeviation from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*TideStationData) SetTideLevelValue

func (m *TideStationData) SetTideLevelValue(v float64)

SetTideLevelValue sets TideLevel from a physical value in m, rounded to the nearest wire tick of 0.001.

func (*TideStationData) StationLatitudeValue

func (m *TideStationData) StationLatitudeValue() (float64, bool)

StationLatitudeValue returns StationLatitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TideStationData) StationLongitudeValue

func (m *TideStationData) StationLongitudeValue() (float64, bool)

StationLongitudeValue returns StationLongitude as a physical value in deg (value = raw * 1e-07). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TideStationData) TideLevelStandardDeviationValue

func (m *TideStationData) TideLevelStandardDeviationValue() (float64, bool)

TideLevelStandardDeviationValue returns TideLevelStandardDeviation as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TideStationData) TideLevelValue

func (m *TideStationData) TideLevelValue() (float64, bool)

TideLevelValue returns TideLevel as a physical value in m (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

type TimeDate

type TimeDate struct {
	Info        MessageInfo `json:"info"`
	Date        *uint64     `json:"date,omitempty" n2k:"1"`
	Time        *uint64     `json:"time,omitempty" n2k:"2"`
	LocalOffset *int64      `json:"localOffset,omitempty" n2k:"3"`
}

func (*TimeDate) Clone added in v1.3.0

func (m *TimeDate) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*TimeDate) DateValue

func (m *TimeDate) DateValue() (float64, bool)

DateValue returns Date as a physical value in d (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TimeDate) DecodePayload

func (m *TimeDate) DecodePayload(payload []uint8) error

func (*TimeDate) EncodePayload

func (m *TimeDate) EncodePayload() ([]uint8, error)

func (*TimeDate) LocalOffsetValue

func (m *TimeDate) LocalOffsetValue() (float64, bool)

LocalOffsetValue returns LocalOffset as a physical value in s (value = raw * 60). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TimeDate) MessageInfo

func (m *TimeDate) MessageInfo() MessageInfo

func (*TimeDate) PGNNumber

func (m *TimeDate) PGNNumber() uint32

func (*TimeDate) SetDateValue

func (m *TimeDate) SetDateValue(v float64)

SetDateValue sets Date from a physical value in d, rounded to the nearest wire tick of 1.

func (*TimeDate) SetLocalOffsetValue

func (m *TimeDate) SetLocalOffsetValue(v float64)

SetLocalOffsetValue sets LocalOffset from a physical value in s, rounded to the nearest wire tick of 60.

func (*TimeDate) SetMessageInfo

func (m *TimeDate) SetMessageInfo(info MessageInfo)

func (*TimeDate) SetTimeValue

func (m *TimeDate) SetTimeValue(v float64)

SetTimeValue sets Time from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*TimeDate) TimeValue

func (m *TimeDate) TimeValue() (float64, bool)

TimeValue returns Time as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type TimeStampConst

type TimeStampConst uint8
const (
	TimeStampNotAvailable                   TimeStampConst = 60
	TimeStampManualInputMode                TimeStampConst = 61
	TimeStampDeadReckoningMode              TimeStampConst = 62
	TimeStampPositioningSystemIsInoperative TimeStampConst = 63
)

func (TimeStampConst) GoString

func (e TimeStampConst) GoString() string

func (TimeStampConst) String

func (e TimeStampConst) String() string

type TrackedTargetData

type TrackedTargetData struct {
	Info              MessageInfo `json:"info"`
	Sid               *uint64     `json:"sid,omitempty" n2k:"1"`
	TargetId          *uint64     `json:"targetId,omitempty" n2k:"2"`
	TrackStatus       *uint64     `json:"trackStatus,omitempty" n2k:"3"`
	ReportedTarget    *uint64     `json:"reportedTarget,omitempty" n2k:"4"`
	TargetAcquisition *uint64     `json:"targetAcquisition,omitempty" n2k:"5"`
	BearingReference  *uint64     `json:"bearingReference,omitempty" n2k:"6"`
	Bearing           *uint64     `json:"bearing,omitempty" n2k:"8"`
	Distance          *int64      `json:"distance,omitempty" n2k:"9"`
	Course            *uint64     `json:"course,omitempty" n2k:"10"`
	Speed             *uint64     `json:"speed,omitempty" n2k:"11"`
	Cpa               *int64      `json:"cpa,omitempty" n2k:"12"`
	Tcpa              *int64      `json:"tcpa,omitempty" n2k:"13"`
	UtcOfFix          *uint64     `json:"utcOfFix,omitempty" n2k:"14"`
	Name              string      `json:"name,omitempty" n2k:"15"`
	ReferenceTarget   *uint64     `json:"referenceTarget,omitempty" n2k:"16"`
}

func (*TrackedTargetData) BearingValue

func (m *TrackedTargetData) BearingValue() (float64, bool)

BearingValue returns Bearing as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TrackedTargetData) Clone added in v1.3.0

func (m *TrackedTargetData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*TrackedTargetData) CourseValue

func (m *TrackedTargetData) CourseValue() (float64, bool)

CourseValue returns Course as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TrackedTargetData) CpaValue

func (m *TrackedTargetData) CpaValue() (float64, bool)

CpaValue returns Cpa as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TrackedTargetData) DecodePayload

func (m *TrackedTargetData) DecodePayload(payload []uint8) error

func (*TrackedTargetData) DistanceValue

func (m *TrackedTargetData) DistanceValue() (float64, bool)

DistanceValue returns Distance as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TrackedTargetData) EncodePayload

func (m *TrackedTargetData) EncodePayload() ([]uint8, error)

func (*TrackedTargetData) MessageInfo

func (m *TrackedTargetData) MessageInfo() MessageInfo

func (*TrackedTargetData) PGNNumber

func (m *TrackedTargetData) PGNNumber() uint32

func (*TrackedTargetData) SetBearingValue

func (m *TrackedTargetData) SetBearingValue(v float64)

SetBearingValue sets Bearing from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*TrackedTargetData) SetCourseValue

func (m *TrackedTargetData) SetCourseValue(v float64)

SetCourseValue sets Course from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*TrackedTargetData) SetCpaValue

func (m *TrackedTargetData) SetCpaValue(v float64)

SetCpaValue sets Cpa from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*TrackedTargetData) SetDistanceValue

func (m *TrackedTargetData) SetDistanceValue(v float64)

SetDistanceValue sets Distance from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*TrackedTargetData) SetMessageInfo

func (m *TrackedTargetData) SetMessageInfo(info MessageInfo)

func (*TrackedTargetData) SetSpeedValue

func (m *TrackedTargetData) SetSpeedValue(v float64)

SetSpeedValue sets Speed from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*TrackedTargetData) SetTcpaValue

func (m *TrackedTargetData) SetTcpaValue(v float64)

SetTcpaValue sets Tcpa from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*TrackedTargetData) SetUtcOfFixValue

func (m *TrackedTargetData) SetUtcOfFixValue(v float64)

SetUtcOfFixValue sets UtcOfFix from a physical value in s, rounded to the nearest wire tick of 0.0001.

func (*TrackedTargetData) SpeedValue

func (m *TrackedTargetData) SpeedValue() (float64, bool)

SpeedValue returns Speed as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TrackedTargetData) TcpaValue

func (m *TrackedTargetData) TcpaValue() (float64, bool)

TcpaValue returns Tcpa as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TrackedTargetData) UtcOfFixValue

func (m *TrackedTargetData) UtcOfFixValue() (float64, bool)

UtcOfFixValue returns UtcOfFix as a physical value in s (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type TrackingConst

type TrackingConst uint8
const (
	TrackingCancelled TrackingConst = 0
	TrackingAcquiring TrackingConst = 1
	TrackingTracking  TrackingConst = 2
	TrackingLost      TrackingConst = 3
)

func (TrackingConst) GoString

func (e TrackingConst) GoString() string

func (TrackingConst) String

func (e TrackingConst) String() string

type TransmissionIntervalConst

type TransmissionIntervalConst uint8
const (
	TransmissionIntervalAcknowledge                          TransmissionIntervalConst = 0
	TransmissionIntervalTransmitIntervalPriorityNotSupported TransmissionIntervalConst = 1
	TransmissionIntervalTransmitIntervalTooLow               TransmissionIntervalConst = 2
	TransmissionIntervalAccessDenied                         TransmissionIntervalConst = 3
	TransmissionIntervalNotSupported                         TransmissionIntervalConst = 4
)

func (TransmissionIntervalConst) GoString

func (e TransmissionIntervalConst) GoString() string

func (TransmissionIntervalConst) String

func (e TransmissionIntervalConst) String() string

type TransmissionParametersDynamic

type TransmissionParametersDynamic struct {
	Info             MessageInfo `json:"info"`
	Instance         *uint64     `json:"instance,omitempty" n2k:"1"`
	TransmissionGear *uint64     `json:"transmissionGear,omitempty" n2k:"2"`
	OilPressure      *uint64     `json:"oilPressure,omitempty" n2k:"4"`
	OilTemperature   *uint64     `json:"oilTemperature,omitempty" n2k:"5"`
	DiscreteStatus1  *uint64     `json:"discreteStatus1,omitempty" n2k:"6"`
}

func (*TransmissionParametersDynamic) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*TransmissionParametersDynamic) DecodePayload

func (m *TransmissionParametersDynamic) DecodePayload(payload []uint8) error

func (*TransmissionParametersDynamic) EncodePayload

func (m *TransmissionParametersDynamic) EncodePayload() ([]uint8, error)

func (*TransmissionParametersDynamic) MessageInfo

func (m *TransmissionParametersDynamic) MessageInfo() MessageInfo

func (*TransmissionParametersDynamic) OilPressureValue

func (m *TransmissionParametersDynamic) OilPressureValue() (float64, bool)

OilPressureValue returns OilPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TransmissionParametersDynamic) OilTemperatureValue

func (m *TransmissionParametersDynamic) OilTemperatureValue() (float64, bool)

OilTemperatureValue returns OilTemperature as a physical value in K (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TransmissionParametersDynamic) PGNNumber

func (m *TransmissionParametersDynamic) PGNNumber() uint32

func (*TransmissionParametersDynamic) SetMessageInfo

func (m *TransmissionParametersDynamic) SetMessageInfo(info MessageInfo)

func (*TransmissionParametersDynamic) SetOilPressureValue

func (m *TransmissionParametersDynamic) SetOilPressureValue(v float64)

SetOilPressureValue sets OilPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*TransmissionParametersDynamic) SetOilTemperatureValue

func (m *TransmissionParametersDynamic) SetOilTemperatureValue(v float64)

SetOilTemperatureValue sets OilTemperature from a physical value in K, rounded to the nearest wire tick of 0.1.

type TransmissionStatus1Const added in v1.3.0

type TransmissionStatus1Const uint8
const (
	TransmissionStatus1CheckTransmission TransmissionStatus1Const = 1
	TransmissionStatus1OverTemperature   TransmissionStatus1Const = 2
	TransmissionStatus1LowOilPressure    TransmissionStatus1Const = 4
	TransmissionStatus1LowOilLevel       TransmissionStatus1Const = 8
	TransmissionStatus1SailDrive         TransmissionStatus1Const = 16
)

func (TransmissionStatus1Const) GoString added in v1.3.0

func (e TransmissionStatus1Const) GoString() string

func (TransmissionStatus1Const) String added in v1.3.0

func (e TransmissionStatus1Const) String() string

type TripParametersEngine

type TripParametersEngine struct {
	Info                     MessageInfo `json:"info"`
	Instance                 *uint64     `json:"instance,omitempty" n2k:"1"`
	TripFuelUsed             *uint64     `json:"tripFuelUsed,omitempty" n2k:"2"`
	FuelRateAverage          *int64      `json:"fuelRateAverage,omitempty" n2k:"3"`
	FuelRateEconomy          *int64      `json:"fuelRateEconomy,omitempty" n2k:"4"`
	InstantaneousFuelEconomy *int64      `json:"instantaneousFuelEconomy,omitempty" n2k:"5"`
}

func (*TripParametersEngine) Clone added in v1.3.0

func (m *TripParametersEngine) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*TripParametersEngine) DecodePayload

func (m *TripParametersEngine) DecodePayload(payload []uint8) error

func (*TripParametersEngine) EncodePayload

func (m *TripParametersEngine) EncodePayload() ([]uint8, error)

func (*TripParametersEngine) FuelRateAverageValue

func (m *TripParametersEngine) FuelRateAverageValue() (float64, bool)

FuelRateAverageValue returns FuelRateAverage as a physical value in L/h (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TripParametersEngine) FuelRateEconomyValue

func (m *TripParametersEngine) FuelRateEconomyValue() (float64, bool)

FuelRateEconomyValue returns FuelRateEconomy as a physical value in L/h (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TripParametersEngine) InstantaneousFuelEconomyValue

func (m *TripParametersEngine) InstantaneousFuelEconomyValue() (float64, bool)

InstantaneousFuelEconomyValue returns InstantaneousFuelEconomy as a physical value in L/h (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TripParametersEngine) MessageInfo

func (m *TripParametersEngine) MessageInfo() MessageInfo

func (*TripParametersEngine) PGNNumber

func (m *TripParametersEngine) PGNNumber() uint32

func (*TripParametersEngine) SetFuelRateAverageValue

func (m *TripParametersEngine) SetFuelRateAverageValue(v float64)

SetFuelRateAverageValue sets FuelRateAverage from a physical value in L/h, rounded to the nearest wire tick of 0.1.

func (*TripParametersEngine) SetFuelRateEconomyValue

func (m *TripParametersEngine) SetFuelRateEconomyValue(v float64)

SetFuelRateEconomyValue sets FuelRateEconomy from a physical value in L/h, rounded to the nearest wire tick of 0.1.

func (*TripParametersEngine) SetInstantaneousFuelEconomyValue

func (m *TripParametersEngine) SetInstantaneousFuelEconomyValue(v float64)

SetInstantaneousFuelEconomyValue sets InstantaneousFuelEconomy from a physical value in L/h, rounded to the nearest wire tick of 0.1.

func (*TripParametersEngine) SetMessageInfo

func (m *TripParametersEngine) SetMessageInfo(info MessageInfo)

func (*TripParametersEngine) SetTripFuelUsedValue

func (m *TripParametersEngine) SetTripFuelUsedValue(v float64)

SetTripFuelUsedValue sets TripFuelUsed from a physical value in L, rounded to the nearest wire tick of 1.

func (*TripParametersEngine) TripFuelUsedValue

func (m *TripParametersEngine) TripFuelUsedValue() (float64, bool)

TripFuelUsedValue returns TripFuelUsed as a physical value in L (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type TripParametersVessel

type TripParametersVessel struct {
	Info                   MessageInfo `json:"info"`
	TimeToEmpty            *uint64     `json:"timeToEmpty,omitempty" n2k:"1"`
	DistanceToEmpty        *uint64     `json:"distanceToEmpty,omitempty" n2k:"2"`
	EstimatedFuelRemaining *uint64     `json:"estimatedFuelRemaining,omitempty" n2k:"3"`
	TripRunTime            *uint64     `json:"tripRunTime,omitempty" n2k:"4"`
}

func (*TripParametersVessel) Clone added in v1.3.0

func (m *TripParametersVessel) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*TripParametersVessel) DecodePayload

func (m *TripParametersVessel) DecodePayload(payload []uint8) error

func (*TripParametersVessel) DistanceToEmptyValue

func (m *TripParametersVessel) DistanceToEmptyValue() (float64, bool)

DistanceToEmptyValue returns DistanceToEmpty as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TripParametersVessel) EncodePayload

func (m *TripParametersVessel) EncodePayload() ([]uint8, error)

func (*TripParametersVessel) EstimatedFuelRemainingValue

func (m *TripParametersVessel) EstimatedFuelRemainingValue() (float64, bool)

EstimatedFuelRemainingValue returns EstimatedFuelRemaining as a physical value in L (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TripParametersVessel) MessageInfo

func (m *TripParametersVessel) MessageInfo() MessageInfo

func (*TripParametersVessel) PGNNumber

func (m *TripParametersVessel) PGNNumber() uint32

func (*TripParametersVessel) SetDistanceToEmptyValue

func (m *TripParametersVessel) SetDistanceToEmptyValue(v float64)

SetDistanceToEmptyValue sets DistanceToEmpty from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*TripParametersVessel) SetEstimatedFuelRemainingValue

func (m *TripParametersVessel) SetEstimatedFuelRemainingValue(v float64)

SetEstimatedFuelRemainingValue sets EstimatedFuelRemaining from a physical value in L, rounded to the nearest wire tick of 1.

func (*TripParametersVessel) SetMessageInfo

func (m *TripParametersVessel) SetMessageInfo(info MessageInfo)

func (*TripParametersVessel) SetTimeToEmptyValue

func (m *TripParametersVessel) SetTimeToEmptyValue(v float64)

SetTimeToEmptyValue sets TimeToEmpty from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*TripParametersVessel) SetTripRunTimeValue

func (m *TripParametersVessel) SetTripRunTimeValue(v float64)

SetTripRunTimeValue sets TripRunTime from a physical value in s, rounded to the nearest wire tick of 0.001.

func (*TripParametersVessel) TimeToEmptyValue

func (m *TripParametersVessel) TimeToEmptyValue() (float64, bool)

TimeToEmptyValue returns TimeToEmpty as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*TripParametersVessel) TripRunTimeValue

func (m *TripParametersVessel) TripRunTimeValue() (float64, bool)

TripRunTimeValue returns TripRunTime as a physical value in s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

type TurnModeConst

type TurnModeConst uint8
const (
	TurnModeRudderLimitControlled TurnModeConst = 0
	TurnModeTurnRateControlled    TurnModeConst = 1
	TurnModeRadiusControlled      TurnModeConst = 2
)

func (TurnModeConst) GoString

func (e TurnModeConst) GoString() string

func (TurnModeConst) String

func (e TurnModeConst) String() string

type TxRxModeConst

type TxRxModeConst uint8
const (
	TxRxModeTxATxBRxARxB TxRxModeConst = 0
	TxRxModeTxARxARxB    TxRxModeConst = 1
	TxRxModeTxBRxARxB    TxRxModeConst = 2
)

func (TxRxModeConst) GoString

func (e TxRxModeConst) GoString() string

func (TxRxModeConst) String

func (e TxRxModeConst) String() string

type UnknownPGN

type UnknownPGN struct {
	Info             MessageInfo           `json:"info"`
	Data             []uint8               `json:"data"`
	ManufacturerCode ManufacturerCodeConst `json:"manufacturerCode"`
	IndustryCode     IndustryCodeConst     `json:"industryCode"`
	Reason           error                 `json:"reason"`
	WasUnseen        bool                  `json:"wasUnseen"`
}

func (*UnknownPGN) Clone added in v1.3.0

func (u *UnknownPGN) Clone() Message

Clone returns an owned raw message and snapshots the diagnostic text.

func (*UnknownPGN) MessageInfo

func (u *UnknownPGN) MessageInfo() MessageInfo

func (*UnknownPGN) PGNNumber

func (u *UnknownPGN) PGNNumber() uint32

func (*UnknownPGN) SetMessageInfo

func (u *UnknownPGN) SetMessageInfo(info MessageInfo)

type UserDatum

type UserDatum struct {
	Info                       MessageInfo `json:"info"`
	DeltaX                     *int64      `json:"deltaX,omitempty" n2k:"1"`
	DeltaY                     *int64      `json:"deltaY,omitempty" n2k:"2"`
	DeltaZ                     *int64      `json:"deltaZ,omitempty" n2k:"3"`
	RotationInX                *float32    `json:"rotationInX,omitempty" n2k:"4"`
	RotationInY                *float32    `json:"rotationInY,omitempty" n2k:"5"`
	RotationInZ                *float32    `json:"rotationInZ,omitempty" n2k:"6"`
	Scale                      *float32    `json:"scale,omitempty" n2k:"7"`
	EllipsoidSemiMajorAxis     *int64      `json:"ellipsoidSemiMajorAxis,omitempty" n2k:"8"`
	EllipsoidFlatteningInverse *float32    `json:"ellipsoidFlatteningInverse,omitempty" n2k:"9"`
	DatumName                  string      `json:"datumName,omitempty" n2k:"10"`
}

func (*UserDatum) Clone added in v1.3.0

func (m *UserDatum) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*UserDatum) DecodePayload

func (m *UserDatum) DecodePayload(payload []uint8) error

func (*UserDatum) DeltaXValue

func (m *UserDatum) DeltaXValue() (float64, bool)

DeltaXValue returns DeltaX as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UserDatum) DeltaYValue

func (m *UserDatum) DeltaYValue() (float64, bool)

DeltaYValue returns DeltaY as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UserDatum) DeltaZValue

func (m *UserDatum) DeltaZValue() (float64, bool)

DeltaZValue returns DeltaZ as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UserDatum) EllipsoidSemiMajorAxisValue

func (m *UserDatum) EllipsoidSemiMajorAxisValue() (float64, bool)

EllipsoidSemiMajorAxisValue returns EllipsoidSemiMajorAxis as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UserDatum) EncodePayload

func (m *UserDatum) EncodePayload() ([]uint8, error)

func (*UserDatum) MessageInfo

func (m *UserDatum) MessageInfo() MessageInfo

func (*UserDatum) PGNNumber

func (m *UserDatum) PGNNumber() uint32

func (*UserDatum) SetDeltaXValue

func (m *UserDatum) SetDeltaXValue(v float64)

SetDeltaXValue sets DeltaX from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*UserDatum) SetDeltaYValue

func (m *UserDatum) SetDeltaYValue(v float64)

SetDeltaYValue sets DeltaY from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*UserDatum) SetDeltaZValue

func (m *UserDatum) SetDeltaZValue(v float64)

SetDeltaZValue sets DeltaZ from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*UserDatum) SetEllipsoidSemiMajorAxisValue

func (m *UserDatum) SetEllipsoidSemiMajorAxisValue(v float64)

SetEllipsoidSemiMajorAxisValue sets EllipsoidSemiMajorAxis from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*UserDatum) SetMessageInfo

func (m *UserDatum) SetMessageInfo(info MessageInfo)

type UtilityAverageBasicAcQuantities

type UtilityAverageBasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
	AcRmsCurrent            *uint64     `json:"acRmsCurrent,omitempty" n2k:"4"`
}

func (*UtilityAverageBasicAcQuantities) AcFrequencyValue

func (m *UtilityAverageBasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityAverageBasicAcQuantities) AcRmsCurrentValue

func (m *UtilityAverageBasicAcQuantities) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityAverageBasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityAverageBasicAcQuantities) DecodePayload

func (m *UtilityAverageBasicAcQuantities) DecodePayload(payload []uint8) error

func (*UtilityAverageBasicAcQuantities) EncodePayload

func (m *UtilityAverageBasicAcQuantities) EncodePayload() ([]uint8, error)

func (*UtilityAverageBasicAcQuantities) LineLineAcRmsVoltageValue

func (m *UtilityAverageBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *UtilityAverageBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityAverageBasicAcQuantities) MessageInfo

func (*UtilityAverageBasicAcQuantities) PGNNumber

func (m *UtilityAverageBasicAcQuantities) PGNNumber() uint32

func (*UtilityAverageBasicAcQuantities) SetAcFrequencyValue

func (m *UtilityAverageBasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*UtilityAverageBasicAcQuantities) SetAcRmsCurrentValue

func (m *UtilityAverageBasicAcQuantities) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.

func (*UtilityAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *UtilityAverageBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*UtilityAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *UtilityAverageBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*UtilityAverageBasicAcQuantities) SetMessageInfo

func (m *UtilityAverageBasicAcQuantities) SetMessageInfo(info MessageInfo)

type UtilityPhaseAAcPower

type UtilityPhaseAAcPower struct {
	Info          MessageInfo `json:"info"`
	RealPower     *int64      `json:"realPower,omitempty" n2k:"1"`
	ApparentPower *int64      `json:"apparentPower,omitempty" n2k:"2"`
}

func (*UtilityPhaseAAcPower) ApparentPowerValue

func (m *UtilityPhaseAAcPower) ApparentPowerValue() (float64, bool)

ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseAAcPower) Clone added in v1.3.0

func (m *UtilityPhaseAAcPower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityPhaseAAcPower) DecodePayload

func (m *UtilityPhaseAAcPower) DecodePayload(payload []uint8) error

func (*UtilityPhaseAAcPower) EncodePayload

func (m *UtilityPhaseAAcPower) EncodePayload() ([]uint8, error)

func (*UtilityPhaseAAcPower) MessageInfo

func (m *UtilityPhaseAAcPower) MessageInfo() MessageInfo

func (*UtilityPhaseAAcPower) PGNNumber

func (m *UtilityPhaseAAcPower) PGNNumber() uint32

func (*UtilityPhaseAAcPower) RealPowerValue

func (m *UtilityPhaseAAcPower) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseAAcPower) SetApparentPowerValue

func (m *UtilityPhaseAAcPower) SetApparentPowerValue(v float64)

SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.

func (*UtilityPhaseAAcPower) SetMessageInfo

func (m *UtilityPhaseAAcPower) SetMessageInfo(info MessageInfo)

func (*UtilityPhaseAAcPower) SetRealPowerValue

func (m *UtilityPhaseAAcPower) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

type UtilityPhaseAAcReactivePower

type UtilityPhaseAAcReactivePower struct {
	Info               MessageInfo `json:"info"`
	ReactivePower      *int64      `json:"reactivePower,omitempty" n2k:"1"`
	PowerFactor        *uint64     `json:"powerFactor,omitempty" n2k:"2"`
	PowerFactorLagging *uint64     `json:"powerFactorLagging,omitempty" n2k:"3"`
}

func (*UtilityPhaseAAcReactivePower) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityPhaseAAcReactivePower) DecodePayload

func (m *UtilityPhaseAAcReactivePower) DecodePayload(payload []uint8) error

func (*UtilityPhaseAAcReactivePower) EncodePayload

func (m *UtilityPhaseAAcReactivePower) EncodePayload() ([]uint8, error)

func (*UtilityPhaseAAcReactivePower) MessageInfo

func (m *UtilityPhaseAAcReactivePower) MessageInfo() MessageInfo

func (*UtilityPhaseAAcReactivePower) PGNNumber

func (m *UtilityPhaseAAcReactivePower) PGNNumber() uint32

func (*UtilityPhaseAAcReactivePower) PowerFactorValue

func (m *UtilityPhaseAAcReactivePower) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseAAcReactivePower) ReactivePowerValue

func (m *UtilityPhaseAAcReactivePower) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseAAcReactivePower) SetMessageInfo

func (m *UtilityPhaseAAcReactivePower) SetMessageInfo(info MessageInfo)

func (*UtilityPhaseAAcReactivePower) SetPowerFactorValue

func (m *UtilityPhaseAAcReactivePower) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.

func (*UtilityPhaseAAcReactivePower) SetReactivePowerValue

func (m *UtilityPhaseAAcReactivePower) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

type UtilityPhaseABasicAcQuantities

type UtilityPhaseABasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
	AcRmsCurrent            *uint64     `json:"acRmsCurrent,omitempty" n2k:"4"`
}

func (*UtilityPhaseABasicAcQuantities) AcFrequencyValue

func (m *UtilityPhaseABasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseABasicAcQuantities) AcRmsCurrentValue

func (m *UtilityPhaseABasicAcQuantities) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseABasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityPhaseABasicAcQuantities) DecodePayload

func (m *UtilityPhaseABasicAcQuantities) DecodePayload(payload []uint8) error

func (*UtilityPhaseABasicAcQuantities) EncodePayload

func (m *UtilityPhaseABasicAcQuantities) EncodePayload() ([]uint8, error)

func (*UtilityPhaseABasicAcQuantities) LineLineAcRmsVoltageValue

func (m *UtilityPhaseABasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *UtilityPhaseABasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseABasicAcQuantities) MessageInfo

func (*UtilityPhaseABasicAcQuantities) PGNNumber

func (m *UtilityPhaseABasicAcQuantities) PGNNumber() uint32

func (*UtilityPhaseABasicAcQuantities) SetAcFrequencyValue

func (m *UtilityPhaseABasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*UtilityPhaseABasicAcQuantities) SetAcRmsCurrentValue

func (m *UtilityPhaseABasicAcQuantities) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.

func (*UtilityPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *UtilityPhaseABasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*UtilityPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *UtilityPhaseABasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*UtilityPhaseABasicAcQuantities) SetMessageInfo

func (m *UtilityPhaseABasicAcQuantities) SetMessageInfo(info MessageInfo)

type UtilityPhaseBAcPower

type UtilityPhaseBAcPower struct {
	Info          MessageInfo `json:"info"`
	RealPower     *int64      `json:"realPower,omitempty" n2k:"1"`
	ApparentPower *int64      `json:"apparentPower,omitempty" n2k:"2"`
}

func (*UtilityPhaseBAcPower) ApparentPowerValue

func (m *UtilityPhaseBAcPower) ApparentPowerValue() (float64, bool)

ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseBAcPower) Clone added in v1.3.0

func (m *UtilityPhaseBAcPower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityPhaseBAcPower) DecodePayload

func (m *UtilityPhaseBAcPower) DecodePayload(payload []uint8) error

func (*UtilityPhaseBAcPower) EncodePayload

func (m *UtilityPhaseBAcPower) EncodePayload() ([]uint8, error)

func (*UtilityPhaseBAcPower) MessageInfo

func (m *UtilityPhaseBAcPower) MessageInfo() MessageInfo

func (*UtilityPhaseBAcPower) PGNNumber

func (m *UtilityPhaseBAcPower) PGNNumber() uint32

func (*UtilityPhaseBAcPower) RealPowerValue

func (m *UtilityPhaseBAcPower) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseBAcPower) SetApparentPowerValue

func (m *UtilityPhaseBAcPower) SetApparentPowerValue(v float64)

SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.

func (*UtilityPhaseBAcPower) SetMessageInfo

func (m *UtilityPhaseBAcPower) SetMessageInfo(info MessageInfo)

func (*UtilityPhaseBAcPower) SetRealPowerValue

func (m *UtilityPhaseBAcPower) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

type UtilityPhaseBAcReactivePower

type UtilityPhaseBAcReactivePower struct {
	Info               MessageInfo `json:"info"`
	ReactivePower      *uint64     `json:"reactivePower,omitempty" n2k:"1"`
	PowerFactor        *uint64     `json:"powerFactor,omitempty" n2k:"2"`
	PowerFactorLagging *uint64     `json:"powerFactorLagging,omitempty" n2k:"3"`
}

func (*UtilityPhaseBAcReactivePower) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityPhaseBAcReactivePower) DecodePayload

func (m *UtilityPhaseBAcReactivePower) DecodePayload(payload []uint8) error

func (*UtilityPhaseBAcReactivePower) EncodePayload

func (m *UtilityPhaseBAcReactivePower) EncodePayload() ([]uint8, error)

func (*UtilityPhaseBAcReactivePower) MessageInfo

func (m *UtilityPhaseBAcReactivePower) MessageInfo() MessageInfo

func (*UtilityPhaseBAcReactivePower) PGNNumber

func (m *UtilityPhaseBAcReactivePower) PGNNumber() uint32

func (*UtilityPhaseBAcReactivePower) PowerFactorValue

func (m *UtilityPhaseBAcReactivePower) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseBAcReactivePower) ReactivePowerValue

func (m *UtilityPhaseBAcReactivePower) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseBAcReactivePower) SetMessageInfo

func (m *UtilityPhaseBAcReactivePower) SetMessageInfo(info MessageInfo)

func (*UtilityPhaseBAcReactivePower) SetPowerFactorValue

func (m *UtilityPhaseBAcReactivePower) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.

func (*UtilityPhaseBAcReactivePower) SetReactivePowerValue

func (m *UtilityPhaseBAcReactivePower) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

type UtilityPhaseBBasicAcQuantities

type UtilityPhaseBBasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
	AcRmsCurrent            *uint64     `json:"acRmsCurrent,omitempty" n2k:"4"`
}

func (*UtilityPhaseBBasicAcQuantities) AcFrequencyValue

func (m *UtilityPhaseBBasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseBBasicAcQuantities) AcRmsCurrentValue

func (m *UtilityPhaseBBasicAcQuantities) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseBBasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityPhaseBBasicAcQuantities) DecodePayload

func (m *UtilityPhaseBBasicAcQuantities) DecodePayload(payload []uint8) error

func (*UtilityPhaseBBasicAcQuantities) EncodePayload

func (m *UtilityPhaseBBasicAcQuantities) EncodePayload() ([]uint8, error)

func (*UtilityPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue

func (m *UtilityPhaseBBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *UtilityPhaseBBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseBBasicAcQuantities) MessageInfo

func (*UtilityPhaseBBasicAcQuantities) PGNNumber

func (m *UtilityPhaseBBasicAcQuantities) PGNNumber() uint32

func (*UtilityPhaseBBasicAcQuantities) SetAcFrequencyValue

func (m *UtilityPhaseBBasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*UtilityPhaseBBasicAcQuantities) SetAcRmsCurrentValue

func (m *UtilityPhaseBBasicAcQuantities) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.

func (*UtilityPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *UtilityPhaseBBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*UtilityPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *UtilityPhaseBBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*UtilityPhaseBBasicAcQuantities) SetMessageInfo

func (m *UtilityPhaseBBasicAcQuantities) SetMessageInfo(info MessageInfo)

type UtilityPhaseCAcPower

type UtilityPhaseCAcPower struct {
	Info          MessageInfo `json:"info"`
	RealPower     *int64      `json:"realPower,omitempty" n2k:"1"`
	ApparentPower *int64      `json:"apparentPower,omitempty" n2k:"2"`
}

func (*UtilityPhaseCAcPower) ApparentPowerValue

func (m *UtilityPhaseCAcPower) ApparentPowerValue() (float64, bool)

ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseCAcPower) Clone added in v1.3.0

func (m *UtilityPhaseCAcPower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityPhaseCAcPower) DecodePayload

func (m *UtilityPhaseCAcPower) DecodePayload(payload []uint8) error

func (*UtilityPhaseCAcPower) EncodePayload

func (m *UtilityPhaseCAcPower) EncodePayload() ([]uint8, error)

func (*UtilityPhaseCAcPower) MessageInfo

func (m *UtilityPhaseCAcPower) MessageInfo() MessageInfo

func (*UtilityPhaseCAcPower) PGNNumber

func (m *UtilityPhaseCAcPower) PGNNumber() uint32

func (*UtilityPhaseCAcPower) RealPowerValue

func (m *UtilityPhaseCAcPower) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseCAcPower) SetApparentPowerValue

func (m *UtilityPhaseCAcPower) SetApparentPowerValue(v float64)

SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.

func (*UtilityPhaseCAcPower) SetMessageInfo

func (m *UtilityPhaseCAcPower) SetMessageInfo(info MessageInfo)

func (*UtilityPhaseCAcPower) SetRealPowerValue

func (m *UtilityPhaseCAcPower) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

type UtilityPhaseCAcReactivePower

type UtilityPhaseCAcReactivePower struct {
	Info               MessageInfo `json:"info"`
	ReactivePower      *uint64     `json:"reactivePower,omitempty" n2k:"1"`
	PowerFactor        *uint64     `json:"powerFactor,omitempty" n2k:"2"`
	PowerFactorLagging *uint64     `json:"powerFactorLagging,omitempty" n2k:"3"`
}

func (*UtilityPhaseCAcReactivePower) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityPhaseCAcReactivePower) DecodePayload

func (m *UtilityPhaseCAcReactivePower) DecodePayload(payload []uint8) error

func (*UtilityPhaseCAcReactivePower) EncodePayload

func (m *UtilityPhaseCAcReactivePower) EncodePayload() ([]uint8, error)

func (*UtilityPhaseCAcReactivePower) MessageInfo

func (m *UtilityPhaseCAcReactivePower) MessageInfo() MessageInfo

func (*UtilityPhaseCAcReactivePower) PGNNumber

func (m *UtilityPhaseCAcReactivePower) PGNNumber() uint32

func (*UtilityPhaseCAcReactivePower) PowerFactorValue

func (m *UtilityPhaseCAcReactivePower) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseCAcReactivePower) ReactivePowerValue

func (m *UtilityPhaseCAcReactivePower) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseCAcReactivePower) SetMessageInfo

func (m *UtilityPhaseCAcReactivePower) SetMessageInfo(info MessageInfo)

func (*UtilityPhaseCAcReactivePower) SetPowerFactorValue

func (m *UtilityPhaseCAcReactivePower) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.

func (*UtilityPhaseCAcReactivePower) SetReactivePowerValue

func (m *UtilityPhaseCAcReactivePower) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

type UtilityPhaseCBasicAcQuantities

type UtilityPhaseCBasicAcQuantities struct {
	Info                    MessageInfo `json:"info"`
	LineLineAcRmsVoltage    *uint64     `json:"lineLineAcRmsVoltage,omitempty" n2k:"1"`
	LineNeutralAcRmsVoltage *uint64     `json:"lineNeutralAcRmsVoltage,omitempty" n2k:"2"`
	AcFrequency             *uint64     `json:"acFrequency,omitempty" n2k:"3"`
	AcRmsCurrent            *uint64     `json:"acRmsCurrent,omitempty" n2k:"4"`
}

func (*UtilityPhaseCBasicAcQuantities) AcFrequencyValue

func (m *UtilityPhaseCBasicAcQuantities) AcFrequencyValue() (float64, bool)

AcFrequencyValue returns AcFrequency as a physical value in Hz (value = raw * 0.0078125). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseCBasicAcQuantities) AcRmsCurrentValue

func (m *UtilityPhaseCBasicAcQuantities) AcRmsCurrentValue() (float64, bool)

AcRmsCurrentValue returns AcRmsCurrent as a physical value in A (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseCBasicAcQuantities) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityPhaseCBasicAcQuantities) DecodePayload

func (m *UtilityPhaseCBasicAcQuantities) DecodePayload(payload []uint8) error

func (*UtilityPhaseCBasicAcQuantities) EncodePayload

func (m *UtilityPhaseCBasicAcQuantities) EncodePayload() ([]uint8, error)

func (*UtilityPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue

func (m *UtilityPhaseCBasicAcQuantities) LineLineAcRmsVoltageValue() (float64, bool)

LineLineAcRmsVoltageValue returns LineLineAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue

func (m *UtilityPhaseCBasicAcQuantities) LineNeutralAcRmsVoltageValue() (float64, bool)

LineNeutralAcRmsVoltageValue returns LineNeutralAcRmsVoltage as a physical value in V (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityPhaseCBasicAcQuantities) MessageInfo

func (*UtilityPhaseCBasicAcQuantities) PGNNumber

func (m *UtilityPhaseCBasicAcQuantities) PGNNumber() uint32

func (*UtilityPhaseCBasicAcQuantities) SetAcFrequencyValue

func (m *UtilityPhaseCBasicAcQuantities) SetAcFrequencyValue(v float64)

SetAcFrequencyValue sets AcFrequency from a physical value in Hz, rounded to the nearest wire tick of 0.0078125.

func (*UtilityPhaseCBasicAcQuantities) SetAcRmsCurrentValue

func (m *UtilityPhaseCBasicAcQuantities) SetAcRmsCurrentValue(v float64)

SetAcRmsCurrentValue sets AcRmsCurrent from a physical value in A, rounded to the nearest wire tick of 1.

func (*UtilityPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue

func (m *UtilityPhaseCBasicAcQuantities) SetLineLineAcRmsVoltageValue(v float64)

SetLineLineAcRmsVoltageValue sets LineLineAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*UtilityPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue

func (m *UtilityPhaseCBasicAcQuantities) SetLineNeutralAcRmsVoltageValue(v float64)

SetLineNeutralAcRmsVoltageValue sets LineNeutralAcRmsVoltage from a physical value in V, rounded to the nearest wire tick of 1.

func (*UtilityPhaseCBasicAcQuantities) SetMessageInfo

func (m *UtilityPhaseCBasicAcQuantities) SetMessageInfo(info MessageInfo)

type UtilityTotalAcEnergy

type UtilityTotalAcEnergy struct {
	Info              MessageInfo `json:"info"`
	TotalEnergyExport *uint64     `json:"totalEnergyExport,omitempty" n2k:"1"`
	TotalEnergyImport *uint64     `json:"totalEnergyImport,omitempty" n2k:"2"`
}

func (*UtilityTotalAcEnergy) Clone added in v1.3.0

func (m *UtilityTotalAcEnergy) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityTotalAcEnergy) DecodePayload

func (m *UtilityTotalAcEnergy) DecodePayload(payload []uint8) error

func (*UtilityTotalAcEnergy) EncodePayload

func (m *UtilityTotalAcEnergy) EncodePayload() ([]uint8, error)

func (*UtilityTotalAcEnergy) MessageInfo

func (m *UtilityTotalAcEnergy) MessageInfo() MessageInfo

func (*UtilityTotalAcEnergy) PGNNumber

func (m *UtilityTotalAcEnergy) PGNNumber() uint32

func (*UtilityTotalAcEnergy) SetMessageInfo

func (m *UtilityTotalAcEnergy) SetMessageInfo(info MessageInfo)

func (*UtilityTotalAcEnergy) SetTotalEnergyExportValue

func (m *UtilityTotalAcEnergy) SetTotalEnergyExportValue(v float64)

SetTotalEnergyExportValue sets TotalEnergyExport from a physical value in kWh, rounded to the nearest wire tick of 1.

func (*UtilityTotalAcEnergy) SetTotalEnergyImportValue

func (m *UtilityTotalAcEnergy) SetTotalEnergyImportValue(v float64)

SetTotalEnergyImportValue sets TotalEnergyImport from a physical value in kWh, rounded to the nearest wire tick of 1.

func (*UtilityTotalAcEnergy) TotalEnergyExportValue

func (m *UtilityTotalAcEnergy) TotalEnergyExportValue() (float64, bool)

TotalEnergyExportValue returns TotalEnergyExport as a physical value in kWh (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityTotalAcEnergy) TotalEnergyImportValue

func (m *UtilityTotalAcEnergy) TotalEnergyImportValue() (float64, bool)

TotalEnergyImportValue returns TotalEnergyImport as a physical value in kWh (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type UtilityTotalAcPower

type UtilityTotalAcPower struct {
	Info          MessageInfo `json:"info"`
	RealPower     *int64      `json:"realPower,omitempty" n2k:"1"`
	ApparentPower *int64      `json:"apparentPower,omitempty" n2k:"2"`
}

func (*UtilityTotalAcPower) ApparentPowerValue

func (m *UtilityTotalAcPower) ApparentPowerValue() (float64, bool)

ApparentPowerValue returns ApparentPower as a physical value in VA (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityTotalAcPower) Clone added in v1.3.0

func (m *UtilityTotalAcPower) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityTotalAcPower) DecodePayload

func (m *UtilityTotalAcPower) DecodePayload(payload []uint8) error

func (*UtilityTotalAcPower) EncodePayload

func (m *UtilityTotalAcPower) EncodePayload() ([]uint8, error)

func (*UtilityTotalAcPower) MessageInfo

func (m *UtilityTotalAcPower) MessageInfo() MessageInfo

func (*UtilityTotalAcPower) PGNNumber

func (m *UtilityTotalAcPower) PGNNumber() uint32

func (*UtilityTotalAcPower) RealPowerValue

func (m *UtilityTotalAcPower) RealPowerValue() (float64, bool)

RealPowerValue returns RealPower as a physical value in W (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityTotalAcPower) SetApparentPowerValue

func (m *UtilityTotalAcPower) SetApparentPowerValue(v float64)

SetApparentPowerValue sets ApparentPower from a physical value in VA, rounded to the nearest wire tick of 1.

func (*UtilityTotalAcPower) SetMessageInfo

func (m *UtilityTotalAcPower) SetMessageInfo(info MessageInfo)

func (*UtilityTotalAcPower) SetRealPowerValue

func (m *UtilityTotalAcPower) SetRealPowerValue(v float64)

SetRealPowerValue sets RealPower from a physical value in W, rounded to the nearest wire tick of 1.

type UtilityTotalAcReactivePower

type UtilityTotalAcReactivePower struct {
	Info               MessageInfo `json:"info"`
	ReactivePower      *int64      `json:"reactivePower,omitempty" n2k:"1"`
	PowerFactor        *uint64     `json:"powerFactor,omitempty" n2k:"2"`
	PowerFactorLagging *uint64     `json:"powerFactorLagging,omitempty" n2k:"3"`
}

func (*UtilityTotalAcReactivePower) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*UtilityTotalAcReactivePower) DecodePayload

func (m *UtilityTotalAcReactivePower) DecodePayload(payload []uint8) error

func (*UtilityTotalAcReactivePower) EncodePayload

func (m *UtilityTotalAcReactivePower) EncodePayload() ([]uint8, error)

func (*UtilityTotalAcReactivePower) MessageInfo

func (m *UtilityTotalAcReactivePower) MessageInfo() MessageInfo

func (*UtilityTotalAcReactivePower) PGNNumber

func (m *UtilityTotalAcReactivePower) PGNNumber() uint32

func (*UtilityTotalAcReactivePower) PowerFactorValue

func (m *UtilityTotalAcReactivePower) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in Cos Phi (value = raw * 6.10352e-05). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityTotalAcReactivePower) ReactivePowerValue

func (m *UtilityTotalAcReactivePower) ReactivePowerValue() (float64, bool)

ReactivePowerValue returns ReactivePower as a physical value in VAR (value = raw - 2e+09). The bool is false for absent, sentinel, or out-of-range measurements.

func (*UtilityTotalAcReactivePower) SetMessageInfo

func (m *UtilityTotalAcReactivePower) SetMessageInfo(info MessageInfo)

func (*UtilityTotalAcReactivePower) SetPowerFactorValue

func (m *UtilityTotalAcReactivePower) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in Cos Phi, rounded to the nearest wire tick of 6.10352e-05.

func (*UtilityTotalAcReactivePower) SetReactivePowerValue

func (m *UtilityTotalAcReactivePower) SetReactivePowerValue(v float64)

SetReactivePowerValue sets ReactivePower from a physical value in VAR, rounded to the nearest wire tick of 1.

type VesselAcceleration

type VesselAcceleration struct {
	Info                     MessageInfo `json:"info"`
	Sid                      *uint64     `json:"sid,omitempty" n2k:"1"`
	LongitudinalAcceleration *int64      `json:"longitudinalAcceleration,omitempty" n2k:"2"`
	TransverseAcceleration   *int64      `json:"transverseAcceleration,omitempty" n2k:"3"`
	VerticalAcceleration     *int64      `json:"verticalAcceleration,omitempty" n2k:"4"`
}

func (*VesselAcceleration) Clone added in v1.3.0

func (m *VesselAcceleration) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*VesselAcceleration) DecodePayload

func (m *VesselAcceleration) DecodePayload(payload []uint8) error

func (*VesselAcceleration) EncodePayload

func (m *VesselAcceleration) EncodePayload() ([]uint8, error)

func (*VesselAcceleration) MessageInfo

func (m *VesselAcceleration) MessageInfo() MessageInfo

func (*VesselAcceleration) PGNNumber

func (m *VesselAcceleration) PGNNumber() uint32

func (*VesselAcceleration) SetMessageInfo

func (m *VesselAcceleration) SetMessageInfo(info MessageInfo)

type VesselHeading

type VesselHeading struct {
	Info      MessageInfo `json:"info"`
	Sid       *uint64     `json:"sid,omitempty" n2k:"1"`
	Heading   *uint64     `json:"heading,omitempty" n2k:"2"`
	Deviation *int64      `json:"deviation,omitempty" n2k:"3"`
	Variation *int64      `json:"variation,omitempty" n2k:"4"`
	Reference *uint64     `json:"reference,omitempty" n2k:"5"`
}

func (*VesselHeading) Clone added in v1.3.0

func (m *VesselHeading) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*VesselHeading) DecodePayload

func (m *VesselHeading) DecodePayload(payload []uint8) error

func (*VesselHeading) DeviationValue

func (m *VesselHeading) DeviationValue() (float64, bool)

DeviationValue returns Deviation as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*VesselHeading) EncodePayload

func (m *VesselHeading) EncodePayload() ([]uint8, error)

func (*VesselHeading) HeadingValue

func (m *VesselHeading) HeadingValue() (float64, bool)

HeadingValue returns Heading as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*VesselHeading) MessageInfo

func (m *VesselHeading) MessageInfo() MessageInfo

func (*VesselHeading) PGNNumber

func (m *VesselHeading) PGNNumber() uint32

func (*VesselHeading) SetDeviationValue

func (m *VesselHeading) SetDeviationValue(v float64)

SetDeviationValue sets Deviation from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*VesselHeading) SetHeadingValue

func (m *VesselHeading) SetHeadingValue(v float64)

SetHeadingValue sets Heading from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*VesselHeading) SetMessageInfo

func (m *VesselHeading) SetMessageInfo(info MessageInfo)

func (*VesselHeading) SetVariationValue

func (m *VesselHeading) SetVariationValue(v float64)

SetVariationValue sets Variation from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*VesselHeading) VariationValue

func (m *VesselHeading) VariationValue() (float64, bool)

VariationValue returns Variation as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

type VesselSpeedComponents

type VesselSpeedComponents struct {
	Info                              MessageInfo `json:"info"`
	LongitudinalSpeedWaterReferenced  *int64      `json:"longitudinalSpeedWaterReferenced,omitempty" n2k:"1"`
	TransverseSpeedWaterReferenced    *int64      `json:"transverseSpeedWaterReferenced,omitempty" n2k:"2"`
	LongitudinalSpeedGroundReferenced *int64      `json:"longitudinalSpeedGroundReferenced,omitempty" n2k:"3"`
	TransverseSpeedGroundReferenced   *int64      `json:"transverseSpeedGroundReferenced,omitempty" n2k:"4"`
	SternSpeedWaterReferenced         *int64      `json:"sternSpeedWaterReferenced,omitempty" n2k:"5"`
	SternSpeedGroundReferenced        *int64      `json:"sternSpeedGroundReferenced,omitempty" n2k:"6"`
}

func (*VesselSpeedComponents) Clone added in v1.3.0

func (m *VesselSpeedComponents) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*VesselSpeedComponents) DecodePayload

func (m *VesselSpeedComponents) DecodePayload(payload []uint8) error

func (*VesselSpeedComponents) EncodePayload

func (m *VesselSpeedComponents) EncodePayload() ([]uint8, error)

func (*VesselSpeedComponents) LongitudinalSpeedGroundReferencedValue

func (m *VesselSpeedComponents) LongitudinalSpeedGroundReferencedValue() (float64, bool)

LongitudinalSpeedGroundReferencedValue returns LongitudinalSpeedGroundReferenced as a physical value in m/s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*VesselSpeedComponents) LongitudinalSpeedWaterReferencedValue

func (m *VesselSpeedComponents) LongitudinalSpeedWaterReferencedValue() (float64, bool)

LongitudinalSpeedWaterReferencedValue returns LongitudinalSpeedWaterReferenced as a physical value in m/s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*VesselSpeedComponents) MessageInfo

func (m *VesselSpeedComponents) MessageInfo() MessageInfo

func (*VesselSpeedComponents) PGNNumber

func (m *VesselSpeedComponents) PGNNumber() uint32

func (*VesselSpeedComponents) SetLongitudinalSpeedGroundReferencedValue

func (m *VesselSpeedComponents) SetLongitudinalSpeedGroundReferencedValue(v float64)

SetLongitudinalSpeedGroundReferencedValue sets LongitudinalSpeedGroundReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.

func (*VesselSpeedComponents) SetLongitudinalSpeedWaterReferencedValue

func (m *VesselSpeedComponents) SetLongitudinalSpeedWaterReferencedValue(v float64)

SetLongitudinalSpeedWaterReferencedValue sets LongitudinalSpeedWaterReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.

func (*VesselSpeedComponents) SetMessageInfo

func (m *VesselSpeedComponents) SetMessageInfo(info MessageInfo)

func (*VesselSpeedComponents) SetSternSpeedGroundReferencedValue

func (m *VesselSpeedComponents) SetSternSpeedGroundReferencedValue(v float64)

SetSternSpeedGroundReferencedValue sets SternSpeedGroundReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.

func (*VesselSpeedComponents) SetSternSpeedWaterReferencedValue

func (m *VesselSpeedComponents) SetSternSpeedWaterReferencedValue(v float64)

SetSternSpeedWaterReferencedValue sets SternSpeedWaterReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.

func (*VesselSpeedComponents) SetTransverseSpeedGroundReferencedValue

func (m *VesselSpeedComponents) SetTransverseSpeedGroundReferencedValue(v float64)

SetTransverseSpeedGroundReferencedValue sets TransverseSpeedGroundReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.

func (*VesselSpeedComponents) SetTransverseSpeedWaterReferencedValue

func (m *VesselSpeedComponents) SetTransverseSpeedWaterReferencedValue(v float64)

SetTransverseSpeedWaterReferencedValue sets TransverseSpeedWaterReferenced from a physical value in m/s, rounded to the nearest wire tick of 0.001.

func (*VesselSpeedComponents) SternSpeedGroundReferencedValue

func (m *VesselSpeedComponents) SternSpeedGroundReferencedValue() (float64, bool)

SternSpeedGroundReferencedValue returns SternSpeedGroundReferenced as a physical value in m/s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*VesselSpeedComponents) SternSpeedWaterReferencedValue

func (m *VesselSpeedComponents) SternSpeedWaterReferencedValue() (float64, bool)

SternSpeedWaterReferencedValue returns SternSpeedWaterReferenced as a physical value in m/s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*VesselSpeedComponents) TransverseSpeedGroundReferencedValue

func (m *VesselSpeedComponents) TransverseSpeedGroundReferencedValue() (float64, bool)

TransverseSpeedGroundReferencedValue returns TransverseSpeedGroundReferenced as a physical value in m/s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*VesselSpeedComponents) TransverseSpeedWaterReferencedValue

func (m *VesselSpeedComponents) TransverseSpeedWaterReferencedValue() (float64, bool)

TransverseSpeedWaterReferencedValue returns TransverseSpeedWaterReferenced as a physical value in m/s (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

type VictronVeCanRegister

type VictronVeCanRegister struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	RegisterId       *uint64     `json:"registerId,omitempty" n2k:"4"`
	Value            []uint8     `json:"value,omitempty" n2k:"5"`
}

func (*VictronVeCanRegister) Clone added in v1.3.0

func (m *VictronVeCanRegister) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*VictronVeCanRegister) DecodePayload

func (m *VictronVeCanRegister) DecodePayload(payload []uint8) error

func (*VictronVeCanRegister) EncodePayload

func (m *VictronVeCanRegister) EncodePayload() ([]uint8, error)

func (*VictronVeCanRegister) MessageInfo

func (m *VictronVeCanRegister) MessageInfo() MessageInfo

func (*VictronVeCanRegister) PGNNumber

func (m *VictronVeCanRegister) PGNNumber() uint32

func (*VictronVeCanRegister) SetMessageInfo

func (m *VictronVeCanRegister) SetMessageInfo(info MessageInfo)

type VictronVregConst added in v1.3.0

type VictronVregConst uint16
const (
	VictronVregGroupID                               VictronVregConst = 260
	VictronVregHardwareRevision                      VictronVregConst = 261
	VictronVregIdentify                              VictronVregConst = 270
	VictronVregUptime                                VictronVregConst = 288
	VictronVregCANHardwareRXOverflows                VictronVregConst = 304
	VictronVregCANSoftwareRXOverflows                VictronVregConst = 305
	VictronVregCANErrorPassiveCounter                VictronVregConst = 306
	VictronVregCANBusOffCounter                      VictronVregConst = 307
	VictronVregDeviceMode                            VictronVregConst = 512
	VictronVregDeviceState                           VictronVregConst = 513
	VictronVregRemoteControlUsed                     VictronVregConst = 514
	VictronVregACInputCurrentLimit                   VictronVregConst = 515
	VictronVregACActiveInput                         VictronVregConst = 516
	VictronVregACInput1CurrentLimit                  VictronVregConst = 528
	VictronVregACInput1CurrentLimitMin               VictronVregConst = 529
	VictronVregACInput1CurrentLimitMax               VictronVregConst = 530
	VictronVregACInput1CurrentLimitInternal          VictronVregConst = 531
	VictronVregACInput1CurrentLimitRemote            VictronVregConst = 532
	VictronVregACInput2CurrentLimit                  VictronVregConst = 544
	VictronVregACInput2CurrentLimitMin               VictronVregConst = 545
	VictronVregACInput2CurrentLimitMax               VictronVregConst = 546
	VictronVregACInput2CurrentLimitInternal          VictronVregConst = 547
	VictronVregACInput2CurrentLimitRemote            VictronVregConst = 548
	VictronVregDeepestDischarge                      VictronVregConst = 768
	VictronVregLastDischarge                         VictronVregConst = 769
	VictronVregAverageDischarge                      VictronVregConst = 770
	VictronVregChargeCycles                          VictronVregConst = 771
	VictronVregFullDischarges                        VictronVregConst = 772
	VictronVregCumulativeAhDrawn                     VictronVregConst = 773
	VictronVregMinimumVoltage                        VictronVregConst = 774
	VictronVregMaximumVoltage                        VictronVregConst = 775
	VictronVregSecondsSinceLastFullCharge            VictronVregConst = 776
	VictronVregAutomaticSynchronizations             VictronVregConst = 777
	VictronVregLowVoltageAlarms                      VictronVregConst = 778
	VictronVregHighVoltageAlarms                     VictronVregConst = 779
	VictronVregLowAuxiliaryVoltageAlarms             VictronVregConst = 780
	VictronVregHighAuxiliaryVoltageAlarms            VictronVregConst = 781
	VictronVregMinimumAuxiliaryVoltage               VictronVregConst = 782
	VictronVregMaximumAuxiliaryVoltage               VictronVregConst = 783
	VictronVregDischargedEnergy                      VictronVregConst = 784
	VictronVregChargedEnergy                         VictronVregConst = 785
	VictronVregLowVoltageAlarmSet                    VictronVregConst = 800
	VictronVregLowVoltageAlarmClear                  VictronVregConst = 801
	VictronVregHighVoltageAlarmSet                   VictronVregConst = 802
	VictronVregHighVoltageAlarmClear                 VictronVregConst = 803
	VictronVregLowAuxiliaryVoltageAlarmSet           VictronVregConst = 804
	VictronVregLowAuxiliaryVoltageAlarmClear         VictronVregConst = 805
	VictronVregHighAuxiliaryVoltageAlarmSet          VictronVregConst = 806
	VictronVregHighAuxiliaryVoltageAlarmClear        VictronVregConst = 807
	VictronVregLowStateOfChargeAlarmSet              VictronVregConst = 808
	VictronVregLowStateOfChargeAlarmClear            VictronVregConst = 809
	VictronVregLowBatteryTemperatureAlarmSet         VictronVregConst = 810
	VictronVregLowBatteryTemperatureAlarmClear       VictronVregConst = 811
	VictronVregHighBatteryTemperatureAlarmSet        VictronVregConst = 812
	VictronVregHighBatteryTemperatureAlarmClear      VictronVregConst = 813
	VictronVregHighInternalTemperatureAlarmSet       VictronVregConst = 814
	VictronVregHighInternalTemperatureAlarmClear     VictronVregConst = 815
	VictronVregFuseBlownAlarm                        VictronVregConst = 816
	VictronVregMidPointVoltageAlarmSet               VictronVregConst = 817
	VictronVregMidPointVoltageAlarmClear             VictronVregConst = 818
	VictronVregRelayInvert                           VictronVregConst = 845
	VictronVregRelayControl                          VictronVregConst = 846
	VictronVregRelayMode                             VictronVregConst = 847
	VictronVregLowVoltageRelaySet                    VictronVregConst = 848
	VictronVregLowVoltageRelayClear                  VictronVregConst = 849
	VictronVregHighVoltageRelaySet                   VictronVregConst = 850
	VictronVregHighVoltageRelayClear                 VictronVregConst = 851
	VictronVregLowAuxiliaryVoltageRelaySet           VictronVregConst = 852
	VictronVregLowAuxiliaryVoltageRelayClear         VictronVregConst = 853
	VictronVregHighAuxiliaryVoltageRelaySet          VictronVregConst = 854
	VictronVregHighAuxiliaryVoltageRelayClear        VictronVregConst = 855
	VictronVregLowStateOfChargeRelaySet              VictronVregConst = 856
	VictronVregLowStateOfChargeRelayClear            VictronVregConst = 857
	VictronVregLowBatteryTemperatureRelaySet         VictronVregConst = 858
	VictronVregLowBatteryTemperatureRelayClear       VictronVregConst = 859
	VictronVregHighBatteryTemperatureRelaySet        VictronVregConst = 860
	VictronVregHighBatteryTemperatureRelayClear      VictronVregConst = 861
	VictronVregHighInternalTemperatureRelaySet       VictronVregConst = 862
	VictronVregHighInternalTemperatureRelayClear     VictronVregConst = 863
	VictronVregFuseBlownRelay                        VictronVregConst = 864
	VictronVregMidPointVoltageRelaySet               VictronVregConst = 865
	VictronVregMidPointVoltageRelayClear             VictronVregConst = 866
	VictronVregBMSFlags                              VictronVregConst = 880
	VictronVregBMSState                              VictronVregConst = 881
	VictronVregBMSErrorFlags                         VictronVregConst = 882
	VictronVregMidPointVoltage                       VictronVregConst = 898
	VictronVregMidPointVoltageDeviation              VictronVregConst = 899
	VictronVregTimeToGo                              VictronVregConst = 4094
	VictronVregStateOfCharge                         VictronVregConst = 4095
	VictronVregBatteryCapacity                       VictronVregConst = 4096
	VictronVregChargedVoltage                        VictronVregConst = 4097
	VictronVregChargedCurrent                        VictronVregConst = 4098
	VictronVregChargedDetectionTime                  VictronVregConst = 4099
	VictronVregChargeEfficiency                      VictronVregConst = 4100
	VictronVregPeukertCoefficient                    VictronVregConst = 4101
	VictronVregCurrentThreshold                      VictronVregConst = 4102
	VictronVregAverageTimeToGo                       VictronVregConst = 4103
	VictronVregLowStateOfChargeSet                   VictronVregConst = 4104
	VictronVregLowStateOfChargeClear                 VictronVregConst = 4105
	VictronVregRelayMinimumEnabledTime               VictronVregConst = 4106
	VictronVregRelayDisableDelay                     VictronVregConst = 4107
	VictronVregCurrentOffset                         VictronVregConst = 4148
	VictronVregDCVoltage                             VictronVregConst = 8194
	VictronVregDCCurrent                             VictronVregConst = 8220
	VictronVregChannel3Voltage                       VictronVregConst = 60781
	VictronVregChannel3Power                         VictronVregConst = 60782
	VictronVregChannel3Current                       VictronVregConst = 60783
	VictronVregChannel2Voltage                       VictronVregConst = 60797
	VictronVregChannel2Power                         VictronVregConst = 60798
	VictronVregChannel2Current                       VictronVregConst = 60799
	VictronVregChannel1Voltage                       VictronVregConst = 60813
	VictronVregChannel1Power                         VictronVregConst = 60814
	VictronVregChannel1Current                       VictronVregConst = 60815
	VictronVregCANSelect                             VictronVregConst = 60831
	VictronVregLoadOutputStatus                      VictronVregConst = 60840
	VictronVregLoadOutputVoltage                     VictronVregConst = 60841
	VictronVregLoadOutputPower                       VictronVregConst = 60842
	VictronVregLoadOutputControlMode                 VictronVregConst = 60843
	VictronVregLoadOutputOffsetVoltage               VictronVregConst = 60844
	VictronVregLoadOutputActualCurrent               VictronVregConst = 60845
	VictronVregLoadOutputCurrentLimit                VictronVregConst = 60846
	VictronVregLoadOutputMaximumCurrent              VictronVregConst = 60847
	VictronVregInputVoltageMaximumClear              VictronVregConst = 60857
	VictronVregInputVoltageMaximumSet                VictronVregConst = 60858
	VictronVregInputVoltage                          VictronVregConst = 60859
	VictronVregInputPower                            VictronVregConst = 60860
	VictronVregInputCurrent                          VictronVregConst = 60861
	VictronVregInputMaximumCurrent                   VictronVregConst = 60863
	VictronVregChargerMaximumPowerYesterday          VictronVregConst = 60880
	VictronVregChargerYieldYesterday                 VictronVregConst = 60881
	VictronVregChargerMaximumPowerToday              VictronVregConst = 60882
	VictronVregChargerYieldToday                     VictronVregConst = 60883
	VictronVregChargerAdditionalStateInformation     VictronVregConst = 60884
	VictronVregChargerVoltage                        VictronVregConst = 60885
	VictronVregChargerPower                          VictronVregConst = 60886
	VictronVregChargerCurrent                        VictronVregConst = 60887
	VictronVregChargerRelayState                     VictronVregConst = 60888
	VictronVregChargerRelayMode                      VictronVregConst = 60889
	VictronVregChargerErrorCode                      VictronVregConst = 60890
	VictronVregChargerInternalTemperature            VictronVregConst = 60891
	VictronVregChargerUserYield                      VictronVregConst = 60892
	VictronVregChargerSystemYield                    VictronVregConst = 60893
	VictronVregChargerNumberOfPhysicalOutputs        VictronVregConst = 60894
	VictronVregChargerMaximumCurrent                 VictronVregConst = 60895
	VictronVregBatteryBMSPresent                     VictronVregConst = 60904
	VictronVregBatteryPowerSupplyVoltage             VictronVregConst = 60905
	VictronVregBatteryVoltageSetting                 VictronVregConst = 60906
	VictronVregBatteryOverchargeVoltageLevel         VictronVregConst = 60907
	VictronVregBatteryTemperature                    VictronVregConst = 60908
	VictronVregBatteryIntelligentMode                VictronVregConst = 60909
	VictronVregBatteryStorageMode                    VictronVregConst = 60910
	VictronVregBatteryVoltageSelection               VictronVregConst = 60911
	VictronVregBatteryMaximumCurrent                 VictronVregConst = 60912
	VictronVregBatteryType                           VictronVregConst = 60913
	VictronVregBatteryTemperatureCompensation        VictronVregConst = 60914
	VictronVregBatteryDischargeVoltageLevel          VictronVregConst = 60915
	VictronVregBatteryEqualisationVoltageLevel       VictronVregConst = 60916
	VictronVregBatteryStorageVoltageLevel            VictronVregConst = 60917
	VictronVregBatteryFloatVoltageLevel              VictronVregConst = 60918
	VictronVregBatteryAbsorptionVoltageLevel         VictronVregConst = 60919
	VictronVregBatteryRepeatedAbsorptionTimeInterval VictronVregConst = 60920
	VictronVregBatteryRepeatedAbsorptionTimeDuration VictronVregConst = 60921
	VictronVregBatteryFloatTimeLimit                 VictronVregConst = 60922
	VictronVregBatteryAbsorptionTimeLimit            VictronVregConst = 60923
	VictronVregBatteryBulkTimeLimit                  VictronVregConst = 60924
	VictronVregBatteryAutomaticEqualisationMode      VictronVregConst = 60925
	VictronVregBatteryAdaptiveMode                   VictronVregConst = 60926
	VictronVregBatterySafeMode                       VictronVregConst = 60927
)

func (VictronVregConst) GoString added in v1.3.0

func (e VictronVregConst) GoString() string

func (VictronVregConst) String added in v1.3.0

func (e VictronVregConst) String() string

type VideoProtocolsConst

type VideoProtocolsConst uint8
const (
	VideoProtocolsPAL  VideoProtocolsConst = 0
	VideoProtocolsNTSC VideoProtocolsConst = 1
)

func (VideoProtocolsConst) GoString

func (e VideoProtocolsConst) GoString() string

func (VideoProtocolsConst) String

func (e VideoProtocolsConst) String() string

type WaterDepth

type WaterDepth struct {
	Info   MessageInfo `json:"info"`
	Sid    *uint64     `json:"sid,omitempty" n2k:"1"`
	Depth  *uint64     `json:"depth,omitempty" n2k:"2"`
	Offset *int64      `json:"offset,omitempty" n2k:"3"`
	Range  *uint64     `json:"range,omitempty" n2k:"4"`
}

func (*WaterDepth) Clone added in v1.3.0

func (m *WaterDepth) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*WaterDepth) DecodePayload

func (m *WaterDepth) DecodePayload(payload []uint8) error

func (*WaterDepth) DepthValue

func (m *WaterDepth) DepthValue() (float64, bool)

DepthValue returns Depth as a physical value in m (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WaterDepth) EncodePayload

func (m *WaterDepth) EncodePayload() ([]uint8, error)

func (*WaterDepth) MessageInfo

func (m *WaterDepth) MessageInfo() MessageInfo

func (*WaterDepth) OffsetValue

func (m *WaterDepth) OffsetValue() (float64, bool)

OffsetValue returns Offset as a physical value in m (value = raw * 0.001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WaterDepth) PGNNumber

func (m *WaterDepth) PGNNumber() uint32

func (*WaterDepth) RangeValue

func (m *WaterDepth) RangeValue() (float64, bool)

RangeValue returns Range as a physical value in m (value = raw * 10). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WaterDepth) SetDepthValue

func (m *WaterDepth) SetDepthValue(v float64)

SetDepthValue sets Depth from a physical value in m, rounded to the nearest wire tick of 0.01.

func (*WaterDepth) SetMessageInfo

func (m *WaterDepth) SetMessageInfo(info MessageInfo)

func (*WaterDepth) SetOffsetValue

func (m *WaterDepth) SetOffsetValue(v float64)

SetOffsetValue sets Offset from a physical value in m, rounded to the nearest wire tick of 0.001.

func (*WaterDepth) SetRangeValue

func (m *WaterDepth) SetRangeValue(v float64)

SetRangeValue sets Range from a physical value in m, rounded to the nearest wire tick of 10.

type WaterReferenceConst

type WaterReferenceConst uint8
const (
	WaterReferencePaddleWheel           WaterReferenceConst = 0
	WaterReferencePitotTube             WaterReferenceConst = 1
	WaterReferenceDoppler               WaterReferenceConst = 2
	WaterReferenceCorrelationUltraSound WaterReferenceConst = 3
	WaterReferenceElectroMagnetic       WaterReferenceConst = 4
)

func (WaterReferenceConst) GoString

func (e WaterReferenceConst) GoString() string

func (WaterReferenceConst) String

func (e WaterReferenceConst) String() string

type WatermakerInputSettingAndStatus

type WatermakerInputSettingAndStatus struct {
	Info                       MessageInfo `json:"info"`
	WatermakerOperatingState   *uint64     `json:"watermakerOperatingState,omitempty" n2k:"1"`
	ProductionStartStop        *uint64     `json:"productionStartStop,omitempty" n2k:"2"`
	RinseStartStop             *uint64     `json:"rinseStartStop,omitempty" n2k:"3"`
	LowPressurePumpStatus      *uint64     `json:"lowPressurePumpStatus,omitempty" n2k:"4"`
	HighPressurePumpStatus     *uint64     `json:"highPressurePumpStatus,omitempty" n2k:"5"`
	EmergencyStop              *uint64     `json:"emergencyStop,omitempty" n2k:"6"`
	ProductSolenoidValveStatus *uint64     `json:"productSolenoidValveStatus,omitempty" n2k:"7"`
	FlushModeStatus            *uint64     `json:"flushModeStatus,omitempty" n2k:"8"`
	SalinityStatus             *uint64     `json:"salinityStatus,omitempty" n2k:"9"`
	SensorStatus               *uint64     `json:"sensorStatus,omitempty" n2k:"10"`
	OilChangeIndicatorStatus   *uint64     `json:"oilChangeIndicatorStatus,omitempty" n2k:"11"`
	FilterStatus               *uint64     `json:"filterStatus,omitempty" n2k:"12"`
	SystemStatus               *uint64     `json:"systemStatus,omitempty" n2k:"13"`
	Salinity                   *uint64     `json:"salinity,omitempty" n2k:"15"`
	ProductWaterTemperature    *uint64     `json:"productWaterTemperature,omitempty" n2k:"16"`
	PreFilterPressure          *uint64     `json:"preFilterPressure,omitempty" n2k:"17"`
	PostFilterPressure         *uint64     `json:"postFilterPressure,omitempty" n2k:"18"`
	FeedPressure               *int64      `json:"feedPressure,omitempty" n2k:"19"`
	SystemHighPressure         *uint64     `json:"systemHighPressure,omitempty" n2k:"20"`
	ProductWaterFlow           *int64      `json:"productWaterFlow,omitempty" n2k:"21"`
	BrineWaterFlow             *int64      `json:"brineWaterFlow,omitempty" n2k:"22"`
	RunTime                    *uint64     `json:"runTime,omitempty" n2k:"23"`
}

func (*WatermakerInputSettingAndStatus) BrineWaterFlowValue

func (m *WatermakerInputSettingAndStatus) BrineWaterFlowValue() (float64, bool)

BrineWaterFlowValue returns BrineWaterFlow as a physical value in L/h (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WatermakerInputSettingAndStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*WatermakerInputSettingAndStatus) DecodePayload

func (m *WatermakerInputSettingAndStatus) DecodePayload(payload []uint8) error

func (*WatermakerInputSettingAndStatus) EncodePayload

func (m *WatermakerInputSettingAndStatus) EncodePayload() ([]uint8, error)

func (*WatermakerInputSettingAndStatus) FeedPressureValue

func (m *WatermakerInputSettingAndStatus) FeedPressureValue() (float64, bool)

FeedPressureValue returns FeedPressure as a physical value in Pa (value = raw * 1000). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WatermakerInputSettingAndStatus) MessageInfo

func (*WatermakerInputSettingAndStatus) PGNNumber

func (m *WatermakerInputSettingAndStatus) PGNNumber() uint32

func (*WatermakerInputSettingAndStatus) PostFilterPressureValue

func (m *WatermakerInputSettingAndStatus) PostFilterPressureValue() (float64, bool)

PostFilterPressureValue returns PostFilterPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WatermakerInputSettingAndStatus) PreFilterPressureValue

func (m *WatermakerInputSettingAndStatus) PreFilterPressureValue() (float64, bool)

PreFilterPressureValue returns PreFilterPressure as a physical value in Pa (value = raw * 100). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WatermakerInputSettingAndStatus) ProductWaterFlowValue

func (m *WatermakerInputSettingAndStatus) ProductWaterFlowValue() (float64, bool)

ProductWaterFlowValue returns ProductWaterFlow as a physical value in L/h (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WatermakerInputSettingAndStatus) ProductWaterTemperatureValue

func (m *WatermakerInputSettingAndStatus) ProductWaterTemperatureValue() (float64, bool)

ProductWaterTemperatureValue returns ProductWaterTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WatermakerInputSettingAndStatus) RunTimeValue

func (m *WatermakerInputSettingAndStatus) RunTimeValue() (float64, bool)

RunTimeValue returns RunTime as a physical value in s (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WatermakerInputSettingAndStatus) SalinityValue

func (m *WatermakerInputSettingAndStatus) SalinityValue() (float64, bool)

SalinityValue returns Salinity as a physical value in ppm (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WatermakerInputSettingAndStatus) SetBrineWaterFlowValue

func (m *WatermakerInputSettingAndStatus) SetBrineWaterFlowValue(v float64)

SetBrineWaterFlowValue sets BrineWaterFlow from a physical value in L/h, rounded to the nearest wire tick of 0.1.

func (*WatermakerInputSettingAndStatus) SetFeedPressureValue

func (m *WatermakerInputSettingAndStatus) SetFeedPressureValue(v float64)

SetFeedPressureValue sets FeedPressure from a physical value in Pa, rounded to the nearest wire tick of 1000.

func (*WatermakerInputSettingAndStatus) SetMessageInfo

func (m *WatermakerInputSettingAndStatus) SetMessageInfo(info MessageInfo)

func (*WatermakerInputSettingAndStatus) SetPostFilterPressureValue

func (m *WatermakerInputSettingAndStatus) SetPostFilterPressureValue(v float64)

SetPostFilterPressureValue sets PostFilterPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*WatermakerInputSettingAndStatus) SetPreFilterPressureValue

func (m *WatermakerInputSettingAndStatus) SetPreFilterPressureValue(v float64)

SetPreFilterPressureValue sets PreFilterPressure from a physical value in Pa, rounded to the nearest wire tick of 100.

func (*WatermakerInputSettingAndStatus) SetProductWaterFlowValue

func (m *WatermakerInputSettingAndStatus) SetProductWaterFlowValue(v float64)

SetProductWaterFlowValue sets ProductWaterFlow from a physical value in L/h, rounded to the nearest wire tick of 0.1.

func (*WatermakerInputSettingAndStatus) SetProductWaterTemperatureValue

func (m *WatermakerInputSettingAndStatus) SetProductWaterTemperatureValue(v float64)

SetProductWaterTemperatureValue sets ProductWaterTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*WatermakerInputSettingAndStatus) SetRunTimeValue

func (m *WatermakerInputSettingAndStatus) SetRunTimeValue(v float64)

SetRunTimeValue sets RunTime from a physical value in s, rounded to the nearest wire tick of 1.

func (*WatermakerInputSettingAndStatus) SetSalinityValue

func (m *WatermakerInputSettingAndStatus) SetSalinityValue(v float64)

SetSalinityValue sets Salinity from a physical value in ppm, rounded to the nearest wire tick of 1.

func (*WatermakerInputSettingAndStatus) SetSystemHighPressureValue

func (m *WatermakerInputSettingAndStatus) SetSystemHighPressureValue(v float64)

SetSystemHighPressureValue sets SystemHighPressure from a physical value in Pa, rounded to the nearest wire tick of 1000.

func (*WatermakerInputSettingAndStatus) SystemHighPressureValue

func (m *WatermakerInputSettingAndStatus) SystemHighPressureValue() (float64, bool)

SystemHighPressureValue returns SystemHighPressure as a physical value in Pa (value = raw * 1000). The bool is false for absent, sentinel, or out-of-range measurements.

type WatermakerStateConst

type WatermakerStateConst uint8
const (
	WatermakerStateStopped    WatermakerStateConst = 0
	WatermakerStateStarting   WatermakerStateConst = 1
	WatermakerStateRunning    WatermakerStateConst = 2
	WatermakerStateStopping   WatermakerStateConst = 3
	WatermakerStateFlushing   WatermakerStateConst = 4
	WatermakerStateRinsing    WatermakerStateConst = 5
	WatermakerStateInitiating WatermakerStateConst = 6
	WatermakerStateManual     WatermakerStateConst = 7
)

func (WatermakerStateConst) GoString

func (e WatermakerStateConst) GoString() string

func (WatermakerStateConst) String

func (e WatermakerStateConst) String() string

type WaveformConst

type WaveformConst uint8
const (
	WaveformSineWave         WaveformConst = 0
	WaveformModifiedSineWave WaveformConst = 1
)

func (WaveformConst) GoString

func (e WaveformConst) GoString() string

func (WaveformConst) String

func (e WaveformConst) String() string

type WebastoHvacCommand

type WebastoHvacCommand struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	CanAddress       *uint64     `json:"canAddress,omitempty" n2k:"4"`
	BlowerSpeed      *uint64     `json:"blowerSpeed,omitempty" n2k:"5"`
	UnitOnOff        *uint64     `json:"unitOnOff,omitempty" n2k:"6"`
	SetTemperature   *uint64     `json:"setTemperature,omitempty" n2k:"8"`
	EcoMode          *uint64     `json:"ecoMode,omitempty" n2k:"9"`
	FunctionalMode   *uint64     `json:"functionalMode,omitempty" n2k:"10"`
	Compressor       *uint64     `json:"compressor,omitempty" n2k:"11"`
	Mask             *uint64     `json:"mask,omitempty" n2k:"13"`
}

func (*WebastoHvacCommand) Clone added in v1.3.0

func (m *WebastoHvacCommand) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*WebastoHvacCommand) DecodePayload

func (m *WebastoHvacCommand) DecodePayload(payload []uint8) error

func (*WebastoHvacCommand) EncodePayload

func (m *WebastoHvacCommand) EncodePayload() ([]uint8, error)

func (*WebastoHvacCommand) MessageInfo

func (m *WebastoHvacCommand) MessageInfo() MessageInfo

func (*WebastoHvacCommand) PGNNumber

func (m *WebastoHvacCommand) PGNNumber() uint32

func (*WebastoHvacCommand) SetMessageInfo

func (m *WebastoHvacCommand) SetMessageInfo(info MessageInfo)

func (*WebastoHvacCommand) SetSetTemperatureValue

func (m *WebastoHvacCommand) SetSetTemperatureValue(v float64)

SetSetTemperatureValue sets SetTemperature from a physical value in K, rounded to the nearest wire tick of 0.01.

func (*WebastoHvacCommand) SetTemperatureValue

func (m *WebastoHvacCommand) SetTemperatureValue() (float64, bool)

SetTemperatureValue returns SetTemperature as a physical value in K (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type WebastoStatus2

type WebastoStatus2 struct {
	Info                MessageInfo `json:"info"`
	ManufacturerCode    *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode        *uint64     `json:"industryCode,omitempty" n2k:"3"`
	CanAddress          *uint64     `json:"canAddress,omitempty" n2k:"4"`
	DeviceId            *uint64     `json:"deviceId,omitempty" n2k:"5"`
	SystemError         *uint64     `json:"systemError,omitempty" n2k:"6"`
	SystemStatus        *uint64     `json:"systemStatus,omitempty" n2k:"7"`
	FreshAirBlowerSpeed *uint64     `json:"freshAirBlowerSpeed,omitempty" n2k:"8"`
	VSeriesOutput       *uint64     `json:"vSeriesOutput,omitempty" n2k:"9"`
}

func (*WebastoStatus2) Clone added in v1.3.0

func (m *WebastoStatus2) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*WebastoStatus2) DecodePayload

func (m *WebastoStatus2) DecodePayload(payload []uint8) error

func (*WebastoStatus2) EncodePayload

func (m *WebastoStatus2) EncodePayload() ([]uint8, error)

func (*WebastoStatus2) MessageInfo

func (m *WebastoStatus2) MessageInfo() MessageInfo

func (*WebastoStatus2) PGNNumber

func (m *WebastoStatus2) PGNNumber() uint32

func (*WebastoStatus2) SetMessageInfo

func (m *WebastoStatus2) SetMessageInfo(info MessageInfo)

type WindData

type WindData struct {
	Info      MessageInfo `json:"info"`
	Sid       *uint64     `json:"sid,omitempty" n2k:"1"`
	WindSpeed *uint64     `json:"windSpeed,omitempty" n2k:"2"`
	WindAngle *uint64     `json:"windAngle,omitempty" n2k:"3"`
	Reference *uint64     `json:"reference,omitempty" n2k:"4"`
}

func (*WindData) Clone added in v1.3.0

func (m *WindData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*WindData) DecodePayload

func (m *WindData) DecodePayload(payload []uint8) error

func (*WindData) EncodePayload

func (m *WindData) EncodePayload() ([]uint8, error)

func (*WindData) MessageInfo

func (m *WindData) MessageInfo() MessageInfo

func (*WindData) PGNNumber

func (m *WindData) PGNNumber() uint32

func (*WindData) SetMessageInfo

func (m *WindData) SetMessageInfo(info MessageInfo)

func (*WindData) SetWindAngleValue

func (m *WindData) SetWindAngleValue(v float64)

SetWindAngleValue sets WindAngle from a physical value in rad, rounded to the nearest wire tick of 0.0001.

func (*WindData) SetWindSpeedValue

func (m *WindData) SetWindSpeedValue(v float64)

SetWindSpeedValue sets WindSpeed from a physical value in m/s, rounded to the nearest wire tick of 0.01.

func (*WindData) WindAngleValue

func (m *WindData) WindAngleValue() (float64, bool)

WindAngleValue returns WindAngle as a physical value in rad (value = raw * 0.0001). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WindData) WindSpeedValue

func (m *WindData) WindSpeedValue() (float64, bool)

WindSpeedValue returns WindSpeed as a physical value in m/s (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type WindReferenceConst

type WindReferenceConst uint8
const (
	WindReferenceTrueGroundReferencedToNorth             WindReferenceConst = 0
	WindReferenceMagneticGroundReferencedToMagneticNorth WindReferenceConst = 1
	WindReferenceApparent                                WindReferenceConst = 2
	WindReferenceTrueBoatReferenced                      WindReferenceConst = 3
	WindReferenceTrueWaterReferenced                     WindReferenceConst = 4
)

func (WindReferenceConst) GoString

func (e WindReferenceConst) GoString() string

func (WindReferenceConst) String

func (e WindReferenceConst) String() string

type WindlassControlConst

type WindlassControlConst uint8
const (
	WindlassControlAnotherDeviceControllingWindlass WindlassControlConst = 1
)

func (WindlassControlConst) GoString

func (e WindlassControlConst) GoString() string

func (WindlassControlConst) String

func (e WindlassControlConst) String() string

type WindlassControlStatus

type WindlassControlStatus struct {
	Info                     MessageInfo `json:"info"`
	Sid                      *uint64     `json:"sid,omitempty" n2k:"1"`
	WindlassId               *uint64     `json:"windlassId,omitempty" n2k:"2"`
	WindlassDirectionControl *uint64     `json:"windlassDirectionControl,omitempty" n2k:"3"`
	AnchorDockingControl     *uint64     `json:"anchorDockingControl,omitempty" n2k:"4"`
	SpeedControlType         *uint64     `json:"speedControlType,omitempty" n2k:"5"`
	SpeedControl             []uint8     `json:"speedControl,omitempty" n2k:"7"`
	PowerEnable              *uint64     `json:"powerEnable,omitempty" n2k:"8"`
	MechanicalLock           *uint64     `json:"mechanicalLock,omitempty" n2k:"9"`
	DeckAndAnchorWash        *uint64     `json:"deckAndAnchorWash,omitempty" n2k:"10"`
	AnchorLight              *uint64     `json:"anchorLight,omitempty" n2k:"11"`
	CommandTimeout           *uint64     `json:"commandTimeout,omitempty" n2k:"12"`
	WindlassControlEvents    *uint64     `json:"windlassControlEvents,omitempty" n2k:"13"`
}

func (*WindlassControlStatus) Clone added in v1.3.0

func (m *WindlassControlStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*WindlassControlStatus) CommandTimeoutValue

func (m *WindlassControlStatus) CommandTimeoutValue() (float64, bool)

CommandTimeoutValue returns CommandTimeout as a physical value in s (value = raw * 0.005). The bool is false for absent, sentinel, or out-of-range measurements.

func (*WindlassControlStatus) DecodePayload

func (m *WindlassControlStatus) DecodePayload(payload []uint8) error

func (*WindlassControlStatus) EncodePayload

func (m *WindlassControlStatus) EncodePayload() ([]uint8, error)

func (*WindlassControlStatus) MessageInfo

func (m *WindlassControlStatus) MessageInfo() MessageInfo

func (*WindlassControlStatus) PGNNumber

func (m *WindlassControlStatus) PGNNumber() uint32

func (*WindlassControlStatus) SetCommandTimeoutValue

func (m *WindlassControlStatus) SetCommandTimeoutValue(v float64)

SetCommandTimeoutValue sets CommandTimeout from a physical value in s, rounded to the nearest wire tick of 0.005.

func (*WindlassControlStatus) SetMessageInfo

func (m *WindlassControlStatus) SetMessageInfo(info MessageInfo)

type WindlassDirectionConst

type WindlassDirectionConst uint8
const (
	WindlassDirectionOff  WindlassDirectionConst = 0
	WindlassDirectionDown WindlassDirectionConst = 1
	WindlassDirectionUp   WindlassDirectionConst = 2
)

func (WindlassDirectionConst) GoString

func (e WindlassDirectionConst) GoString() string

func (WindlassDirectionConst) String

func (e WindlassDirectionConst) String() string

type WindlassMonitoringConst

type WindlassMonitoringConst uint8
const (
	WindlassMonitoringControllerUnderVoltageCutOut    WindlassMonitoringConst = 1
	WindlassMonitoringControllerOverCurrentCutOut     WindlassMonitoringConst = 2
	WindlassMonitoringControllerOverTemperatureCutOut WindlassMonitoringConst = 4
	WindlassMonitoringManufacturerDefined             WindlassMonitoringConst = 8
)

func (WindlassMonitoringConst) GoString

func (e WindlassMonitoringConst) GoString() string

func (WindlassMonitoringConst) String

func (e WindlassMonitoringConst) String() string

type WindlassMotionConst

type WindlassMotionConst uint8
const (
	WindlassMotionWindlassStopped     WindlassMotionConst = 0
	WindlassMotionDeploymentOccurring WindlassMotionConst = 1
	WindlassMotionRetrievalOccurring  WindlassMotionConst = 2
)

func (WindlassMotionConst) GoString

func (e WindlassMotionConst) GoString() string

func (WindlassMotionConst) String

func (e WindlassMotionConst) String() string

type WindlassOperationConst

type WindlassOperationConst uint8
const (
	WindlassOperationSystemError                     WindlassOperationConst = 1
	WindlassOperationSensorError                     WindlassOperationConst = 2
	WindlassOperationNoWindlassMotionDetected        WindlassOperationConst = 4
	WindlassOperationRetrievalDockingDistanceReached WindlassOperationConst = 8
	WindlassOperationEndOfRodeReached                WindlassOperationConst = 16
)

func (WindlassOperationConst) GoString

func (e WindlassOperationConst) GoString() string

func (WindlassOperationConst) String

func (e WindlassOperationConst) String() string

type WpChangeConst added in v1.3.0

type WpChangeConst uint8
const (
	WpChangeChangeInMainDataPositionName                         WpChangeConst = 1
	WpChangeChangeInSupplementaryParametersOrNewAdded            WpChangeConst = 2
	WpChangeChangedNumberOfWPsInRouteWPListAndOrNameChangedAdded WpChangeConst = 4
	WpChangeRouteChangeSupplementaryParametersOrNewAdded         WpChangeConst = 8
	WpChangeOtherNotSpecifiedChanged                             WpChangeConst = 64
)

func (WpChangeConst) GoString added in v1.3.0

func (e WpChangeConst) GoString() string

func (WpChangeConst) String added in v1.3.0

func (e WpChangeConst) String() string

type WpCriticalParametersConst added in v1.3.0

type WpCriticalParametersConst uint8
const (
	WpCriticalParametersNavigationMethod WpCriticalParametersConst = 1
	WpCriticalParametersXTELimit         WpCriticalParametersConst = 2
)

func (WpCriticalParametersConst) GoString added in v1.3.0

func (e WpCriticalParametersConst) GoString() string

func (WpCriticalParametersConst) String added in v1.3.0

func (e WpCriticalParametersConst) String() string

type WpIdentificationMethodConst added in v1.3.0

type WpIdentificationMethodConst uint8
const (
	WpIdentificationMethodWaypointsInWPList        WpIdentificationMethodConst = 0
	WpIdentificationMethodWaypointsEmbeddedInRoute WpIdentificationMethodConst = 1
)

func (WpIdentificationMethodConst) GoString added in v1.3.0

func (e WpIdentificationMethodConst) GoString() string

func (WpIdentificationMethodConst) String added in v1.3.0

type WpNavigationMethodConst uint8
const (
	WpNavigationMethodGreatCircle WpNavigationMethodConst = 0
	WpNavigationMethodRhumbLine   WpNavigationMethodConst = 1
)
func (e WpNavigationMethodConst) GoString() string
func (e WpNavigationMethodConst) String() string

type WpPositionResolutionConst added in v1.3.0

type WpPositionResolutionConst uint8
const (
	WpPositionResolutionMoreThan01Min WpPositionResolutionConst = 0
	WpPositionResolution00101Min      WpPositionResolutionConst = 1
	WpPositionResolution0001001Min    WpPositionResolutionConst = 2
	WpPositionResolution000010001Min  WpPositionResolutionConst = 3
	WpPositionResolution000001Min     WpPositionResolutionConst = 4
)

func (WpPositionResolutionConst) GoString added in v1.3.0

func (e WpPositionResolutionConst) GoString() string

func (WpPositionResolutionConst) String added in v1.3.0

func (e WpPositionResolutionConst) String() string

type WpRouteStatusConst added in v1.3.0

type WpRouteStatusConst uint8
const (
	WpRouteStatusActive   WpRouteStatusConst = 0
	WpRouteStatusInactive WpRouteStatusConst = 1
	WpRouteStatusDeleted  WpRouteStatusConst = 2
)

func (WpRouteStatusConst) GoString added in v1.3.0

func (e WpRouteStatusConst) GoString() string

func (WpRouteStatusConst) String added in v1.3.0

func (e WpRouteStatusConst) String() string

type XantrexAcInputConfigurationStatus

type XantrexAcInputConfigurationStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AcSourceInstance *uint64     `json:"acSourceInstance,omitempty" n2k:"4"`
	NumberOfLines    *uint64     `json:"numberOfLines,omitempty" n2k:"5"`
	Line             *uint64     `json:"line,omitempty" n2k:"6"`
	BreakerSize      *uint64     `json:"breakerSize,omitempty" n2k:"8"`
	AcLostLevel      *uint64     `json:"acLostLevel,omitempty" n2k:"9"`
	AcUvLevel        *uint64     `json:"acUvLevel,omitempty" n2k:"10"`
	AcUvWarningLevel *uint64     `json:"acUvWarningLevel,omitempty" n2k:"11"`
	AcUvDelay        *uint64     `json:"acUvDelay,omitempty" n2k:"12"`
	AcOvLevel        *uint64     `json:"acOvLevel,omitempty" n2k:"13"`
	AcOvWarningLevel *uint64     `json:"acOvWarningLevel,omitempty" n2k:"14"`
	AcOvDelay        *uint64     `json:"acOvDelay,omitempty" n2k:"15"`
	AcUfLevel        *uint64     `json:"acUfLevel,omitempty" n2k:"16"`
	AcOfLevel        *uint64     `json:"acOfLevel,omitempty" n2k:"17"`
}

func (*XantrexAcInputConfigurationStatus) AcOvLevelValue

func (m *XantrexAcInputConfigurationStatus) AcOvLevelValue() (float64, bool)

AcOvLevelValue returns AcOvLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexAcInputConfigurationStatus) AcUvLevelValue

func (m *XantrexAcInputConfigurationStatus) AcUvLevelValue() (float64, bool)

AcUvLevelValue returns AcUvLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexAcInputConfigurationStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*XantrexAcInputConfigurationStatus) DecodePayload

func (m *XantrexAcInputConfigurationStatus) DecodePayload(payload []uint8) error

func (*XantrexAcInputConfigurationStatus) EncodePayload

func (m *XantrexAcInputConfigurationStatus) EncodePayload() ([]uint8, error)

func (*XantrexAcInputConfigurationStatus) MessageInfo

func (*XantrexAcInputConfigurationStatus) PGNNumber

func (*XantrexAcInputConfigurationStatus) SetAcOvLevelValue

func (m *XantrexAcInputConfigurationStatus) SetAcOvLevelValue(v float64)

SetAcOvLevelValue sets AcOvLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexAcInputConfigurationStatus) SetAcUvLevelValue

func (m *XantrexAcInputConfigurationStatus) SetAcUvLevelValue(v float64)

SetAcUvLevelValue sets AcUvLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexAcInputConfigurationStatus) SetMessageInfo

func (m *XantrexAcInputConfigurationStatus) SetMessageInfo(info MessageInfo)

type XantrexAcOutputConfigurationStatus

type XantrexAcOutputConfigurationStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AcSourceInstance *uint64     `json:"acSourceInstance,omitempty" n2k:"4"`
	NumberOfLines    *uint64     `json:"numberOfLines,omitempty" n2k:"5"`
	Line             *uint64     `json:"line,omitempty" n2k:"6"`
	Voltage          *uint64     `json:"voltage,omitempty" n2k:"8"`
	Frequency        *uint64     `json:"frequency,omitempty" n2k:"9"`
	PowerLimit       *uint64     `json:"powerLimit,omitempty" n2k:"10"`
	OvFaultLevel     *uint64     `json:"ovFaultLevel,omitempty" n2k:"11"`
	UvFaultLevel     *uint64     `json:"uvFaultLevel,omitempty" n2k:"12"`
}

func (*XantrexAcOutputConfigurationStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*XantrexAcOutputConfigurationStatus) DecodePayload

func (m *XantrexAcOutputConfigurationStatus) DecodePayload(payload []uint8) error

func (*XantrexAcOutputConfigurationStatus) EncodePayload

func (m *XantrexAcOutputConfigurationStatus) EncodePayload() ([]uint8, error)

func (*XantrexAcOutputConfigurationStatus) MessageInfo

func (*XantrexAcOutputConfigurationStatus) OvFaultLevelValue

func (m *XantrexAcOutputConfigurationStatus) OvFaultLevelValue() (float64, bool)

OvFaultLevelValue returns OvFaultLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexAcOutputConfigurationStatus) PGNNumber

func (*XantrexAcOutputConfigurationStatus) SetMessageInfo

func (m *XantrexAcOutputConfigurationStatus) SetMessageInfo(info MessageInfo)

func (*XantrexAcOutputConfigurationStatus) SetOvFaultLevelValue

func (m *XantrexAcOutputConfigurationStatus) SetOvFaultLevelValue(v float64)

SetOvFaultLevelValue sets OvFaultLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexAcOutputConfigurationStatus) SetUvFaultLevelValue

func (m *XantrexAcOutputConfigurationStatus) SetUvFaultLevelValue(v float64)

SetUvFaultLevelValue sets UvFaultLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexAcOutputConfigurationStatus) SetVoltageValue

func (m *XantrexAcOutputConfigurationStatus) SetVoltageValue(v float64)

SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexAcOutputConfigurationStatus) UvFaultLevelValue

func (m *XantrexAcOutputConfigurationStatus) UvFaultLevelValue() (float64, bool)

UvFaultLevelValue returns UvFaultLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexAcOutputConfigurationStatus) VoltageValue

func (m *XantrexAcOutputConfigurationStatus) VoltageValue() (float64, bool)

VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type XantrexAcStatus

type XantrexAcStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	AcInstance       *uint64     `json:"acInstance,omitempty" n2k:"4"`
	NumberOfLines    *uint64     `json:"numberOfLines,omitempty" n2k:"5"`
	Line             *uint64     `json:"line,omitempty" n2k:"6"`
	Acceptability    *uint64     `json:"acceptability,omitempty" n2k:"7"`
	Waveform         *uint64     `json:"waveform,omitempty" n2k:"8"`
	Voltage          *uint64     `json:"voltage,omitempty" n2k:"10"`
	Current          *uint64     `json:"current,omitempty" n2k:"11"`
	Frequency        *uint64     `json:"frequency,omitempty" n2k:"12"`
	RealPower        *int64      `json:"realPower,omitempty" n2k:"13"`
	ReactivePower    *int64      `json:"reactivePower,omitempty" n2k:"14"`
	PowerFactor      *int64      `json:"powerFactor,omitempty" n2k:"15"`
}

func (*XantrexAcStatus) Clone added in v1.3.0

func (m *XantrexAcStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*XantrexAcStatus) CurrentValue

func (m *XantrexAcStatus) CurrentValue() (float64, bool)

CurrentValue returns Current as a physical value in A (value = raw * 0.1). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexAcStatus) DecodePayload

func (m *XantrexAcStatus) DecodePayload(payload []uint8) error

func (*XantrexAcStatus) EncodePayload

func (m *XantrexAcStatus) EncodePayload() ([]uint8, error)

func (*XantrexAcStatus) MessageInfo

func (m *XantrexAcStatus) MessageInfo() MessageInfo

func (*XantrexAcStatus) PGNNumber

func (m *XantrexAcStatus) PGNNumber() uint32

func (*XantrexAcStatus) PowerFactorValue

func (m *XantrexAcStatus) PowerFactorValue() (float64, bool)

PowerFactorValue returns PowerFactor as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexAcStatus) SetCurrentValue

func (m *XantrexAcStatus) SetCurrentValue(v float64)

SetCurrentValue sets Current from a physical value in A, rounded to the nearest wire tick of 0.1.

func (*XantrexAcStatus) SetMessageInfo

func (m *XantrexAcStatus) SetMessageInfo(info MessageInfo)

func (*XantrexAcStatus) SetPowerFactorValue

func (m *XantrexAcStatus) SetPowerFactorValue(v float64)

SetPowerFactorValue sets PowerFactor from a physical value in %, rounded to the nearest wire tick of 1.

func (*XantrexAcStatus) SetVoltageValue

func (m *XantrexAcStatus) SetVoltageValue(v float64)

SetVoltageValue sets Voltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexAcStatus) VoltageValue

func (m *XantrexAcStatus) VoltageValue() (float64, bool)

VoltageValue returns Voltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

type XantrexChargerConfigurationStatus

type XantrexChargerConfigurationStatus struct {
	Info                 MessageInfo `json:"info"`
	ManufacturerCode     *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode         *uint64     `json:"industryCode,omitempty" n2k:"3"`
	ChargeInstance       *uint64     `json:"chargeInstance,omitempty" n2k:"4"`
	BatteryInstance      *uint64     `json:"batteryInstance,omitempty" n2k:"5"`
	BulkVoltage          *uint64     `json:"bulkVoltage,omitempty" n2k:"6"`
	BulkTime             *uint64     `json:"bulkTime,omitempty" n2k:"7"`
	AbsorptionVoltage    *uint64     `json:"absorptionVoltage,omitempty" n2k:"8"`
	AbsorptionTime       *uint64     `json:"absorptionTime,omitempty" n2k:"9"`
	FloatVoltage         *uint64     `json:"floatVoltage,omitempty" n2k:"10"`
	FloatTime            *uint64     `json:"floatTime,omitempty" n2k:"11"`
	EqualizationVoltage  *uint64     `json:"equalizationVoltage,omitempty" n2k:"12"`
	GenericChargeVoltage *uint64     `json:"genericChargeVoltage,omitempty" n2k:"13"`
	GenericChargeCurrent *uint64     `json:"genericChargeCurrent,omitempty" n2k:"14"`
}

func (*XantrexChargerConfigurationStatus) AbsorptionVoltageValue

func (m *XantrexChargerConfigurationStatus) AbsorptionVoltageValue() (float64, bool)

AbsorptionVoltageValue returns AbsorptionVoltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexChargerConfigurationStatus) BulkVoltageValue

func (m *XantrexChargerConfigurationStatus) BulkVoltageValue() (float64, bool)

BulkVoltageValue returns BulkVoltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexChargerConfigurationStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*XantrexChargerConfigurationStatus) DecodePayload

func (m *XantrexChargerConfigurationStatus) DecodePayload(payload []uint8) error

func (*XantrexChargerConfigurationStatus) EncodePayload

func (m *XantrexChargerConfigurationStatus) EncodePayload() ([]uint8, error)

func (*XantrexChargerConfigurationStatus) EqualizationVoltageValue

func (m *XantrexChargerConfigurationStatus) EqualizationVoltageValue() (float64, bool)

EqualizationVoltageValue returns EqualizationVoltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexChargerConfigurationStatus) FloatVoltageValue

func (m *XantrexChargerConfigurationStatus) FloatVoltageValue() (float64, bool)

FloatVoltageValue returns FloatVoltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexChargerConfigurationStatus) GenericChargeVoltageValue

func (m *XantrexChargerConfigurationStatus) GenericChargeVoltageValue() (float64, bool)

GenericChargeVoltageValue returns GenericChargeVoltage as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexChargerConfigurationStatus) MessageInfo

func (*XantrexChargerConfigurationStatus) PGNNumber

func (*XantrexChargerConfigurationStatus) SetAbsorptionVoltageValue

func (m *XantrexChargerConfigurationStatus) SetAbsorptionVoltageValue(v float64)

SetAbsorptionVoltageValue sets AbsorptionVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexChargerConfigurationStatus) SetBulkVoltageValue

func (m *XantrexChargerConfigurationStatus) SetBulkVoltageValue(v float64)

SetBulkVoltageValue sets BulkVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexChargerConfigurationStatus) SetEqualizationVoltageValue

func (m *XantrexChargerConfigurationStatus) SetEqualizationVoltageValue(v float64)

SetEqualizationVoltageValue sets EqualizationVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexChargerConfigurationStatus) SetFloatVoltageValue

func (m *XantrexChargerConfigurationStatus) SetFloatVoltageValue(v float64)

SetFloatVoltageValue sets FloatVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexChargerConfigurationStatus) SetGenericChargeVoltageValue

func (m *XantrexChargerConfigurationStatus) SetGenericChargeVoltageValue(v float64)

SetGenericChargeVoltageValue sets GenericChargeVoltage from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexChargerConfigurationStatus) SetMessageInfo

func (m *XantrexChargerConfigurationStatus) SetMessageInfo(info MessageInfo)

type XantrexDcSourceConfigurationStatus

type XantrexDcSourceConfigurationStatus struct {
	Info              MessageInfo `json:"info"`
	ManufacturerCode  *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode      *uint64     `json:"industryCode,omitempty" n2k:"3"`
	DcSourceInstance  *uint64     `json:"dcSourceInstance,omitempty" n2k:"4"`
	DcUvShutdownLevel *uint64     `json:"dcUvShutdownLevel,omitempty" n2k:"5"`
	DcUvWarningLevel  *uint64     `json:"dcUvWarningLevel,omitempty" n2k:"6"`
	DcUvShutdownDelay *uint64     `json:"dcUvShutdownDelay,omitempty" n2k:"7"`
	DcUvRecoverLevel  *uint64     `json:"dcUvRecoverLevel,omitempty" n2k:"8"`
	DcOvShutdownLevel *uint64     `json:"dcOvShutdownLevel,omitempty" n2k:"9"`
	DcOvWarningLevel  *uint64     `json:"dcOvWarningLevel,omitempty" n2k:"10"`
	DcOvShutdownDelay *uint64     `json:"dcOvShutdownDelay,omitempty" n2k:"11"`
	DcOvRecoverLevel  *uint64     `json:"dcOvRecoverLevel,omitempty" n2k:"12"`
}

func (*XantrexDcSourceConfigurationStatus) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*XantrexDcSourceConfigurationStatus) DcOvRecoverLevelValue

func (m *XantrexDcSourceConfigurationStatus) DcOvRecoverLevelValue() (float64, bool)

DcOvRecoverLevelValue returns DcOvRecoverLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexDcSourceConfigurationStatus) DcOvShutdownDelayValue

func (m *XantrexDcSourceConfigurationStatus) DcOvShutdownDelayValue() (float64, bool)

DcOvShutdownDelayValue returns DcOvShutdownDelay as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexDcSourceConfigurationStatus) DcOvShutdownLevelValue

func (m *XantrexDcSourceConfigurationStatus) DcOvShutdownLevelValue() (float64, bool)

DcOvShutdownLevelValue returns DcOvShutdownLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexDcSourceConfigurationStatus) DcOvWarningLevelValue

func (m *XantrexDcSourceConfigurationStatus) DcOvWarningLevelValue() (float64, bool)

DcOvWarningLevelValue returns DcOvWarningLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexDcSourceConfigurationStatus) DcUvRecoverLevelValue

func (m *XantrexDcSourceConfigurationStatus) DcUvRecoverLevelValue() (float64, bool)

DcUvRecoverLevelValue returns DcUvRecoverLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexDcSourceConfigurationStatus) DcUvShutdownDelayValue

func (m *XantrexDcSourceConfigurationStatus) DcUvShutdownDelayValue() (float64, bool)

DcUvShutdownDelayValue returns DcUvShutdownDelay as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexDcSourceConfigurationStatus) DcUvShutdownLevelValue

func (m *XantrexDcSourceConfigurationStatus) DcUvShutdownLevelValue() (float64, bool)

DcUvShutdownLevelValue returns DcUvShutdownLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexDcSourceConfigurationStatus) DcUvWarningLevelValue

func (m *XantrexDcSourceConfigurationStatus) DcUvWarningLevelValue() (float64, bool)

DcUvWarningLevelValue returns DcUvWarningLevel as a physical value in V (value = raw * 0.01). The bool is false for absent, sentinel, or out-of-range measurements.

func (*XantrexDcSourceConfigurationStatus) DecodePayload

func (m *XantrexDcSourceConfigurationStatus) DecodePayload(payload []uint8) error

func (*XantrexDcSourceConfigurationStatus) EncodePayload

func (m *XantrexDcSourceConfigurationStatus) EncodePayload() ([]uint8, error)

func (*XantrexDcSourceConfigurationStatus) MessageInfo

func (*XantrexDcSourceConfigurationStatus) PGNNumber

func (*XantrexDcSourceConfigurationStatus) SetDcOvRecoverLevelValue

func (m *XantrexDcSourceConfigurationStatus) SetDcOvRecoverLevelValue(v float64)

SetDcOvRecoverLevelValue sets DcOvRecoverLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexDcSourceConfigurationStatus) SetDcOvShutdownDelayValue

func (m *XantrexDcSourceConfigurationStatus) SetDcOvShutdownDelayValue(v float64)

SetDcOvShutdownDelayValue sets DcOvShutdownDelay from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexDcSourceConfigurationStatus) SetDcOvShutdownLevelValue

func (m *XantrexDcSourceConfigurationStatus) SetDcOvShutdownLevelValue(v float64)

SetDcOvShutdownLevelValue sets DcOvShutdownLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexDcSourceConfigurationStatus) SetDcOvWarningLevelValue

func (m *XantrexDcSourceConfigurationStatus) SetDcOvWarningLevelValue(v float64)

SetDcOvWarningLevelValue sets DcOvWarningLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexDcSourceConfigurationStatus) SetDcUvRecoverLevelValue

func (m *XantrexDcSourceConfigurationStatus) SetDcUvRecoverLevelValue(v float64)

SetDcUvRecoverLevelValue sets DcUvRecoverLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexDcSourceConfigurationStatus) SetDcUvShutdownDelayValue

func (m *XantrexDcSourceConfigurationStatus) SetDcUvShutdownDelayValue(v float64)

SetDcUvShutdownDelayValue sets DcUvShutdownDelay from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexDcSourceConfigurationStatus) SetDcUvShutdownLevelValue

func (m *XantrexDcSourceConfigurationStatus) SetDcUvShutdownLevelValue(v float64)

SetDcUvShutdownLevelValue sets DcUvShutdownLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexDcSourceConfigurationStatus) SetDcUvWarningLevelValue

func (m *XantrexDcSourceConfigurationStatus) SetDcUvWarningLevelValue(v float64)

SetDcUvWarningLevelValue sets DcUvWarningLevel from a physical value in V, rounded to the nearest wire tick of 0.01.

func (*XantrexDcSourceConfigurationStatus) SetMessageInfo

func (m *XantrexDcSourceConfigurationStatus) SetMessageInfo(info MessageInfo)

type YamahaEngineData

type YamahaEngineData struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*YamahaEngineData) Clone added in v1.3.0

func (m *YamahaEngineData) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineData) DecodePayload

func (m *YamahaEngineData) DecodePayload(payload []uint8) error

func (*YamahaEngineData) EncodePayload

func (m *YamahaEngineData) EncodePayload() ([]uint8, error)

func (*YamahaEngineData) MessageInfo

func (m *YamahaEngineData) MessageInfo() MessageInfo

func (*YamahaEngineData) PGNNumber

func (m *YamahaEngineData) PGNNumber() uint32

func (*YamahaEngineData) SetMessageInfo

func (m *YamahaEngineData) SetMessageInfo(info MessageInfo)

type YamahaEngineData2

type YamahaEngineData2 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*YamahaEngineData2) Clone added in v1.3.0

func (m *YamahaEngineData2) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineData2) DecodePayload

func (m *YamahaEngineData2) DecodePayload(payload []uint8) error

func (*YamahaEngineData2) EncodePayload

func (m *YamahaEngineData2) EncodePayload() ([]uint8, error)

func (*YamahaEngineData2) MessageInfo

func (m *YamahaEngineData2) MessageInfo() MessageInfo

func (*YamahaEngineData2) PGNNumber

func (m *YamahaEngineData2) PGNNumber() uint32

func (*YamahaEngineData2) SetMessageInfo

func (m *YamahaEngineData2) SetMessageInfo(info MessageInfo)

type YamahaEngineData3

type YamahaEngineData3 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*YamahaEngineData3) Clone added in v1.3.0

func (m *YamahaEngineData3) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineData3) DecodePayload

func (m *YamahaEngineData3) DecodePayload(payload []uint8) error

func (*YamahaEngineData3) EncodePayload

func (m *YamahaEngineData3) EncodePayload() ([]uint8, error)

func (*YamahaEngineData3) MessageInfo

func (m *YamahaEngineData3) MessageInfo() MessageInfo

func (*YamahaEngineData3) PGNNumber

func (m *YamahaEngineData3) PGNNumber() uint32

func (*YamahaEngineData3) SetMessageInfo

func (m *YamahaEngineData3) SetMessageInfo(info MessageInfo)

type YamahaEngineData4

type YamahaEngineData4 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*YamahaEngineData4) Clone added in v1.3.0

func (m *YamahaEngineData4) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineData4) DecodePayload

func (m *YamahaEngineData4) DecodePayload(payload []uint8) error

func (*YamahaEngineData4) EncodePayload

func (m *YamahaEngineData4) EncodePayload() ([]uint8, error)

func (*YamahaEngineData4) MessageInfo

func (m *YamahaEngineData4) MessageInfo() MessageInfo

func (*YamahaEngineData4) PGNNumber

func (m *YamahaEngineData4) PGNNumber() uint32

func (*YamahaEngineData4) SetMessageInfo

func (m *YamahaEngineData4) SetMessageInfo(info MessageInfo)

type YamahaEngineData5

type YamahaEngineData5 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*YamahaEngineData5) Clone added in v1.3.0

func (m *YamahaEngineData5) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineData5) DecodePayload

func (m *YamahaEngineData5) DecodePayload(payload []uint8) error

func (*YamahaEngineData5) EncodePayload

func (m *YamahaEngineData5) EncodePayload() ([]uint8, error)

func (*YamahaEngineData5) MessageInfo

func (m *YamahaEngineData5) MessageInfo() MessageInfo

func (*YamahaEngineData5) PGNNumber

func (m *YamahaEngineData5) PGNNumber() uint32

func (*YamahaEngineData5) SetMessageInfo

func (m *YamahaEngineData5) SetMessageInfo(info MessageInfo)

type YamahaEngineData6

type YamahaEngineData6 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*YamahaEngineData6) Clone added in v1.3.0

func (m *YamahaEngineData6) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineData6) DecodePayload

func (m *YamahaEngineData6) DecodePayload(payload []uint8) error

func (*YamahaEngineData6) EncodePayload

func (m *YamahaEngineData6) EncodePayload() ([]uint8, error)

func (*YamahaEngineData6) MessageInfo

func (m *YamahaEngineData6) MessageInfo() MessageInfo

func (*YamahaEngineData6) PGNNumber

func (m *YamahaEngineData6) PGNNumber() uint32

func (*YamahaEngineData6) SetMessageInfo

func (m *YamahaEngineData6) SetMessageInfo(info MessageInfo)

type YamahaEngineData7

type YamahaEngineData7 struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
}

func (*YamahaEngineData7) Clone added in v1.3.0

func (m *YamahaEngineData7) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineData7) DecodePayload

func (m *YamahaEngineData7) DecodePayload(payload []uint8) error

func (*YamahaEngineData7) EncodePayload

func (m *YamahaEngineData7) EncodePayload() ([]uint8, error)

func (*YamahaEngineData7) MessageInfo

func (m *YamahaEngineData7) MessageInfo() MessageInfo

func (*YamahaEngineData7) PGNNumber

func (m *YamahaEngineData7) PGNNumber() uint32

func (*YamahaEngineData7) SetMessageInfo

func (m *YamahaEngineData7) SetMessageInfo(info MessageInfo)

type YamahaEngineDataA

type YamahaEngineDataA struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YamahaEngineDataA) Clone added in v1.3.0

func (m *YamahaEngineDataA) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineDataA) DecodePayload

func (m *YamahaEngineDataA) DecodePayload(payload []uint8) error

func (*YamahaEngineDataA) EncodePayload

func (m *YamahaEngineDataA) EncodePayload() ([]uint8, error)

func (*YamahaEngineDataA) MessageInfo

func (m *YamahaEngineDataA) MessageInfo() MessageInfo

func (*YamahaEngineDataA) PGNNumber

func (m *YamahaEngineDataA) PGNNumber() uint32

func (*YamahaEngineDataA) SetMessageInfo

func (m *YamahaEngineDataA) SetMessageInfo(info MessageInfo)

type YamahaEngineDataB

type YamahaEngineDataB struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YamahaEngineDataB) Clone added in v1.3.0

func (m *YamahaEngineDataB) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineDataB) DecodePayload

func (m *YamahaEngineDataB) DecodePayload(payload []uint8) error

func (*YamahaEngineDataB) EncodePayload

func (m *YamahaEngineDataB) EncodePayload() ([]uint8, error)

func (*YamahaEngineDataB) MessageInfo

func (m *YamahaEngineDataB) MessageInfo() MessageInfo

func (*YamahaEngineDataB) PGNNumber

func (m *YamahaEngineDataB) PGNNumber() uint32

func (*YamahaEngineDataB) SetMessageInfo

func (m *YamahaEngineDataB) SetMessageInfo(info MessageInfo)

type YamahaEngineDataC

type YamahaEngineDataC struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YamahaEngineDataC) Clone added in v1.3.0

func (m *YamahaEngineDataC) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineDataC) DecodePayload

func (m *YamahaEngineDataC) DecodePayload(payload []uint8) error

func (*YamahaEngineDataC) EncodePayload

func (m *YamahaEngineDataC) EncodePayload() ([]uint8, error)

func (*YamahaEngineDataC) MessageInfo

func (m *YamahaEngineDataC) MessageInfo() MessageInfo

func (*YamahaEngineDataC) PGNNumber

func (m *YamahaEngineDataC) PGNNumber() uint32

func (*YamahaEngineDataC) SetMessageInfo

func (m *YamahaEngineDataC) SetMessageInfo(info MessageInfo)

type YamahaEngineDataD

type YamahaEngineDataD struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YamahaEngineDataD) Clone added in v1.3.0

func (m *YamahaEngineDataD) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaEngineDataD) DecodePayload

func (m *YamahaEngineDataD) DecodePayload(payload []uint8) error

func (*YamahaEngineDataD) EncodePayload

func (m *YamahaEngineDataD) EncodePayload() ([]uint8, error)

func (*YamahaEngineDataD) MessageInfo

func (m *YamahaEngineDataD) MessageInfo() MessageInfo

func (*YamahaEngineDataD) PGNNumber

func (m *YamahaEngineDataD) PGNNumber() uint32

func (*YamahaEngineDataD) SetMessageInfo

func (m *YamahaEngineDataD) SetMessageInfo(info MessageInfo)

type YamahaGearStatus

type YamahaGearStatus struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Neutral          *uint64     `json:"neutral,omitempty" n2k:"6"`
}

func (*YamahaGearStatus) Clone added in v1.3.0

func (m *YamahaGearStatus) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YamahaGearStatus) DecodePayload

func (m *YamahaGearStatus) DecodePayload(payload []uint8) error

func (*YamahaGearStatus) EncodePayload

func (m *YamahaGearStatus) EncodePayload() ([]uint8, error)

func (*YamahaGearStatus) MessageInfo

func (m *YamahaGearStatus) MessageInfo() MessageInfo

func (*YamahaGearStatus) PGNNumber

func (m *YamahaGearStatus) PGNNumber() uint32

func (*YamahaGearStatus) SetMessageInfo

func (m *YamahaGearStatus) SetMessageInfo(info MessageInfo)

type YanmarEngineDataA

type YanmarEngineDataA struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YanmarEngineDataA) Clone added in v1.3.0

func (m *YanmarEngineDataA) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YanmarEngineDataA) DecodePayload

func (m *YanmarEngineDataA) DecodePayload(payload []uint8) error

func (*YanmarEngineDataA) EncodePayload

func (m *YanmarEngineDataA) EncodePayload() ([]uint8, error)

func (*YanmarEngineDataA) MessageInfo

func (m *YanmarEngineDataA) MessageInfo() MessageInfo

func (*YanmarEngineDataA) PGNNumber

func (m *YanmarEngineDataA) PGNNumber() uint32

func (*YanmarEngineDataA) SetMessageInfo

func (m *YanmarEngineDataA) SetMessageInfo(info MessageInfo)

type YanmarEngineDataB

type YanmarEngineDataB struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YanmarEngineDataB) Clone added in v1.3.0

func (m *YanmarEngineDataB) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YanmarEngineDataB) DecodePayload

func (m *YanmarEngineDataB) DecodePayload(payload []uint8) error

func (*YanmarEngineDataB) EncodePayload

func (m *YanmarEngineDataB) EncodePayload() ([]uint8, error)

func (*YanmarEngineDataB) MessageInfo

func (m *YanmarEngineDataB) MessageInfo() MessageInfo

func (*YanmarEngineDataB) PGNNumber

func (m *YanmarEngineDataB) PGNNumber() uint32

func (*YanmarEngineDataB) SetMessageInfo

func (m *YanmarEngineDataB) SetMessageInfo(info MessageInfo)

type YanmarEngineDataC

type YanmarEngineDataC struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YanmarEngineDataC) Clone added in v1.3.0

func (m *YanmarEngineDataC) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YanmarEngineDataC) DecodePayload

func (m *YanmarEngineDataC) DecodePayload(payload []uint8) error

func (*YanmarEngineDataC) EncodePayload

func (m *YanmarEngineDataC) EncodePayload() ([]uint8, error)

func (*YanmarEngineDataC) MessageInfo

func (m *YanmarEngineDataC) MessageInfo() MessageInfo

func (*YanmarEngineDataC) PGNNumber

func (m *YanmarEngineDataC) PGNNumber() uint32

func (*YanmarEngineDataC) SetMessageInfo

func (m *YanmarEngineDataC) SetMessageInfo(info MessageInfo)

type YanmarEngineDataD

type YanmarEngineDataD struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YanmarEngineDataD) Clone added in v1.3.0

func (m *YanmarEngineDataD) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YanmarEngineDataD) DecodePayload

func (m *YanmarEngineDataD) DecodePayload(payload []uint8) error

func (*YanmarEngineDataD) EncodePayload

func (m *YanmarEngineDataD) EncodePayload() ([]uint8, error)

func (*YanmarEngineDataD) MessageInfo

func (m *YanmarEngineDataD) MessageInfo() MessageInfo

func (*YanmarEngineDataD) PGNNumber

func (m *YanmarEngineDataD) PGNNumber() uint32

func (*YanmarEngineDataD) SetMessageInfo

func (m *YanmarEngineDataD) SetMessageInfo(info MessageInfo)

type YanmarEngineDataE

type YanmarEngineDataE struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YanmarEngineDataE) Clone added in v1.3.0

func (m *YanmarEngineDataE) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YanmarEngineDataE) DecodePayload

func (m *YanmarEngineDataE) DecodePayload(payload []uint8) error

func (*YanmarEngineDataE) EncodePayload

func (m *YanmarEngineDataE) EncodePayload() ([]uint8, error)

func (*YanmarEngineDataE) MessageInfo

func (m *YanmarEngineDataE) MessageInfo() MessageInfo

func (*YanmarEngineDataE) PGNNumber

func (m *YanmarEngineDataE) PGNNumber() uint32

func (*YanmarEngineDataE) SetMessageInfo

func (m *YanmarEngineDataE) SetMessageInfo(info MessageInfo)

type YanmarEngineDataF

type YanmarEngineDataF struct {
	Info             MessageInfo `json:"info"`
	ManufacturerCode *uint64     `json:"manufacturerCode,omitempty" n2k:"1"`
	IndustryCode     *uint64     `json:"industryCode,omitempty" n2k:"3"`
	Data             []uint8     `json:"data,omitempty" n2k:"4"`
}

func (*YanmarEngineDataF) Clone added in v1.3.0

func (m *YanmarEngineDataF) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*YanmarEngineDataF) DecodePayload

func (m *YanmarEngineDataF) DecodePayload(payload []uint8) error

func (*YanmarEngineDataF) EncodePayload

func (m *YanmarEngineDataF) EncodePayload() ([]uint8, error)

func (*YanmarEngineDataF) MessageInfo

func (m *YanmarEngineDataF) MessageInfo() MessageInfo

func (*YanmarEngineDataF) PGNNumber

func (m *YanmarEngineDataF) PGNNumber() uint32

func (*YanmarEngineDataF) SetMessageInfo

func (m *YanmarEngineDataF) SetMessageInfo(info MessageInfo)

type YesNo1bitConst added in v1.3.0

type YesNo1bitConst uint8
const (
	YesNo1bitNo  YesNo1bitConst = 0
	YesNo1bitYes YesNo1bitConst = 1
)

func (YesNo1bitConst) GoString added in v1.3.0

func (e YesNo1bitConst) GoString() string

func (YesNo1bitConst) String added in v1.3.0

func (e YesNo1bitConst) String() string

type YesNoConst

type YesNoConst uint8
const (
	YesNoNo  YesNoConst = 0
	YesNoYes YesNoConst = 1
)

func (YesNoConst) GoString

func (e YesNoConst) GoString() string

func (YesNoConst) String

func (e YesNoConst) String() string

type ZoneConfiguration

type ZoneConfiguration struct {
	Info                    MessageInfo `json:"info"`
	ZoneId                  *uint64     `json:"zoneId,omitempty" n2k:"1"`
	VolumeLimit             *uint64     `json:"volumeLimit,omitempty" n2k:"2"`
	Fade                    *int64      `json:"fade,omitempty" n2k:"3"`
	Balance                 *int64      `json:"balance,omitempty" n2k:"4"`
	SubVolume               *uint64     `json:"subVolume,omitempty" n2k:"5"`
	EqTreble                *int64      `json:"eqTreble,omitempty" n2k:"6"`
	EqMidRange              *int64      `json:"eqMidRange,omitempty" n2k:"7"`
	EqBass                  *int64      `json:"eqBass,omitempty" n2k:"8"`
	PresetType              *uint64     `json:"presetType,omitempty" n2k:"9"`
	AudioFilter             *uint64     `json:"audioFilter,omitempty" n2k:"10"`
	HighPassFilterFrequency *uint64     `json:"highPassFilterFrequency,omitempty" n2k:"11"`
	LowPassFilterFrequency  *uint64     `json:"lowPassFilterFrequency,omitempty" n2k:"12"`
	Channel                 *uint64     `json:"channel,omitempty" n2k:"13"`
}

func (*ZoneConfiguration) BalanceValue

func (m *ZoneConfiguration) BalanceValue() (float64, bool)

BalanceValue returns Balance as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ZoneConfiguration) Clone added in v1.3.0

func (m *ZoneConfiguration) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ZoneConfiguration) DecodePayload

func (m *ZoneConfiguration) DecodePayload(payload []uint8) error

func (*ZoneConfiguration) EncodePayload

func (m *ZoneConfiguration) EncodePayload() ([]uint8, error)

func (*ZoneConfiguration) EqBassValue

func (m *ZoneConfiguration) EqBassValue() (float64, bool)

EqBassValue returns EqBass as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ZoneConfiguration) EqMidRangeValue

func (m *ZoneConfiguration) EqMidRangeValue() (float64, bool)

EqMidRangeValue returns EqMidRange as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ZoneConfiguration) EqTrebleValue

func (m *ZoneConfiguration) EqTrebleValue() (float64, bool)

EqTrebleValue returns EqTreble as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ZoneConfiguration) FadeValue

func (m *ZoneConfiguration) FadeValue() (float64, bool)

FadeValue returns Fade as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ZoneConfiguration) HighPassFilterFrequencyValue

func (m *ZoneConfiguration) HighPassFilterFrequencyValue() (float64, bool)

HighPassFilterFrequencyValue returns HighPassFilterFrequency as a physical value in Hz (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ZoneConfiguration) LowPassFilterFrequencyValue

func (m *ZoneConfiguration) LowPassFilterFrequencyValue() (float64, bool)

LowPassFilterFrequencyValue returns LowPassFilterFrequency as a physical value in Hz (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ZoneConfiguration) MessageInfo

func (m *ZoneConfiguration) MessageInfo() MessageInfo

func (*ZoneConfiguration) PGNNumber

func (m *ZoneConfiguration) PGNNumber() uint32

func (*ZoneConfiguration) SetBalanceValue

func (m *ZoneConfiguration) SetBalanceValue(v float64)

SetBalanceValue sets Balance from a physical value in %, rounded to the nearest wire tick of 1.

func (*ZoneConfiguration) SetEqBassValue

func (m *ZoneConfiguration) SetEqBassValue(v float64)

SetEqBassValue sets EqBass from a physical value in %, rounded to the nearest wire tick of 1.

func (*ZoneConfiguration) SetEqMidRangeValue

func (m *ZoneConfiguration) SetEqMidRangeValue(v float64)

SetEqMidRangeValue sets EqMidRange from a physical value in %, rounded to the nearest wire tick of 1.

func (*ZoneConfiguration) SetEqTrebleValue

func (m *ZoneConfiguration) SetEqTrebleValue(v float64)

SetEqTrebleValue sets EqTreble from a physical value in %, rounded to the nearest wire tick of 1.

func (*ZoneConfiguration) SetFadeValue

func (m *ZoneConfiguration) SetFadeValue(v float64)

SetFadeValue sets Fade from a physical value in %, rounded to the nearest wire tick of 1.

func (*ZoneConfiguration) SetHighPassFilterFrequencyValue

func (m *ZoneConfiguration) SetHighPassFilterFrequencyValue(v float64)

SetHighPassFilterFrequencyValue sets HighPassFilterFrequency from a physical value in Hz, rounded to the nearest wire tick of 1.

func (*ZoneConfiguration) SetLowPassFilterFrequencyValue

func (m *ZoneConfiguration) SetLowPassFilterFrequencyValue(v float64)

SetLowPassFilterFrequencyValue sets LowPassFilterFrequency from a physical value in Hz, rounded to the nearest wire tick of 1.

func (*ZoneConfiguration) SetMessageInfo

func (m *ZoneConfiguration) SetMessageInfo(info MessageInfo)

func (*ZoneConfiguration) SetSubVolumeValue

func (m *ZoneConfiguration) SetSubVolumeValue(v float64)

SetSubVolumeValue sets SubVolume from a physical value in %, rounded to the nearest wire tick of 1.

func (*ZoneConfiguration) SetVolumeLimitValue

func (m *ZoneConfiguration) SetVolumeLimitValue(v float64)

SetVolumeLimitValue sets VolumeLimit from a physical value in %, rounded to the nearest wire tick of 1.

func (*ZoneConfiguration) SubVolumeValue

func (m *ZoneConfiguration) SubVolumeValue() (float64, bool)

SubVolumeValue returns SubVolume as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

func (*ZoneConfiguration) VolumeLimitValue

func (m *ZoneConfiguration) VolumeLimitValue() (float64, bool)

VolumeLimitValue returns VolumeLimit as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

type ZoneConfigurationDeprecated

type ZoneConfigurationDeprecated struct {
	Info           MessageInfo                             `json:"info"`
	FirstZoneId    *uint64                                 `json:"firstZoneId,omitempty" n2k:"1"`
	ZoneCount      *uint64                                 `json:"zoneCount,omitempty" n2k:"2"`
	TotalZoneCount *uint64                                 `json:"totalZoneCount,omitempty" n2k:"3"`
	Repeating1     []ZoneConfigurationDeprecatedRepeating1 `json:"repeating1,omitempty" n2k:"rep1"`
}

func (*ZoneConfigurationDeprecated) Clone added in v1.3.0

Clone returns a message owning every mutable field and retained wire byte.

func (*ZoneConfigurationDeprecated) DecodePayload

func (m *ZoneConfigurationDeprecated) DecodePayload(payload []uint8) error

func (*ZoneConfigurationDeprecated) EncodePayload

func (m *ZoneConfigurationDeprecated) EncodePayload() ([]uint8, error)

func (*ZoneConfigurationDeprecated) MessageInfo

func (m *ZoneConfigurationDeprecated) MessageInfo() MessageInfo

func (*ZoneConfigurationDeprecated) PGNNumber

func (m *ZoneConfigurationDeprecated) PGNNumber() uint32

func (*ZoneConfigurationDeprecated) SetMessageInfo

func (m *ZoneConfigurationDeprecated) SetMessageInfo(info MessageInfo)

type ZoneConfigurationDeprecatedRepeating1

type ZoneConfigurationDeprecatedRepeating1 struct {
	ZoneId   *uint64 `json:"zoneId,omitempty" n2k:"4"`
	ZoneName string  `json:"zoneName,omitempty" n2k:"5"`
}

type ZoneSizeConst added in v1.3.0

type ZoneSizeConst uint8
const (
	ZoneSize1Nm ZoneSizeConst = 0
	ZoneSize2Nm ZoneSizeConst = 1
	ZoneSize3Nm ZoneSizeConst = 2
	ZoneSize4Nm ZoneSizeConst = 3
	ZoneSize5Nm ZoneSizeConst = 4
	ZoneSize6Nm ZoneSizeConst = 5
)

func (ZoneSizeConst) GoString added in v1.3.0

func (e ZoneSizeConst) GoString() string

func (ZoneSizeConst) String added in v1.3.0

func (e ZoneSizeConst) String() string

type ZoneVolume

type ZoneVolume struct {
	Info         MessageInfo `json:"info"`
	ZoneId       *uint64     `json:"zoneId,omitempty" n2k:"1"`
	Volume       *uint64     `json:"volume,omitempty" n2k:"2"`
	VolumeChange *uint64     `json:"volumeChange,omitempty" n2k:"3"`
	Mute         *uint64     `json:"mute,omitempty" n2k:"4"`
	Channel      *uint64     `json:"channel,omitempty" n2k:"6"`
}

func (*ZoneVolume) Clone added in v1.3.0

func (m *ZoneVolume) Clone() Message

Clone returns a message owning every mutable field and retained wire byte.

func (*ZoneVolume) DecodePayload

func (m *ZoneVolume) DecodePayload(payload []uint8) error

func (*ZoneVolume) EncodePayload

func (m *ZoneVolume) EncodePayload() ([]uint8, error)

func (*ZoneVolume) MessageInfo

func (m *ZoneVolume) MessageInfo() MessageInfo

func (*ZoneVolume) PGNNumber

func (m *ZoneVolume) PGNNumber() uint32

func (*ZoneVolume) SetMessageInfo

func (m *ZoneVolume) SetMessageInfo(info MessageInfo)

func (*ZoneVolume) SetVolumeValue

func (m *ZoneVolume) SetVolumeValue(v float64)

SetVolumeValue sets Volume from a physical value in %, rounded to the nearest wire tick of 1.

func (*ZoneVolume) VolumeValue

func (m *ZoneVolume) VolumeValue() (float64, bool)

VolumeValue returns Volume as a physical value in % (value = raw). The bool is false for absent, sentinel, or out-of-range measurements.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL