Classes | Macros | Typedefs | Functions
mavlink_msg_log_erase.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_erase_t
 

Macros

#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. 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...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_LOG_ERASE
Value:
{ \
"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 Documentation

Function Documentation

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
msgThe message to decode
log_eraseC-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_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
log_eraseC-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_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_eraseC-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

Get field target_component from log_erase message.

Returns
Component ID

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

Send a log_erase message.

Parameters
chanMAVLink channel to send the message
target_systemSystem ID
target_componentComponent 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_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
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_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
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 73 of file mavlink_msg_log_erase.h.



rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 20:00:13