Go to the source code of this file.
Classes | |
struct | __mavlink_log_request_data_t |
Defines | |
#define | MAVLINK_MESSAGE_INFO_LOG_REQUEST_DATA |
#define | MAVLINK_MSG_ID_119_CRC 116 |
#define | MAVLINK_MSG_ID_119_LEN 12 |
#define | MAVLINK_MSG_ID_LOG_REQUEST_DATA 119 |
#define | MAVLINK_MSG_ID_LOG_REQUEST_DATA_CRC 116 |
#define | MAVLINK_MSG_ID_LOG_REQUEST_DATA_LEN 12 |
Typedefs | |
typedef struct __mavlink_log_request_data_t | mavlink_log_request_data_t |
Functions | |
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. | |
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 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 uint32_t | mavlink_msg_log_request_data_get_count (const mavlink_message_t *msg) |
Get field count from log_request_data message. | |
static uint16_t | mavlink_msg_log_request_data_get_id (const mavlink_message_t *msg) |
Get field id from 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. | |
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. | |
static uint8_t | mavlink_msg_log_request_data_get_target_system (const mavlink_message_t *msg) |
Send a log_request_data message. | |
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 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. |
{ \ "LOG_REQUEST_DATA", \ 5, \ { { "ofs", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_log_request_data_t, ofs) }, \ { "count", NULL, MAVLINK_TYPE_UINT32_T, 0, 4, offsetof(mavlink_log_request_data_t, count) }, \ { "id", NULL, MAVLINK_TYPE_UINT16_T, 0, 8, offsetof(mavlink_log_request_data_t, id) }, \ { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 10, offsetof(mavlink_log_request_data_t, target_system) }, \ { "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 11, offsetof(mavlink_log_request_data_t, target_component) }, \ } \ }
Definition at line 22 of file mavlink_msg_log_request_data.h.
#define MAVLINK_MSG_ID_119_CRC 116 |
Definition at line 18 of file mavlink_msg_log_request_data.h.
#define MAVLINK_MSG_ID_119_LEN 12 |
Definition at line 15 of file mavlink_msg_log_request_data.h.
#define MAVLINK_MSG_ID_LOG_REQUEST_DATA 119 |
Definition at line 3 of file mavlink_msg_log_request_data.h.
#define MAVLINK_MSG_ID_LOG_REQUEST_DATA_CRC 116 |
Definition at line 17 of file mavlink_msg_log_request_data.h.
#define MAVLINK_MSG_ID_LOG_REQUEST_DATA_LEN 12 |
Definition at line 14 of file mavlink_msg_log_request_data.h.
typedef struct __mavlink_log_request_data_t mavlink_log_request_data_t |
static void mavlink_msg_log_request_data_decode | ( | const mavlink_message_t * | msg, |
mavlink_log_request_data_t * | log_request_data | ||
) | [inline, static] |
Decode a log_request_data message into a struct.
msg | The message to decode |
log_request_data | C-struct to decode the message contents into |
Definition at line 294 of file mavlink_msg_log_request_data.h.
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 | ||
) | [inline, static] |
Encode a log_request_data 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 |
log_request_data | C-struct to read the message contents from |
Definition at line 131 of file mavlink_msg_log_request_data.h.
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 | ||
) | [inline, static] |
Encode a log_request_data 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 |
log_request_data | C-struct to read the message contents from |
Definition at line 145 of file mavlink_msg_log_request_data.h.
static uint32_t mavlink_msg_log_request_data_get_count | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field count from log_request_data message.
Definition at line 283 of file mavlink_msg_log_request_data.h.
static uint16_t mavlink_msg_log_request_data_get_id | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field id from log_request_data message.
Definition at line 263 of file mavlink_msg_log_request_data.h.
static uint32_t mavlink_msg_log_request_data_get_ofs | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field ofs from log_request_data message.
Definition at line 273 of file mavlink_msg_log_request_data.h.
static uint8_t mavlink_msg_log_request_data_get_target_component | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field target_component from log_request_data message.
Definition at line 253 of file mavlink_msg_log_request_data.h.
static uint8_t mavlink_msg_log_request_data_get_target_system | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Send a log_request_data message.
chan | MAVLink channel to send the message |
target_system | System ID |
target_component | Component ID |
id | Log id (from LOG_ENTRY reply) |
ofs | Offset into the log |
count | Number of bytes Get field target_system from log_request_data message |
Definition at line 243 of file mavlink_msg_log_request_data.h.
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 | ||
) | [inline, static] |
Pack a log_request_data 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 |
target_system | System ID |
target_component | Component ID |
id | Log id (from LOG_ENTRY reply) |
ofs | Offset into the log |
count | Number of bytes |
Definition at line 47 of file mavlink_msg_log_request_data.h.
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 | ||
) | [inline, static] |
Pack a log_request_data 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 |
target_system | System ID |
target_component | Component ID |
id | Log id (from LOG_ENTRY reply) |
ofs | Offset into the log |
count | Number of bytes |
Definition at line 91 of file mavlink_msg_log_request_data.h.