github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/development/message_component_information_basic.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package development
     4  
     5  // Basic component information data. Should be requested using MAV_CMD_REQUEST_MESSAGE on startup, or when required.
     6  type MessageComponentInformationBasic struct {
     7  	// Timestamp (time since system boot).
     8  	TimeBootMs uint32
     9  	// Component capability flags
    10  	Capabilities MAV_PROTOCOL_CAPABILITY `mavenum:"uint64"`
    11  	// Date of manufacture as a UNIX Epoch time (since 1.1.1970) in seconds.
    12  	TimeManufactureS uint32
    13  	// Name of the component vendor. Needs to be zero terminated. The field is optional and can be empty/all zeros.
    14  	VendorName string `mavlen:"32"`
    15  	// Name of the component model. Needs to be zero terminated. The field is optional and can be empty/all zeros.
    16  	ModelName string `mavlen:"32"`
    17  	// Software version. The recommended format is SEMVER: 'major.minor.patch'  (any format may be used). The field must be zero terminated if it has a value. The field is optional and can be empty/all zeros.
    18  	SoftwareVersion string `mavlen:"24"`
    19  	// Hardware version. The recommended format is SEMVER: 'major.minor.patch'  (any format may be used). The field must be zero terminated if it has a value. The field is optional and can be empty/all zeros.
    20  	HardwareVersion string `mavlen:"24"`
    21  	// Hardware serial number. The field must be zero terminated if it has a value. The field is optional and can be empty/all zeros.
    22  	SerialNumber string `mavlen:"32"`
    23  }
    24  
    25  // GetID implements the message.Message interface.
    26  func (*MessageComponentInformationBasic) GetID() uint32 {
    27  	return 396
    28  }