Go to the source code of this file.
Classes | |
struct | __mavlink_log_entry_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_LOG_ENTRY |
#define | MAVLINK_MSG_ID_118_CRC 56 |
#define | MAVLINK_MSG_ID_118_LEN 14 |
#define | MAVLINK_MSG_ID_LOG_ENTRY 118 |
#define | MAVLINK_MSG_ID_LOG_ENTRY_CRC 56 |
#define | MAVLINK_MSG_ID_LOG_ENTRY_LEN 14 |
Typedefs | |
typedef struct __mavlink_log_entry_t | mavlink_log_entry_t |
Functions | |
static void | mavlink_msg_log_entry_decode (const mavlink_message_t *msg, mavlink_log_entry_t *log_entry) |
Decode a log_entry message into a struct. More... | |
static uint16_t | mavlink_msg_log_entry_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_log_entry_t *log_entry) |
Encode a log_entry struct. More... | |
static uint16_t | mavlink_msg_log_entry_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_log_entry_t *log_entry) |
Encode a log_entry struct on a channel. More... | |
static uint16_t | mavlink_msg_log_entry_get_id (const mavlink_message_t *msg) |
Send a log_entry message. More... | |
static uint16_t | mavlink_msg_log_entry_get_last_log_num (const mavlink_message_t *msg) |
Get field last_log_num from log_entry message. More... | |
static uint16_t | mavlink_msg_log_entry_get_num_logs (const mavlink_message_t *msg) |
Get field num_logs from log_entry message. More... | |
static uint32_t | mavlink_msg_log_entry_get_size (const mavlink_message_t *msg) |
Get field size from log_entry message. More... | |
static uint32_t | mavlink_msg_log_entry_get_time_utc (const mavlink_message_t *msg) |
Get field time_utc from log_entry message. More... | |
static uint16_t | mavlink_msg_log_entry_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint16_t id, uint16_t num_logs, uint16_t last_log_num, uint32_t time_utc, uint32_t size) |
Pack a log_entry message. More... | |
static uint16_t | mavlink_msg_log_entry_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint16_t id, uint16_t num_logs, uint16_t last_log_num, uint32_t time_utc, uint32_t size) |
Pack a log_entry message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_LOG_ENTRY |
Definition at line 22 of file mavlink_msg_log_entry.h.
#define MAVLINK_MSG_ID_118_CRC 56 |
Definition at line 18 of file mavlink_msg_log_entry.h.
#define MAVLINK_MSG_ID_118_LEN 14 |
Definition at line 15 of file mavlink_msg_log_entry.h.
#define MAVLINK_MSG_ID_LOG_ENTRY 118 |
Definition at line 3 of file mavlink_msg_log_entry.h.
#define MAVLINK_MSG_ID_LOG_ENTRY_CRC 56 |
Definition at line 17 of file mavlink_msg_log_entry.h.
#define MAVLINK_MSG_ID_LOG_ENTRY_LEN 14 |
Definition at line 14 of file mavlink_msg_log_entry.h.
typedef struct __mavlink_log_entry_t mavlink_log_entry_t |
|
inlinestatic |
Decode a log_entry message into a struct.
msg | The message to decode |
log_entry | C-struct to decode the message contents into |
Definition at line 294 of file mavlink_msg_log_entry.h.
|
inlinestatic |
Encode a log_entry 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_entry | C-struct to read the message contents from |
Definition at line 131 of file mavlink_msg_log_entry.h.
|
inlinestatic |
Encode a log_entry 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_entry | C-struct to read the message contents from |
Definition at line 145 of file mavlink_msg_log_entry.h.
|
inlinestatic |
Send a log_entry message.
chan | MAVLink channel to send the message |
id | Log id |
num_logs | Total number of logs |
last_log_num | High log number |
time_utc | UTC timestamp of log in seconds since 1970, or 0 if not available |
size | Size of the log (may be approximate) in bytes Get field id from log_entry message |
Definition at line 243 of file mavlink_msg_log_entry.h.
|
inlinestatic |
Get field last_log_num from log_entry message.
Definition at line 263 of file mavlink_msg_log_entry.h.
|
inlinestatic |
Get field num_logs from log_entry message.
Definition at line 253 of file mavlink_msg_log_entry.h.
|
inlinestatic |
Get field size from log_entry message.
Definition at line 283 of file mavlink_msg_log_entry.h.
|
inlinestatic |
Get field time_utc from log_entry message.
Definition at line 273 of file mavlink_msg_log_entry.h.
|
inlinestatic |
Pack a log_entry 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 |
id | Log id |
num_logs | Total number of logs |
last_log_num | High log number |
time_utc | UTC timestamp of log in seconds since 1970, or 0 if not available |
size | Size of the log (may be approximate) in bytes |
Definition at line 47 of file mavlink_msg_log_entry.h.
|
inlinestatic |
Pack a log_entry 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 |
id | Log id |
num_logs | Total number of logs |
last_log_num | High log number |
time_utc | UTC timestamp of log in seconds since 1970, or 0 if not available |
size | Size of the log (may be approximate) in bytes |
Definition at line 91 of file mavlink_msg_log_entry.h.