Go to the source code of this file.
|
static void | mavlink_msg_mission_count_decode (const mavlink_message_t *msg, mavlink_mission_count_t *mission_count) |
| Decode a mission_count message into a struct. More...
|
|
static uint16_t | mavlink_msg_mission_count_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_mission_count_t *mission_count) |
| Encode a mission_count struct. More...
|
|
static uint16_t | mavlink_msg_mission_count_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_mission_count_t *mission_count) |
| Encode a mission_count struct on a channel. More...
|
|
static uint16_t | mavlink_msg_mission_count_get_count (const mavlink_message_t *msg) |
| Get field count from mission_count message. More...
|
|
static uint8_t | mavlink_msg_mission_count_get_target_component (const mavlink_message_t *msg) |
| Get field target_component from mission_count message. More...
|
|
static uint8_t | mavlink_msg_mission_count_get_target_system (const mavlink_message_t *msg) |
| Send a mission_count message. More...
|
|
static uint16_t | mavlink_msg_mission_count_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint16_t count) |
| Pack a mission_count message. More...
|
|
static uint16_t | mavlink_msg_mission_count_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 count) |
| Pack a mission_count message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_MISSION_COUNT |
#define MAVLINK_MSG_ID_44_CRC 221 |
#define MAVLINK_MSG_ID_44_LEN 4 |
#define MAVLINK_MSG_ID_MISSION_COUNT 44 |
#define MAVLINK_MSG_ID_MISSION_COUNT_CRC 221 |
#define MAVLINK_MSG_ID_MISSION_COUNT_LEN 4 |
static void mavlink_msg_mission_count_decode |
( |
const mavlink_message_t * |
msg, |
|
|
mavlink_mission_count_t * |
mission_count |
|
) |
| |
|
inlinestatic |
Decode a mission_count message into a struct.
- Parameters
-
msg | The message to decode |
mission_count | C-struct to decode the message contents into |
Definition at line 248 of file mavlink_msg_mission_count.h.
static uint16_t mavlink_msg_mission_count_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_mission_count_t * |
mission_count |
|
) |
| |
|
inlinestatic |
Encode a mission_count 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 |
mission_count | C-struct to read the message contents from |
Definition at line 115 of file mavlink_msg_mission_count.h.
static uint16_t mavlink_msg_mission_count_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_mission_count_t * |
mission_count |
|
) |
| |
|
inlinestatic |
Encode a mission_count 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 |
mission_count | C-struct to read the message contents from |
Definition at line 129 of file mavlink_msg_mission_count.h.
static uint16_t mavlink_msg_mission_count_get_count |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Get field count from mission_count message.
- Returns
- Number of mission items in the sequence
Definition at line 237 of file mavlink_msg_mission_count.h.
static uint8_t mavlink_msg_mission_count_get_target_component |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
static uint8_t mavlink_msg_mission_count_get_target_system |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a mission_count message.
- Parameters
-
chan | MAVLink channel to send the message |
target_system | System ID |
target_component | Component ID |
count | Number of mission items in the sequence Get field target_system from mission_count message |
- Returns
- System ID
Definition at line 217 of file mavlink_msg_mission_count.h.
static uint16_t mavlink_msg_mission_count_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
uint8_t |
target_system, |
|
|
uint8_t |
target_component, |
|
|
uint16_t |
count |
|
) |
| |
|
inlinestatic |
Pack a mission_count 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 |
count | Number of mission items in the sequence |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 41 of file mavlink_msg_mission_count.h.
static uint16_t mavlink_msg_mission_count_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 |
count |
|
) |
| |
|
inlinestatic |
Pack a mission_count 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 |
count | Number of mission items in the sequence |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 79 of file mavlink_msg_mission_count.h.