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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // A message containing logged data which requires a LOGGING_ACK to be sent back
     6  type MessageLoggingDataAcked struct {
     7  	// system ID of the target
     8  	TargetSystem uint8
     9  	// component ID of the target
    10  	TargetComponent uint8
    11  	// sequence number (can wrap)
    12  	Sequence uint16
    13  	// data length
    14  	Length uint8
    15  	// offset into data where first message starts. This can be used for recovery, when a previous message got lost (set to UINT8_MAX if no start exists).
    16  	FirstMessageOffset uint8
    17  	// logged data
    18  	Data [249]uint8
    19  }
    20  
    21  // GetID implements the message.Message interface.
    22  func (*MessageLoggingDataAcked) GetID() uint32 {
    23  	return 267
    24  }