
Go to the source code of this file.
Classes | |
| struct | __mavlink_statustext_t |
Defines | |
| #define | MAVLINK_MESSAGE_INFO_STATUSTEXT |
| #define | MAVLINK_MSG_ID_253_CRC 83 |
| #define | MAVLINK_MSG_ID_253_LEN 51 |
| #define | MAVLINK_MSG_ID_STATUSTEXT 253 |
| #define | MAVLINK_MSG_ID_STATUSTEXT_CRC 83 |
| #define | MAVLINK_MSG_ID_STATUSTEXT_LEN 51 |
| #define | MAVLINK_MSG_STATUSTEXT_FIELD_TEXT_LEN 50 |
Typedefs | |
| typedef struct __mavlink_statustext_t | mavlink_statustext_t |
Functions | |
| static void | mavlink_msg_statustext_decode (const mavlink_message_t *msg, mavlink_statustext_t *statustext) |
| Decode a statustext message into a struct. | |
| static uint16_t | mavlink_msg_statustext_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_statustext_t *statustext) |
| Encode a statustext struct. | |
| static uint16_t | mavlink_msg_statustext_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_statustext_t *statustext) |
| Encode a statustext struct on a channel. | |
| static uint8_t | mavlink_msg_statustext_get_severity (const mavlink_message_t *msg) |
| Send a statustext message. | |
| static uint16_t | mavlink_msg_statustext_get_text (const mavlink_message_t *msg, char *text) |
| Get field text from statustext message. | |
| static uint16_t | mavlink_msg_statustext_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t severity, const char *text) |
| Pack a statustext message. | |
| static uint16_t | mavlink_msg_statustext_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t severity, const char *text) |
| Pack a statustext message on a channel. | |
| #define MAVLINK_MESSAGE_INFO_STATUSTEXT |
{ \
"STATUSTEXT", \
2, \
{ { "severity", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_statustext_t, severity) }, \
{ "text", NULL, MAVLINK_TYPE_CHAR, 50, 1, offsetof(mavlink_statustext_t, text) }, \
} \
}
Definition at line 19 of file mavlink_msg_statustext.h.
| #define MAVLINK_MSG_ID_253_CRC 83 |
Definition at line 15 of file mavlink_msg_statustext.h.
| #define MAVLINK_MSG_ID_253_LEN 51 |
Definition at line 12 of file mavlink_msg_statustext.h.
| #define MAVLINK_MSG_ID_STATUSTEXT 253 |
Definition at line 3 of file mavlink_msg_statustext.h.
| #define MAVLINK_MSG_ID_STATUSTEXT_CRC 83 |
Definition at line 14 of file mavlink_msg_statustext.h.
| #define MAVLINK_MSG_ID_STATUSTEXT_LEN 51 |
Definition at line 11 of file mavlink_msg_statustext.h.
| #define MAVLINK_MSG_STATUSTEXT_FIELD_TEXT_LEN 50 |
Definition at line 17 of file mavlink_msg_statustext.h.
| typedef struct __mavlink_statustext_t mavlink_statustext_t |
| static void mavlink_msg_statustext_decode | ( | const mavlink_message_t * | msg, |
| mavlink_statustext_t * | statustext | ||
| ) | [inline, static] |
Decode a statustext message into a struct.
| msg | The message to decode |
| statustext | C-struct to decode the message contents into |
Definition at line 217 of file mavlink_msg_statustext.h.
| static uint16_t mavlink_msg_statustext_encode | ( | uint8_t | system_id, |
| uint8_t | component_id, | ||
| mavlink_message_t * | msg, | ||
| const mavlink_statustext_t * | statustext | ||
| ) | [inline, static] |
Encode a statustext 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 |
| statustext | C-struct to read the message contents from |
Definition at line 103 of file mavlink_msg_statustext.h.
| static uint16_t mavlink_msg_statustext_encode_chan | ( | uint8_t | system_id, |
| uint8_t | component_id, | ||
| uint8_t | chan, | ||
| mavlink_message_t * | msg, | ||
| const mavlink_statustext_t * | statustext | ||
| ) | [inline, static] |
Encode a statustext 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 |
| statustext | C-struct to read the message contents from |
Definition at line 117 of file mavlink_msg_statustext.h.
| static uint8_t mavlink_msg_statustext_get_severity | ( | const mavlink_message_t * | msg | ) | [inline, static] |
Send a statustext message.
| chan | MAVLink channel to send the message |
| severity | Severity of status. Relies on the definitions within RFC-5424. See enum MAV_SEVERITY. |
| text | Status text message, without null termination character Get field severity from statustext message |
Definition at line 196 of file mavlink_msg_statustext.h.
| static uint16_t mavlink_msg_statustext_get_text | ( | const mavlink_message_t * | msg, |
| char * | text | ||
| ) | [inline, static] |
Get field text from statustext message.
Definition at line 206 of file mavlink_msg_statustext.h.
| static uint16_t mavlink_msg_statustext_pack | ( | uint8_t | system_id, |
| uint8_t | component_id, | ||
| mavlink_message_t * | msg, | ||
| uint8_t | severity, | ||
| const char * | text | ||
| ) | [inline, static] |
Pack a statustext 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 |
| severity | Severity of status. Relies on the definitions within RFC-5424. See enum MAV_SEVERITY. |
| text | Status text message, without null termination character |
Definition at line 38 of file mavlink_msg_statustext.h.
| static uint16_t mavlink_msg_statustext_pack_chan | ( | uint8_t | system_id, |
| uint8_t | component_id, | ||
| uint8_t | chan, | ||
| mavlink_message_t * | msg, | ||
| uint8_t | severity, | ||
| const char * | text | ||
| ) | [inline, static] |
Pack a statustext 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 |
| severity | Severity of status. Relies on the definitions within RFC-5424. See enum MAV_SEVERITY. |
| text | Status text message, without null termination character |
Definition at line 71 of file mavlink_msg_statustext.h.