3 #define MAVLINK_MSG_ID_ENCAPSULATED_DATA 131 11 #define MAVLINK_MSG_ID_ENCAPSULATED_DATA_LEN 255 12 #define MAVLINK_MSG_ID_131_LEN 255 14 #define MAVLINK_MSG_ID_ENCAPSULATED_DATA_CRC 223 15 #define MAVLINK_MSG_ID_131_CRC 223 17 #define MAVLINK_MSG_ENCAPSULATED_DATA_FIELD_DATA_LEN 253 19 #define MAVLINK_MESSAGE_INFO_ENCAPSULATED_DATA { \ 20 "ENCAPSULATED_DATA", \ 22 { { "seqnr", NULL, MAVLINK_TYPE_UINT16_T, 0, 0, offsetof(mavlink_encapsulated_data_t, seqnr) }, \ 23 { "data", NULL, MAVLINK_TYPE_UINT8_T, 253, 2, offsetof(mavlink_encapsulated_data_t, data) }, \ 41 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 72 mavlink_message_t* msg,
75 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 129 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 133 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 137 #if MAVLINK_CRC_EXTRA 146 #if MAVLINK_CRC_EXTRA 154 #if MAVLINK_MSG_ID_ENCAPSULATED_DATA_LEN <= MAVLINK_MAX_PAYLOAD_LEN 162 static inline void mavlink_msg_encapsulated_data_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan, uint16_t
seqnr,
const uint8_t *
data)
164 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 165 char *buf = (
char *)msgbuf;
168 #if MAVLINK_CRC_EXTRA 177 #if MAVLINK_CRC_EXTRA 198 return _MAV_RETURN_uint16_t(msg, 0);
219 #if MAVLINK_NEED_BYTE_SWAP struct __mavlink_encapsulated_data_t mavlink_encapsulated_data_t
static uint16_t mavlink_msg_encapsulated_data_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_encapsulated_data_t *encapsulated_data)
Encode a encapsulated_data struct on a channel.
#define MAVLINK_MSG_ID_ENCAPSULATED_DATA_LEN
static uint16_t mavlink_msg_encapsulated_data_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint16_t seqnr, const uint8_t *data)
Pack a encapsulated_data message on a channel.
static uint16_t mavlink_msg_encapsulated_data_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_encapsulated_data_t *encapsulated_data)
Encode a encapsulated_data struct.
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.
static uint16_t mavlink_msg_encapsulated_data_get_seqnr(const mavlink_message_t *msg)
Send a encapsulated_data message.
static void _mav_put_uint8_t_array(char *buf, uint8_t wire_offset, const uint8_t *b, uint8_t array_length)
#define _MAV_PAYLOAD_NON_CONST(msg)
static uint16_t mavlink_msg_encapsulated_data_get_data(const mavlink_message_t *msg, uint8_t *data)
Get field data from encapsulated_data message.
#define _MAV_PAYLOAD(msg)
static void mavlink_msg_encapsulated_data_decode(const mavlink_message_t *msg, mavlink_encapsulated_data_t *encapsulated_data)
Decode a encapsulated_data message into a struct.
#define MAVLINK_MSG_ID_ENCAPSULATED_DATA_CRC
static void mav_array_memcpy(void *dest, const void *src, size_t n)
static uint16_t _MAV_RETURN_uint8_t_array(const mavlink_message_t *msg, uint8_t *value, uint8_t array_length, uint8_t wire_offset)
#define MAVLINK_MSG_ID_ENCAPSULATED_DATA
static uint16_t mavlink_msg_encapsulated_data_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint16_t seqnr, const uint8_t *data)
Pack a encapsulated_data 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.