Go to the source code of this file.
Classes | |
struct | __mavlink_data_transmission_handshake_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_DATA_TRANSMISSION_HANDSHAKE |
#define | MAVLINK_MSG_ID_130_CRC 29 |
#define | MAVLINK_MSG_ID_130_LEN 13 |
#define | MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE 130 |
#define | MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE_CRC 29 |
#define | MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE_LEN 13 |
Typedefs | |
typedef struct __mavlink_data_transmission_handshake_t | mavlink_data_transmission_handshake_t |
Functions | |
static void | mavlink_msg_data_transmission_handshake_decode (const mavlink_message_t *msg, mavlink_data_transmission_handshake_t *data_transmission_handshake) |
Decode a data_transmission_handshake message into a struct. More... | |
static uint16_t | mavlink_msg_data_transmission_handshake_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_data_transmission_handshake_t *data_transmission_handshake) |
Encode a data_transmission_handshake struct. More... | |
static uint16_t | mavlink_msg_data_transmission_handshake_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_data_transmission_handshake_t *data_transmission_handshake) |
Encode a data_transmission_handshake struct on a channel. More... | |
static uint16_t | mavlink_msg_data_transmission_handshake_get_height (const mavlink_message_t *msg) |
Get field height from data_transmission_handshake message. More... | |
static uint8_t | mavlink_msg_data_transmission_handshake_get_jpg_quality (const mavlink_message_t *msg) |
Get field jpg_quality from data_transmission_handshake message. More... | |
static uint16_t | mavlink_msg_data_transmission_handshake_get_packets (const mavlink_message_t *msg) |
Get field packets from data_transmission_handshake message. More... | |
static uint8_t | mavlink_msg_data_transmission_handshake_get_payload (const mavlink_message_t *msg) |
Get field payload from data_transmission_handshake message. More... | |
static uint32_t | mavlink_msg_data_transmission_handshake_get_size (const mavlink_message_t *msg) |
Get field size from data_transmission_handshake message. More... | |
static uint8_t | mavlink_msg_data_transmission_handshake_get_type (const mavlink_message_t *msg) |
Send a data_transmission_handshake message. More... | |
static uint16_t | mavlink_msg_data_transmission_handshake_get_width (const mavlink_message_t *msg) |
Get field width from data_transmission_handshake message. More... | |
static uint16_t | mavlink_msg_data_transmission_handshake_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t type, uint32_t size, uint16_t width, uint16_t height, uint16_t packets, uint8_t payload, uint8_t jpg_quality) |
Pack a data_transmission_handshake message. More... | |
static uint16_t | mavlink_msg_data_transmission_handshake_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t type, uint32_t size, uint16_t width, uint16_t height, uint16_t packets, uint8_t payload, uint8_t jpg_quality) |
Pack a data_transmission_handshake message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_DATA_TRANSMISSION_HANDSHAKE |
Definition at line 24 of file mavlink_msg_data_transmission_handshake.h.
#define MAVLINK_MSG_ID_130_CRC 29 |
Definition at line 20 of file mavlink_msg_data_transmission_handshake.h.
#define MAVLINK_MSG_ID_130_LEN 13 |
Definition at line 17 of file mavlink_msg_data_transmission_handshake.h.
#define MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE 130 |
Definition at line 3 of file mavlink_msg_data_transmission_handshake.h.
#define MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE_CRC 29 |
Definition at line 19 of file mavlink_msg_data_transmission_handshake.h.
#define MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE_LEN 13 |
Definition at line 16 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Decode a data_transmission_handshake message into a struct.
msg | The message to decode |
data_transmission_handshake | C-struct to decode the message contents into |
Definition at line 340 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Encode a data_transmission_handshake struct.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
data_transmission_handshake | C-struct to read the message contents from |
Definition at line 147 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Encode a data_transmission_handshake struct on a channel.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
data_transmission_handshake | C-struct to read the message contents from |
Definition at line 161 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Get field height from data_transmission_handshake message.
Definition at line 299 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Get field jpg_quality from data_transmission_handshake message.
Definition at line 329 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Get field packets from data_transmission_handshake message.
Definition at line 309 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Get field payload from data_transmission_handshake message.
Definition at line 319 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Get field size from data_transmission_handshake message.
Definition at line 279 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Send a data_transmission_handshake message.
chan | MAVLink channel to send the message |
type | type of requested/acknowledged data (as defined in ENUM DATA_TYPES in mavlink/include/mavlink_types.h) |
size | total data size in bytes (set on ACK only) |
width | Width of a matrix or image |
height | Height of a matrix or image |
packets | number of packets beeing sent (set on ACK only) |
payload | payload size per packet (normally 253 byte, see DATA field size in message ENCAPSULATED_DATA) (set on ACK only) |
jpg_quality | JPEG quality out of [1,100] Get field type from data_transmission_handshake message |
Definition at line 269 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Get field width from data_transmission_handshake message.
Definition at line 289 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Pack a data_transmission_handshake message.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
type | type of requested/acknowledged data (as defined in ENUM DATA_TYPES in mavlink/include/mavlink_types.h) |
size | total data size in bytes (set on ACK only) |
width | Width of a matrix or image |
height | Height of a matrix or image |
packets | number of packets beeing sent (set on ACK only) |
payload | payload size per packet (normally 253 byte, see DATA field size in message ENCAPSULATED_DATA) (set on ACK only) |
jpg_quality | JPEG quality out of [1,100] |
Definition at line 53 of file mavlink_msg_data_transmission_handshake.h.
|
inlinestatic |
Pack a data_transmission_handshake message on a channel.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
type | type of requested/acknowledged data (as defined in ENUM DATA_TYPES in mavlink/include/mavlink_types.h) |
size | total data size in bytes (set on ACK only) |
width | Width of a matrix or image |
height | Height of a matrix or image |
packets | number of packets beeing sent (set on ACK only) |
payload | payload size per packet (normally 253 byte, see DATA field size in message ENCAPSULATED_DATA) (set on ACK only) |
jpg_quality | JPEG quality out of [1,100] |
Definition at line 103 of file mavlink_msg_data_transmission_handshake.h.