uint8_ttarget_system;///< System the GCS requests control for
uint8_tcontrol_request;///< 0: request control of this MAV, 1: Release control of this MAV
uint8_tversion;///< 0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
charpasskey[25];///< Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
uint8_ttarget_system;///< System the GCS requests control for
uint8_tcontrol_request;///< 0: request control of this MAV, 1: Release control of this MAV
uint8_tversion;///< 0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
charpasskey[25];///< Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
p->target_system=target_system;// uint8_t:System the GCS requests control for
p->control_request=control_request;// uint8_t:0: request control of this MAV, 1: Release control of this MAV
p->version=version;// uint8_t:0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
memcpy(p->passkey,passkey,sizeof(p->passkey));// char[25]:Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
p->target_system=target_system;// uint8_t:System the GCS requests control for
p->control_request=control_request;// uint8_t:0: request control of this MAV, 1: Release control of this MAV
p->version=version;// uint8_t:0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
memcpy(p->passkey,passkey,sizeof(p->passkey));// char[25]:Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
p->target_system=target_system;// uint8_t:System the GCS requests control for
p->control_request=control_request;// uint8_t:0: request control of this MAV, 1: Release control of this MAV
p->version=version;// uint8_t:0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
memcpy(p->passkey,passkey,sizeof(p->passkey));// char[25]:Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
p->target_system=target_system;// uint8_t:System the GCS requests control for
p->control_request=control_request;// uint8_t:0: request control of this MAV, 1: Release control of this MAV
p->version=version;// uint8_t:0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
memcpy(p->passkey,passkey,sizeof(p->passkey));// char[25]:Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
@@ -86,20 +90,16 @@ static inline uint16_t mavlink_msg_change_operator_control_encode(uint8_t system
* @param version 0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
* @param passkey Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
p->target_system=target_system;// uint8_t:System the GCS requests control for
p->control_request=control_request;// uint8_t:0: request control of this MAV, 1: Release control of this MAV
p->version=version;// uint8_t:0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
memcpy(p->passkey,passkey,sizeof(p->passkey));// char[25]:Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
payload.target_system=target_system;// uint8_t:System the GCS requests control for
payload.control_request=control_request;// uint8_t:0: request control of this MAV, 1: Release control of this MAV
payload.version=version;// uint8_t:0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.
memcpy(payload.passkey,passkey,sizeof(payload.passkey));// char[25]:Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"