Documentation
¶
Overview ¶
Package n2kcatalog owns Beacon's runtime view of the NMEA 2000 PGN and field catalog, including unit-scaled values for decoded messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageMetadata ¶
type MessageMetadata struct {
Name string `json:"name,omitempty"`
Variant string `json:"variant,omitempty"`
Transport string `json:"transport,omitempty"`
Complete bool `json:"complete"`
Fallback bool `json:"fallback"`
Missing []string `json:"missing,omitempty"`
ManufacturerCode *uint16 `json:"manufacturer_code,omitempty"`
}
func Describe ¶
func Describe(message pgn.PGN, raw []byte) (MessageMetadata, map[string]PhysicalField)
func DescribeUnknown ¶
func DescribeUnknown(number uint32, raw []byte) MessageMetadata
Click to show internal directories.
Click to hide internal directories.