#include "compat.h"
#include "include/mavlink/v2.0/ardupilotmega/version.h"
#include "include/mavlink/v2.0/mavlink_types.h"
#include "include/mavlink/v2.0/ardupilotmega/mavlink.h"
Go to the source code of this file.
◆ MAVLINK_COMM_NUM_BUFFERS
#define MAVLINK_COMM_NUM_BUFFERS 1 |
Definition at line 20 of file GCS_MAVLink.h.
Referenced by MAVLink_routing::check_and_forward(), AP_SerialManager::get_mavlink_channel(), MAVLink_routing::handle_heartbeat(), GCS_MAVLINK::load_signing_key(), GCS_MAVLINK::save_signing_timestamp(), GCS_MAVLINK::send_collision_all(), AP_GPS::send_mavlink_gps2_raw(), AP_GPS::send_mavlink_gps_raw(), GCS::send_parameter_value(), AP_Button::send_report(), MAVLink_routing::send_to_components(), GCS::service_statustext(), GCS::setup_uarts(), AP_ADSB::update(), and GCS_MAVLINK::update_signing_timestamp().
◆ MAVLINK_COMM_NUM_CHANNELS
#define MAVLINK_COMM_NUM_CHANNELS 1 |
◆ MAVLINK_CRC_EXTRA
#define MAVLINK_CRC_EXTRA 1 |
◆ MAVLINK_USE_CONVENIENCE_FUNCTIONS
#define MAVLINK_USE_CONVENIENCE_FUNCTIONS |
◆ comm_get_available()
static uint16_t comm_get_available |
( |
mavlink_channel_t |
chan | ) |
|
|
inlinestatic |
Check for available data on the nominated MAVLink channel
- Parameters
-
- Returns
- Number of bytes available
Definition at line 57 of file GCS_MAVLink.h.
Referenced by GCS_MAVLINK::update().
◆ comm_get_txspace()
static int comm_get_txspace |
( |
mavlink_channel_t |
chan | ) |
|
|
inlinestatic |
◆ comm_receive_ch()
static uint8_t comm_receive_ch |
( |
mavlink_channel_t |
chan | ) |
|
|
inlinestatic |
Read a byte from the nominated MAVLink channel
- Parameters
-
chan | Channel to receive on |
- Returns
- Byte read
Definition at line 48 of file GCS_MAVLink.h.
◆ comm_send_ch()
static void comm_send_ch |
( |
mavlink_channel_t |
chan, |
|
|
uint8_t |
ch |
|
) |
| |
|
inlinestatic |
Send a byte to the nominated MAVLink channel
- Parameters
-
chan | Channel to send to |
ch | Byte to send |
Definition at line 38 of file GCS_MAVLink.h.
◆ mav_var_type()
◆ mavlink_check_target()
uint8_t mavlink_check_target |
( |
uint8_t |
sysid, |
|
|
uint8_t |
compid |
|
) |
| |
◆ osd_queue()
void osd_queue |
( |
uint8_t |
c | ) |
|
◆ mavlink_comm_0_port
MAVLink stream used for HIL interaction.
◆ mavlink_comm_1_port
MAVLink stream used for ground control communication.
◆ mavlink_system
mavlink_system_t mavlink_system |