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

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll
     3  package common
     4  
     5  // Accept / deny control of this MAV
     6  type MessageChangeOperatorControlAck struct {
     7  	// ID of the GCS this message
     8  	GcsSystemId uint8
     9  	// 0: request control of this MAV, 1: Release control of this MAV
    10  	ControlRequest uint8
    11  	// 0: ACK, 1: NACK: Wrong passkey, 2: NACK: Unsupported passkey encryption method, 3: NACK: Already under control
    12  	Ack uint8
    13  }
    14  
    15  // GetID implements the message.Message interface.
    16  func (*MessageChangeOperatorControlAck) GetID() uint32 {
    17  	return 6
    18  }