Go to the source code of this file.
|
| 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. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| static uint8_t | mavlink_msg_log_erase_get_target_component (const mavlink_message_t *msg) |
| | Get field target_component from log_erase message. More...
|
| |
| static uint8_t | mavlink_msg_log_erase_get_target_system (const mavlink_message_t *msg) |
| | Send a log_erase message. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| #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 |
| static void mavlink_msg_log_erase_decode |
( |
const mavlink_message_t * |
msg, |
|
|
mavlink_log_erase_t * |
log_erase |
|
) |
| |
|
inlinestatic |
Decode a log_erase message into a struct.
- Parameters
-
| 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 |
|
) |
| |
|
inlinestatic |
Encode a log_erase struct.
- Parameters
-
| 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 |
|
) |
| |
|
inlinestatic |
Encode a log_erase struct on a channel.
- Parameters
-
| 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 | ) |
|
|
inlinestatic |
| static uint8_t mavlink_msg_log_erase_get_target_system |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a log_erase message.
- Parameters
-
| chan | MAVLink channel to send the message |
| target_system | System ID |
| target_component | Component ID Get field target_system from log_erase message |
- Returns
- System ID
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 |
|
) |
| |
|
inlinestatic |
Pack a log_erase message.
- Parameters
-
| 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 |
- Returns
- length of the message in bytes (excluding serial stream start sign)
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 |
|
) |
| |
|
inlinestatic |
Pack a log_erase message on a channel.
- Parameters
-
| 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 |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 73 of file mavlink_msg_log_erase.h.