PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <v2.0/mavlink_types.h>
#include <unistd.h>
#include <v2.0/standard/mavlink.h>
Go to the source code of this file.
Functions | |
void | mavlink_send_uart_bytes (mavlink_channel_t chan, const uint8_t *ch, int length) |
Send multiple chars (uint8_t) over a comm channel. More... | |
void | mavlink_start_uart_send (mavlink_channel_t chan, int length) |
void | mavlink_end_uart_send (mavlink_channel_t chan, int length) |
mavlink_status_t * | mavlink_get_channel_status (uint8_t chan) |
mavlink_message_t * | mavlink_get_channel_buffer (uint8_t chan) |
Variables | |
__BEGIN_DECLS mavlink_system_t | mavlink_system |
#define MAVLINK_END_UART_SEND mavlink_end_uart_send |
Definition at line 53 of file mavlink_bridge_header.h.
#define MAVLINK_GET_CHANNEL_BUFFER mavlink_get_channel_buffer |
Definition at line 55 of file mavlink_bridge_header.h.
#define MAVLINK_GET_CHANNEL_STATUS mavlink_get_channel_status |
Definition at line 56 of file mavlink_bridge_header.h.
#define MAVLINK_NO_CONVERSION_HELPERS |
Definition at line 45 of file mavlink_bridge_header.h.
#define MAVLINK_SEND_UART_BYTES mavlink_send_uart_bytes |
Definition at line 50 of file mavlink_bridge_header.h.
#define MAVLINK_START_UART_SEND mavlink_start_uart_send |
Definition at line 52 of file mavlink_bridge_header.h.
#define MAVLINK_USE_CONVENIENCE_FUNCTIONS |
Definition at line 47 of file mavlink_bridge_header.h.
void mavlink_end_uart_send | ( | mavlink_channel_t | chan, |
int | length | ||
) |
Definition at line 116 of file mavlink_main.cpp.
References Mavlink::get_instance(), and Mavlink::send_packet().
mavlink_message_t* mavlink_get_channel_buffer | ( | uint8_t | chan | ) |
Definition at line 146 of file mavlink_main.cpp.
References Mavlink::_boot_complete, Mavlink::_first_start_time, Mavlink::get_buffer(), Mavlink::get_instance(), hrt_abstime, and usage().
mavlink_status_t* mavlink_get_channel_status | ( | uint8_t | chan | ) |
Definition at line 131 of file mavlink_main.cpp.
References Mavlink::get_instance(), and Mavlink::get_status().
void mavlink_send_uart_bytes | ( | mavlink_channel_t | chan, |
const uint8_t * | ch, | ||
int | length | ||
) |
Send multiple chars (uint8_t) over a comm channel.
chan | MAVLink channel to use, usually MAVLINK_COMM_0 = UART0 |
ch | Character to send |
Definition at line 88 of file mavlink_main.cpp.
References Mavlink::get_instance(), and Mavlink::send_bytes().
void mavlink_start_uart_send | ( | mavlink_channel_t | chan, |
int | length | ||
) |
Definition at line 104 of file mavlink_main.cpp.
References Mavlink::begin_send(), and Mavlink::get_instance().
__BEGIN_DECLS mavlink_system_t mavlink_system |
Definition at line 49 of file mavlink.c.
Referenced by MavlinkReceiver::evaluate_target_ok(), Mavlink::get_component_id(), Mavlink::get_system_id(), MavlinkParametersManager::handle_message(), MavlinkReceiver::handle_message(), MavlinkReceiver::handle_message_battery_status(), MavlinkReceiver::handle_message_command_both(), MavlinkReceiver::handle_message_heartbeat(), MavlinkReceiver::handle_message_ping(), MavlinkReceiver::handle_message_play_tune(), MavlinkReceiver::handle_message_set_actuator_control_target(), MavlinkReceiver::handle_message_set_attitude_target(), MavlinkReceiver::handle_message_set_position_target_global_int(), MavlinkReceiver::handle_message_set_position_target_local_ned(), MavlinkReceiver::handle_message_statustext(), Mavlink::Mavlink(), MavlinkStreamCameraTrigger::send(), MavlinkStreamManualControl::send(), Mavlink::send_autopilot_capabilites(), MavlinkParametersManager::send_param(), and MavlinkParametersManager::send_uavcan().