Classes | Macros | Typedefs | Functions
mavlink_msg_change_operator_control.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __mavlink_change_operator_control_t
 

Macros

#define MAVLINK_MESSAGE_INFO_CHANGE_OPERATOR_CONTROL
 
#define MAVLINK_MSG_CHANGE_OPERATOR_CONTROL_FIELD_PASSKEY_LEN   25
 
#define MAVLINK_MSG_ID_5_CRC   217
 
#define MAVLINK_MSG_ID_5_LEN   28
 
#define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL   5
 
#define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL_CRC   217
 
#define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL_LEN   28
 

Typedefs

typedef struct __mavlink_change_operator_control_t mavlink_change_operator_control_t
 

Functions

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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
static uint8_t mavlink_msg_change_operator_control_get_target_system (const mavlink_message_t *msg)
 Send a change_operator_control message. More...
 
static uint8_t mavlink_msg_change_operator_control_get_version (const mavlink_message_t *msg)
 Get field version from change_operator_control message. More...
 
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. More...
 
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. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_CHANGE_OPERATOR_CONTROL
Value:
{ \
"CHANGE_OPERATOR_CONTROL", \
4, \
{ { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_change_operator_control_t, target_system) }, \
{ "control_request", NULL, MAVLINK_TYPE_UINT8_T, 0, 1, offsetof(mavlink_change_operator_control_t, control_request) }, \
{ "version", NULL, MAVLINK_TYPE_UINT8_T, 0, 2, offsetof(mavlink_change_operator_control_t, version) }, \
{ "passkey", NULL, MAVLINK_TYPE_CHAR, 25, 3, offsetof(mavlink_change_operator_control_t, passkey) }, \
} \
}
#define NULL
Definition: usbd_def.h:50

Definition at line 21 of file mavlink_msg_change_operator_control.h.

#define MAVLINK_MSG_CHANGE_OPERATOR_CONTROL_FIELD_PASSKEY_LEN   25

Definition at line 19 of file mavlink_msg_change_operator_control.h.

#define MAVLINK_MSG_ID_5_CRC   217

Definition at line 17 of file mavlink_msg_change_operator_control.h.

#define MAVLINK_MSG_ID_5_LEN   28

Definition at line 14 of file mavlink_msg_change_operator_control.h.

#define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL   5

Definition at line 3 of file mavlink_msg_change_operator_control.h.

#define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL_CRC   217

Definition at line 16 of file mavlink_msg_change_operator_control.h.

#define MAVLINK_MSG_ID_CHANGE_OPERATOR_CONTROL_LEN   28

Definition at line 13 of file mavlink_msg_change_operator_control.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_change_operator_control_decode ( const mavlink_message_t *  msg,
mavlink_change_operator_control_t change_operator_control 
)
inlinestatic

Decode a change_operator_control message into a struct.

Parameters
msgThe message to decode
change_operator_controlC-struct to decode the message contents into

Definition at line 263 of file mavlink_msg_change_operator_control.h.

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 
)
inlinestatic

Encode a change_operator_control struct.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
change_operator_controlC-struct to read the message contents from

Definition at line 119 of file mavlink_msg_change_operator_control.h.

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 
)
inlinestatic

Encode a change_operator_control struct on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
change_operator_controlC-struct to read the message contents from

Definition at line 133 of file mavlink_msg_change_operator_control.h.

static uint8_t mavlink_msg_change_operator_control_get_control_request ( const mavlink_message_t *  msg)
inlinestatic

Get field control_request from change_operator_control message.

Returns
0: request control of this MAV, 1: Release control of this MAV

Definition at line 232 of file mavlink_msg_change_operator_control.h.

static uint16_t mavlink_msg_change_operator_control_get_passkey ( const mavlink_message_t *  msg,
char *  passkey 
)
inlinestatic

Get field passkey from change_operator_control message.

Returns
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 "!?,.-"

Definition at line 252 of file mavlink_msg_change_operator_control.h.

static uint8_t mavlink_msg_change_operator_control_get_target_system ( const mavlink_message_t *  msg)
inlinestatic

Send a change_operator_control message.

Parameters
chanMAVLink channel to send the message
target_systemSystem the GCS requests control for
control_request0: request control of this MAV, 1: Release control of this MAV
version0: 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.
passkeyPassword / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-" Get field target_system from change_operator_control message
Returns
System the GCS requests control for

Definition at line 222 of file mavlink_msg_change_operator_control.h.

static uint8_t mavlink_msg_change_operator_control_get_version ( const mavlink_message_t *  msg)
inlinestatic

Get field version from change_operator_control message.

Returns
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.

Definition at line 242 of file mavlink_msg_change_operator_control.h.

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 
)
inlinestatic

Pack a change_operator_control message.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
target_systemSystem the GCS requests control for
control_request0: request control of this MAV, 1: Release control of this MAV
version0: 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.
passkeyPassword / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 44 of file mavlink_msg_change_operator_control.h.

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 
)
inlinestatic

Pack a change_operator_control message on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
target_systemSystem the GCS requests control for
control_request0: request control of this MAV, 1: Release control of this MAV
version0: 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.
passkeyPassword / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 83 of file mavlink_msg_change_operator_control.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:26