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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // Status text message. These messages are printed in yellow in the COMM console of QGroundControl. WARNING: They consume quite some bandwidth, so use only for important status and error messages. If implemented wisely, these messages are buffered on the MCU and sent only at a limited rate (e.g. 10 Hz).
     6  type MessageStatustext struct {
     7  	// Severity of status. Relies on the definitions within RFC-5424.
     8  	Severity MAV_SEVERITY `mavenum:"uint8"`
     9  	// Status text message, without null termination character
    10  	Text string `mavlen:"50"`
    11  	// Unique (opaque) identifier for this statustext message.  May be used to reassemble a logical long-statustext message from a sequence of chunks.  A value of zero indicates this is the only chunk in the sequence and the message can be emitted immediately.
    12  	Id uint16 `mavext:"true"`
    13  	// This chunk's sequence number; indexing is from zero.  Any null character in the text field is taken to mean this was the last chunk.
    14  	ChunkSeq uint8 `mavext:"true"`
    15  }
    16  
    17  // GetID implements the message.Message interface.
    18  func (*MessageStatustext) GetID() uint32 {
    19  	return 253
    20  }