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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package matrixpilot
     4  
     5  // Flexifunction type and parameters for component at function index from buffer
     6  type MessageFlexifunctionBufferFunction struct {
     7  	// System ID
     8  	TargetSystem uint8
     9  	// Component ID
    10  	TargetComponent uint8
    11  	// Function index
    12  	FuncIndex uint16
    13  	// Total count of functions
    14  	FuncCount uint16
    15  	// Address in the flexifunction data, Set to 0xFFFF to use address in target memory
    16  	DataAddress uint16
    17  	// Size of the
    18  	DataSize uint16
    19  	// Settings data
    20  	Data [48]int8
    21  }
    22  
    23  // GetID implements the message.Message interface.
    24  func (*MessageFlexifunctionBufferFunction) GetID() uint32 {
    25  	return 152
    26  }