3 #define MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE 130 16 #define MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE_LEN 13 17 #define MAVLINK_MSG_ID_130_LEN 13 19 #define MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE_CRC 29 20 #define MAVLINK_MSG_ID_130_CRC 29 24 #define MAVLINK_MESSAGE_INFO_DATA_TRANSMISSION_HANDSHAKE { \ 25 "DATA_TRANSMISSION_HANDSHAKE", \ 27 { { "size", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_data_transmission_handshake_t, size) }, \ 28 { "width", NULL, MAVLINK_TYPE_UINT16_T, 0, 4, offsetof(mavlink_data_transmission_handshake_t, width) }, \ 29 { "height", NULL, MAVLINK_TYPE_UINT16_T, 0, 6, offsetof(mavlink_data_transmission_handshake_t, height) }, \ 30 { "packets", NULL, MAVLINK_TYPE_UINT16_T, 0, 8, offsetof(mavlink_data_transmission_handshake_t, packets) }, \ 31 { "type", NULL, MAVLINK_TYPE_UINT8_T, 0, 10, offsetof(mavlink_data_transmission_handshake_t, type) }, \ 32 { "payload", NULL, MAVLINK_TYPE_UINT8_T, 0, 11, offsetof(mavlink_data_transmission_handshake_t, payload) }, \ 33 { "jpg_quality", NULL, MAVLINK_TYPE_UINT8_T, 0, 12, offsetof(mavlink_data_transmission_handshake_t, jpg_quality) }, \ 56 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 104 mavlink_message_t* msg,
107 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 132 #if MAVLINK_CRC_EXTRA 163 return mavlink_msg_data_transmission_handshake_pack_chan(system_id, component_id, chan, msg, data_transmission_handshake->
type, data_transmission_handshake->
size, data_transmission_handshake->
width, data_transmission_handshake->
height, data_transmission_handshake->
packets, data_transmission_handshake->
payload, data_transmission_handshake->
jpg_quality);
178 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 182 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 192 #if MAVLINK_CRC_EXTRA 207 #if MAVLINK_CRC_EXTRA 215 #if MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE_LEN <= MAVLINK_MAX_PAYLOAD_LEN 225 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 226 char *buf = (
char *)msgbuf;
235 #if MAVLINK_CRC_EXTRA 250 #if MAVLINK_CRC_EXTRA 281 return _MAV_RETURN_uint32_t(msg, 0);
291 return _MAV_RETURN_uint16_t(msg, 4);
301 return _MAV_RETURN_uint16_t(msg, 6);
311 return _MAV_RETURN_uint16_t(msg, 8);
342 #if MAVLINK_NEED_BYTE_SWAP #define MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE_LEN
#define MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE_CRC
static uint8_t mavlink_msg_data_transmission_handshake_get_payload(const mavlink_message_t *msg)
Get field payload from data_transmission_handshake message.
#define _MAV_RETURN_uint8_t(msg, wire_offset)
static uint16_t mavlink_msg_data_transmission_handshake_get_height(const mavlink_message_t *msg)
Get field height from data_transmission_handshake message.
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.
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_data_transmission_handshake_get_type(const mavlink_message_t *msg)
Send a data_transmission_handshake message.
#define _MAV_PAYLOAD(msg)
static uint32_t mavlink_msg_data_transmission_handshake_get_size(const mavlink_message_t *msg)
Get field size from data_transmission_handshake message.
#define MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE
static uint16_t mavlink_msg_data_transmission_handshake_get_width(const mavlink_message_t *msg)
Get field width from data_transmission_handshake message.
struct __mavlink_data_transmission_handshake_t mavlink_data_transmission_handshake_t
static uint16_t mavlink_msg_data_transmission_handshake_get_packets(const mavlink_message_t *msg)
Get field packets from data_transmission_handshake message.
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.
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.
#define _mav_put_uint16_t(buf, wire_offset, b)
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.
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.
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.
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.
#define _mav_put_uint32_t(buf, wire_offset, b)