3 #define MAVLINK_MSG_ID_LOG_REQUEST_DATA 119 14 #define MAVLINK_MSG_ID_LOG_REQUEST_DATA_LEN 12 15 #define MAVLINK_MSG_ID_119_LEN 12 17 #define MAVLINK_MSG_ID_LOG_REQUEST_DATA_CRC 116 18 #define MAVLINK_MSG_ID_119_CRC 116 22 #define MAVLINK_MESSAGE_INFO_LOG_REQUEST_DATA { \ 25 { { "ofs", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_log_request_data_t, ofs) }, \ 26 { "count", NULL, MAVLINK_TYPE_UINT32_T, 0, 4, offsetof(mavlink_log_request_data_t, count) }, \ 27 { "id", NULL, MAVLINK_TYPE_UINT16_T, 0, 8, offsetof(mavlink_log_request_data_t, id) }, \ 28 { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 10, offsetof(mavlink_log_request_data_t, target_system) }, \ 29 { "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 11, offsetof(mavlink_log_request_data_t, target_component) }, \ 50 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 92 mavlink_message_t* msg,
95 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 116 #if MAVLINK_CRC_EXTRA 160 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 164 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 172 #if MAVLINK_CRC_EXTRA 185 #if MAVLINK_CRC_EXTRA 193 #if MAVLINK_MSG_ID_LOG_REQUEST_DATA_LEN <= MAVLINK_MAX_PAYLOAD_LEN 203 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 204 char *buf = (
char *)msgbuf;
211 #if MAVLINK_CRC_EXTRA 224 #if MAVLINK_CRC_EXTRA 265 return _MAV_RETURN_uint16_t(msg, 8);
275 return _MAV_RETURN_uint32_t(msg, 0);
285 return _MAV_RETURN_uint32_t(msg, 4);
296 #if MAVLINK_NEED_BYTE_SWAP static uint16_t mavlink_msg_log_request_data_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint16_t id, uint32_t ofs, uint32_t count)
Pack a log_request_data message.
static uint32_t mavlink_msg_log_request_data_get_ofs(const mavlink_message_t *msg)
Get field ofs from log_request_data message.
#define MAVLINK_MSG_ID_LOG_REQUEST_DATA_LEN
#define _MAV_RETURN_uint8_t(msg, wire_offset)
static uint16_t mavlink_msg_log_request_data_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_log_request_data_t *log_request_data)
Encode a log_request_data struct on a channel.
static uint16_t mavlink_msg_log_request_data_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_log_request_data_t *log_request_data)
Encode a log_request_data struct.
static void mavlink_msg_log_request_data_decode(const mavlink_message_t *msg, mavlink_log_request_data_t *log_request_data)
Decode a log_request_data message into a 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.
#define _mav_put_uint8_t(buf, wire_offset, b)
#define _MAV_PAYLOAD_NON_CONST(msg)
static uint16_t mavlink_msg_log_request_data_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint16_t id, uint32_t ofs, uint32_t count)
Pack a log_request_data message on a channel.
static uint32_t mavlink_msg_log_request_data_get_count(const mavlink_message_t *msg)
Get field count from log_request_data message.
#define _MAV_PAYLOAD(msg)
static uint16_t mavlink_msg_log_request_data_get_id(const mavlink_message_t *msg)
Get field id from log_request_data message.
struct __mavlink_log_request_data_t mavlink_log_request_data_t
#define MAVLINK_MSG_ID_LOG_REQUEST_DATA
static uint8_t mavlink_msg_log_request_data_get_target_component(const mavlink_message_t *msg)
Get field target_component from log_request_data message.
#define _mav_put_uint16_t(buf, wire_offset, b)
#define MAVLINK_MSG_ID_LOG_REQUEST_DATA_CRC
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 uint8_t mavlink_msg_log_request_data_get_target_system(const mavlink_message_t *msg)
Send a log_request_data message.
#define _mav_put_uint32_t(buf, wire_offset, b)