Classes | Macros | Typedefs | Functions
mavlink_msg_log_request_data.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __mavlink_log_request_data_t
 

Macros

#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. More...
 
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. More...
 
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. More...
 
static uint32_t mavlink_msg_log_request_data_get_count (const mavlink_message_t *msg)
 Get field count from log_request_data message. More...
 
static uint16_t mavlink_msg_log_request_data_get_id (const mavlink_message_t *msg)
 Get field id from log_request_data message. More...
 
static uint32_t mavlink_msg_log_request_data_get_ofs (const mavlink_message_t *msg)
 Get field ofs from log_request_data message. More...
 
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. More...
 
static uint8_t mavlink_msg_log_request_data_get_target_system (const mavlink_message_t *msg)
 Send a log_request_data message. More...
 
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. More...
 
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. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_LOG_REQUEST_DATA
Value:
{ \
"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) }, \
} \
}
#define NULL
Definition: usbd_def.h:50

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 Documentation

Function Documentation

static void mavlink_msg_log_request_data_decode ( const mavlink_message_t *  msg,
mavlink_log_request_data_t log_request_data 
)
inlinestatic

Decode a log_request_data message into a struct.

Parameters
msgThe message to decode
log_request_dataC-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 
)
inlinestatic

Encode a log_request_data struct.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
log_request_dataC-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 
)
inlinestatic

Encode a log_request_data struct on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
log_request_dataC-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)
inlinestatic

Get field count from log_request_data message.

Returns
Number of bytes

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)
inlinestatic

Get field id from log_request_data message.

Returns
Log id (from LOG_ENTRY reply)

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)
inlinestatic

Get field ofs from log_request_data message.

Returns
Offset into the log

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)
inlinestatic

Get field target_component from log_request_data message.

Returns
Component ID

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)
inlinestatic

Send a log_request_data message.

Parameters
chanMAVLink channel to send the message
target_systemSystem ID
target_componentComponent ID
idLog id (from LOG_ENTRY reply)
ofsOffset into the log
countNumber of bytes Get field target_system from log_request_data message
Returns
System ID

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 
)
inlinestatic

Pack a log_request_data message.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
target_systemSystem ID
target_componentComponent ID
idLog id (from LOG_ENTRY reply)
ofsOffset into the log
countNumber of bytes
Returns
length of the message in bytes (excluding serial stream start sign)

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 
)
inlinestatic

Pack a log_request_data message on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
target_systemSystem ID
target_componentComponent ID
idLog id (from LOG_ENTRY reply)
ofsOffset into the log
countNumber of bytes
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 91 of file mavlink_msg_log_request_data.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:20