Go to the source code of this file.
Classes | |
struct | __mavlink_log_erase_t |
Defines | |
#define | MAVLINK_MESSAGE_INFO_LOG_ERASE |
#define | MAVLINK_MSG_ID_121_CRC 237 |
#define | MAVLINK_MSG_ID_121_LEN 2 |
#define | MAVLINK_MSG_ID_LOG_ERASE 121 |
#define | MAVLINK_MSG_ID_LOG_ERASE_CRC 237 |
#define | MAVLINK_MSG_ID_LOG_ERASE_LEN 2 |
Typedefs | |
typedef struct __mavlink_log_erase_t | mavlink_log_erase_t |
Functions | |
static void | mavlink_msg_log_erase_decode (const mavlink_message_t *msg, mavlink_log_erase_t *log_erase) |
Decode a log_erase message into a struct. | |
static uint16_t | mavlink_msg_log_erase_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_log_erase_t *log_erase) |
Encode a log_erase struct. | |
static uint16_t | mavlink_msg_log_erase_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_log_erase_t *log_erase) |
Encode a log_erase struct on a channel. | |
static uint8_t | mavlink_msg_log_erase_get_target_component (const mavlink_message_t *msg) |
Get field target_component from log_erase message. | |
static uint8_t | mavlink_msg_log_erase_get_target_system (const mavlink_message_t *msg) |
Send a log_erase message. | |
static uint16_t | mavlink_msg_log_erase_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component) |
Pack a log_erase message. | |
static uint16_t | mavlink_msg_log_erase_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) |
Pack a log_erase message on a channel. |
#define MAVLINK_MESSAGE_INFO_LOG_ERASE |
{ \ "LOG_ERASE", \ 2, \ { { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_log_erase_t, target_system) }, \ { "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 1, offsetof(mavlink_log_erase_t, target_component) }, \ } \ }
Definition at line 19 of file mavlink_msg_log_erase.h.
#define MAVLINK_MSG_ID_121_CRC 237 |
Definition at line 15 of file mavlink_msg_log_erase.h.
#define MAVLINK_MSG_ID_121_LEN 2 |
Definition at line 12 of file mavlink_msg_log_erase.h.
#define MAVLINK_MSG_ID_LOG_ERASE 121 |
Definition at line 3 of file mavlink_msg_log_erase.h.
#define MAVLINK_MSG_ID_LOG_ERASE_CRC 237 |
Definition at line 14 of file mavlink_msg_log_erase.h.
#define MAVLINK_MSG_ID_LOG_ERASE_LEN 2 |
Definition at line 11 of file mavlink_msg_log_erase.h.
typedef struct __mavlink_log_erase_t mavlink_log_erase_t |
static void mavlink_msg_log_erase_decode | ( | const mavlink_message_t * | msg, |
mavlink_log_erase_t * | log_erase | ||
) | [inline, static] |
Decode a log_erase message into a struct.
msg | The message to decode |
log_erase | C-struct to decode the message contents into |
Definition at line 225 of file mavlink_msg_log_erase.h.
static uint16_t mavlink_msg_log_erase_encode | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
mavlink_message_t * | msg, | ||
const mavlink_log_erase_t * | log_erase | ||
) | [inline, static] |
Encode a log_erase 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_erase | C-struct to read the message contents from |
Definition at line 107 of file mavlink_msg_log_erase.h.
static uint16_t mavlink_msg_log_erase_encode_chan | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
uint8_t | chan, | ||
mavlink_message_t * | msg, | ||
const mavlink_log_erase_t * | log_erase | ||
) | [inline, static] |
Encode a log_erase 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_erase | C-struct to read the message contents from |
Definition at line 121 of file mavlink_msg_log_erase.h.
static uint8_t mavlink_msg_log_erase_get_target_component | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Get field target_component from log_erase message.
Definition at line 214 of file mavlink_msg_log_erase.h.
static uint8_t mavlink_msg_log_erase_get_target_system | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Send a log_erase message.
chan | MAVLink channel to send the message |
target_system | System ID |
target_component | Component ID Get field target_system from log_erase message |
Definition at line 204 of file mavlink_msg_log_erase.h.
static uint16_t mavlink_msg_log_erase_pack | ( | uint8_t | system_id, |
uint8_t | component_id, | ||
mavlink_message_t * | msg, | ||
uint8_t | target_system, | ||
uint8_t | target_component | ||
) | [inline, static] |
Pack a log_erase 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 |
Definition at line 38 of file mavlink_msg_log_erase.h.
static uint16_t mavlink_msg_log_erase_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 | ||
) | [inline, static] |
Pack a log_erase 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 |
Definition at line 73 of file mavlink_msg_log_erase.h.