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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package cubepilot
     4  
     5  // Start firmware update with encapsulated data.
     6  type MessageCubepilotFirmwareUpdateStart struct {
     7  	// System ID.
     8  	TargetSystem uint8
     9  	// Component ID.
    10  	TargetComponent uint8
    11  	// FW Size.
    12  	Size uint32
    13  	// FW CRC.
    14  	Crc uint32
    15  }
    16  
    17  // GetID implements the message.Message interface.
    18  func (*MessageCubepilotFirmwareUpdateStart) GetID() uint32 {
    19  	return 50004
    20  }