
Go to the source code of this file.
Classes | |
| struct | __mavlink_serial_control_t |
Macros | |
| #define | MAVLINK_MESSAGE_INFO_SERIAL_CONTROL |
| #define | MAVLINK_MSG_ID_126_CRC 220 |
| #define | MAVLINK_MSG_ID_126_LEN 79 |
| #define | MAVLINK_MSG_ID_SERIAL_CONTROL 126 |
| #define | MAVLINK_MSG_ID_SERIAL_CONTROL_CRC 220 |
| #define | MAVLINK_MSG_ID_SERIAL_CONTROL_LEN 79 |
| #define | MAVLINK_MSG_SERIAL_CONTROL_FIELD_DATA_LEN 70 |
Typedefs | |
| typedef struct __mavlink_serial_control_t | mavlink_serial_control_t |
Functions | |
| static void | mavlink_msg_serial_control_decode (const mavlink_message_t *msg, mavlink_serial_control_t *serial_control) |
| Decode a serial_control message into a struct. More... | |
| static uint16_t | mavlink_msg_serial_control_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_serial_control_t *serial_control) |
| Encode a serial_control struct. More... | |
| static uint16_t | mavlink_msg_serial_control_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_serial_control_t *serial_control) |
| Encode a serial_control struct on a channel. More... | |
| static uint32_t | mavlink_msg_serial_control_get_baudrate (const mavlink_message_t *msg) |
| Get field baudrate from serial_control message. More... | |
| static uint8_t | mavlink_msg_serial_control_get_count (const mavlink_message_t *msg) |
| Get field count from serial_control message. More... | |
| static uint16_t | mavlink_msg_serial_control_get_data (const mavlink_message_t *msg, uint8_t *data) |
| Get field data from serial_control message. More... | |
| static uint8_t | mavlink_msg_serial_control_get_device (const mavlink_message_t *msg) |
| Send a serial_control message. More... | |
| static uint8_t | mavlink_msg_serial_control_get_flags (const mavlink_message_t *msg) |
| Get field flags from serial_control message. More... | |
| static uint16_t | mavlink_msg_serial_control_get_timeout (const mavlink_message_t *msg) |
| Get field timeout from serial_control message. More... | |
| static uint16_t | mavlink_msg_serial_control_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t device, uint8_t flags, uint16_t timeout, uint32_t baudrate, uint8_t count, const uint8_t *data) |
| Pack a serial_control message. More... | |
| static uint16_t | mavlink_msg_serial_control_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t device, uint8_t flags, uint16_t timeout, uint32_t baudrate, uint8_t count, const uint8_t *data) |
| Pack a serial_control message on a channel. More... | |
| #define MAVLINK_MESSAGE_INFO_SERIAL_CONTROL |
Definition at line 23 of file mavlink_msg_serial_control.h.
| #define MAVLINK_MSG_ID_126_CRC 220 |
Definition at line 19 of file mavlink_msg_serial_control.h.
| #define MAVLINK_MSG_ID_126_LEN 79 |
Definition at line 16 of file mavlink_msg_serial_control.h.
| #define MAVLINK_MSG_ID_SERIAL_CONTROL 126 |
Definition at line 3 of file mavlink_msg_serial_control.h.
| #define MAVLINK_MSG_ID_SERIAL_CONTROL_CRC 220 |
Definition at line 18 of file mavlink_msg_serial_control.h.
| #define MAVLINK_MSG_ID_SERIAL_CONTROL_LEN 79 |
Definition at line 15 of file mavlink_msg_serial_control.h.
| #define MAVLINK_MSG_SERIAL_CONTROL_FIELD_DATA_LEN 70 |
Definition at line 21 of file mavlink_msg_serial_control.h.
| typedef struct __mavlink_serial_control_t mavlink_serial_control_t |
|
inlinestatic |
Decode a serial_control message into a struct.
| msg | The message to decode |
| serial_control | C-struct to decode the message contents into |
Definition at line 309 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Encode a serial_control 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 |
| serial_control | C-struct to read the message contents from |
Definition at line 135 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Encode a serial_control 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 |
| serial_control | C-struct to read the message contents from |
Definition at line 149 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Get field baudrate from serial_control message.
Definition at line 278 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Get field count from serial_control message.
Definition at line 288 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Get field data from serial_control message.
Definition at line 298 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Send a serial_control message.
| chan | MAVLink channel to send the message |
| device | See SERIAL_CONTROL_DEV enum |
| flags | See SERIAL_CONTROL_FLAG enum |
| timeout | Timeout for reply data in milliseconds |
| baudrate | Baudrate of transfer. Zero means no change. |
| count | how many bytes in this transfer |
| data | serial data Get field device from serial_control message |
Definition at line 248 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Get field flags from serial_control message.
Definition at line 258 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Get field timeout from serial_control message.
Definition at line 268 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Pack a serial_control 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 |
| device | See SERIAL_CONTROL_DEV enum |
| flags | See SERIAL_CONTROL_FLAG enum |
| timeout | Timeout for reply data in milliseconds |
| baudrate | Baudrate of transfer. Zero means no change. |
| count | how many bytes in this transfer |
| data | serial data |
Definition at line 50 of file mavlink_msg_serial_control.h.
|
inlinestatic |
Pack a serial_control 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 |
| device | See SERIAL_CONTROL_DEV enum |
| flags | See SERIAL_CONTROL_FLAG enum |
| timeout | Timeout for reply data in milliseconds |
| baudrate | Baudrate of transfer. Zero means no change. |
| count | how many bytes in this transfer |
| data | serial data |
Definition at line 95 of file mavlink_msg_serial_control.h.