Documentation
¶
Overview ¶
Package identity owns Beacon's stable ISO 11783/NMEA 2000 appliance identity and the product/configuration information derived from it.
Index ¶
Constants ¶
View Source
const ( N2KVersion = 3000 ExperimentalManufacturer = 2000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Appliance ¶
type Appliance struct {
IdentityNumber uint32 `json:"identity_number"`
ManufacturerCode uint16 `json:"manufacturer_code"`
ProductCode uint16 `json:"product_code"`
DeviceClass uint8 `json:"device_class"`
DeviceFunction uint8 `json:"device_function"`
IndustryGroup uint8 `json:"industry_group"`
N2KVersion uint16 `json:"n2k_version"`
Certification uint8 `json:"certification_level"`
SerialNumber string `json:"serial_number"`
DeviceNAME uint64 `json:"device_name"`
DeviceNameHex string `json:"device_name_hex"`
CreatedAt time.Time `json:"created_at"`
Conformance string `json:"conformance"`
}
func (Appliance) Name ¶
func (a Appliance) Name() n2k.DeviceName
Click to show internal directories.
Click to hide internal directories.