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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // Response to a REQUEST_EVENT in case of an error (e.g. the event is not available anymore).
     6  type MessageResponseEventError struct {
     7  	// System ID
     8  	TargetSystem uint8
     9  	// Component ID
    10  	TargetComponent uint8
    11  	// Sequence number.
    12  	Sequence uint16
    13  	// Oldest Sequence number that is still available after the sequence set in REQUEST_EVENT.
    14  	SequenceOldestAvailable uint16
    15  	// Error reason.
    16  	Reason MAV_EVENT_ERROR_REASON `mavenum:"uint8"`
    17  }
    18  
    19  // GetID implements the message.Message interface.
    20  func (*MessageResponseEventError) GetID() uint32 {
    21  	return 413
    22  }