3 #define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL 5 13 #define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL_LEN 28 14 #define MAVLINK_MSG_ID_5_LEN 28 16 #define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL_CRC 217 17 #define MAVLINK_MSG_ID_5_CRC 217 19 #define MAVLINK_MSG_CHANGE_OPERATOR_CONTROL_FIELD_PASSKEY_LEN 25 21 #define MAVLINK_MESSAGE_INFO_CHANGE_OPERATOR_CONTROL { \ 22 "CHANGE_OPERATOR_CONTROL", \ 24 { { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_change_operator_control_t, target_system) }, \ 25 { "control_request", NULL, MAVLINK_TYPE_UINT8_T, 0, 1, offsetof(mavlink_change_operator_control_t, control_request) }, \ 26 { "version", NULL, MAVLINK_TYPE_UINT8_T, 0, 2, offsetof(mavlink_change_operator_control_t, version) }, \ 27 { "passkey", NULL, MAVLINK_TYPE_CHAR, 25, 3, offsetof(mavlink_change_operator_control_t, passkey) }, \ 47 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 84 mavlink_message_t* msg,
87 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 104 #if MAVLINK_CRC_EXTRA 147 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 151 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 157 #if MAVLINK_CRC_EXTRA 168 #if MAVLINK_CRC_EXTRA 176 #if MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL_LEN <= MAVLINK_MAX_PAYLOAD_LEN 186 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 187 char *buf = (
char *)msgbuf;
192 #if MAVLINK_CRC_EXTRA 203 #if MAVLINK_CRC_EXTRA 265 #if MAVLINK_NEED_BYTE_SWAP
static uint16_t mavlink_msg_change_operator_control_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_change_operator_control_t *change_operator_control)
Encode a change_operator_control struct on a channel.
#define _MAV_RETURN_uint8_t(msg, wire_offset)
MAVLINK_HELPER uint16_t mavlink_finalize_message(mavlink_message_t *msg, uint8_t system_id, uint8_t component_id, uint8_t length)
Finalize a MAVLink message with MAVLINK_COMM_0 as default channel.
#define _mav_put_uint8_t(buf, wire_offset, b)
#define _MAV_PAYLOAD_NON_CONST(msg)
static uint8_t mavlink_msg_change_operator_control_get_control_request(const mavlink_message_t *msg)
Get field control_request from change_operator_control message.
static uint16_t mavlink_msg_change_operator_control_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_change_operator_control_t *change_operator_control)
Encode a change_operator_control struct.
#define _MAV_PAYLOAD(msg)
static uint16_t mavlink_msg_change_operator_control_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t target_system, uint8_t control_request, uint8_t version, const char *passkey)
Pack a change_operator_control message on a channel.
static uint8_t mavlink_msg_change_operator_control_get_version(const mavlink_message_t *msg)
Get field version from change_operator_control message.
static void mavlink_msg_change_operator_control_decode(const mavlink_message_t *msg, mavlink_change_operator_control_t *change_operator_control)
Decode a change_operator_control message into a struct.
static uint8_t mavlink_msg_change_operator_control_get_target_system(const mavlink_message_t *msg)
Send a change_operator_control message.
#define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL_CRC
static void mav_array_memcpy(void *dest, const void *src, size_t n)
static uint16_t _MAV_RETURN_char_array(const mavlink_message_t *msg, char *value, uint8_t array_length, uint8_t wire_offset)
static uint16_t mavlink_msg_change_operator_control_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t control_request, uint8_t version, const char *passkey)
Pack a change_operator_control message.
static void _mav_put_char_array(char *buf, uint8_t wire_offset, const char *b, uint8_t array_length)
#define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL_LEN
#define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL
struct __mavlink_change_operator_control_t mavlink_change_operator_control_t
static uint16_t mavlink_msg_change_operator_control_get_passkey(const mavlink_message_t *msg, char *passkey)
Get field passkey from change_operator_control message.
MAVLINK_HELPER uint16_t mavlink_finalize_message_chan(mavlink_message_t *msg, uint8_t system_id, uint8_t component_id, uint8_t chan, uint8_t length)
Finalize a MAVLink message with channel assignment.