Go to the source code of this file.
|
static void | mavlink_msg_message_interval_decode (const mavlink_message_t *msg, mavlink_message_interval_t *message_interval) |
| Decode a message_interval message into a struct. More...
|
|
static uint16_t | mavlink_msg_message_interval_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_message_interval_t *message_interval) |
| Encode a message_interval struct. More...
|
|
static uint16_t | mavlink_msg_message_interval_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_message_interval_t *message_interval) |
| Encode a message_interval struct on a channel. More...
|
|
static int32_t | mavlink_msg_message_interval_get_interval_us (const mavlink_message_t *msg) |
| Get field interval_us from message_interval message. More...
|
|
static uint16_t | mavlink_msg_message_interval_get_message_id (const mavlink_message_t *msg) |
| Send a message_interval message. More...
|
|
static uint16_t | mavlink_msg_message_interval_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint16_t message_id, int32_t interval_us) |
| Pack a message_interval message. More...
|
|
static uint16_t | mavlink_msg_message_interval_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint16_t message_id, int32_t interval_us) |
| Pack a message_interval message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_MESSAGE_INTERVAL |
#define MAVLINK_MSG_ID_244_CRC 95 |
#define MAVLINK_MSG_ID_244_LEN 6 |
#define MAVLINK_MSG_ID_MESSAGE_INTERVAL 244 |
#define MAVLINK_MSG_ID_MESSAGE_INTERVAL_CRC 95 |
#define MAVLINK_MSG_ID_MESSAGE_INTERVAL_LEN 6 |
Decode a message_interval message into a struct.
- Parameters
-
msg | The message to decode |
message_interval | C-struct to decode the message contents into |
Definition at line 225 of file mavlink_msg_message_interval.h.
static uint16_t mavlink_msg_message_interval_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_message_interval_t * |
message_interval |
|
) |
| |
|
inlinestatic |
Encode a message_interval 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 |
message_interval | C-struct to read the message contents from |
Definition at line 107 of file mavlink_msg_message_interval.h.
static uint16_t mavlink_msg_message_interval_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_message_interval_t * |
message_interval |
|
) |
| |
|
inlinestatic |
Encode a message_interval 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 |
message_interval | C-struct to read the message contents from |
Definition at line 121 of file mavlink_msg_message_interval.h.
static int32_t mavlink_msg_message_interval_get_interval_us |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Get field interval_us from message_interval message.
- Returns
- The interval between two messages, in microseconds. A value of -1 indicates this stream is disabled, 0 indicates it is not available, > 0 indicates the interval at which it is sent.
Definition at line 214 of file mavlink_msg_message_interval.h.
static uint16_t mavlink_msg_message_interval_get_message_id |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a message_interval message.
- Parameters
-
chan | MAVLink channel to send the message |
message_id | The ID of the requested MAVLink message. v1.0 is limited to 254 messages. |
interval_us | The interval between two messages, in microseconds. A value of -1 indicates this stream is disabled, 0 indicates it is not available, > 0 indicates the interval at which it is sent. Get field message_id from message_interval message |
- Returns
- The ID of the requested MAVLink message. v1.0 is limited to 254 messages.
Definition at line 204 of file mavlink_msg_message_interval.h.
static uint16_t mavlink_msg_message_interval_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
uint16_t |
message_id, |
|
|
int32_t |
interval_us |
|
) |
| |
|
inlinestatic |
Pack a message_interval 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 |
message_id | The ID of the requested MAVLink message. v1.0 is limited to 254 messages. |
interval_us | The interval between two messages, in microseconds. A value of -1 indicates this stream is disabled, 0 indicates it is not available, > 0 indicates the interval at which it is sent. |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 38 of file mavlink_msg_message_interval.h.
static uint16_t mavlink_msg_message_interval_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
uint16_t |
message_id, |
|
|
int32_t |
interval_us |
|
) |
| |
|
inlinestatic |
Pack a message_interval 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 |
message_id | The ID of the requested MAVLink message. v1.0 is limited to 254 messages. |
interval_us | The interval between two messages, in microseconds. A value of -1 indicates this stream is disabled, 0 indicates it is not available, > 0 indicates the interval at which it is sent. |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 73 of file mavlink_msg_message_interval.h.