Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
mavconn Namespace Reference

Namespaces

 utils
 

Classes

class  DeviceError
 Common exception for communication error. More...
 
class  MAVConnInterface
 Generic mavlink interface. More...
 
class  MAVConnSerial
 Serial interface. More...
 
class  MAVConnTCPClient
 TCP client interface. More...
 
class  MAVConnTCPServer
 TCP server interface. More...
 
class  MAVConnUDP
 UDP interface. More...
 
struct  MsgBuffer
 Message buffer for internal use in libmavconn. More...
 

Typedefs

using lock_guard = std::lock_guard< std::recursive_mutex >
 
using steady_clock = std::chrono::steady_clock
 

Enumerations

enum  Framing : uint8_t { Framing::incomplete = mavlink::MAVLINK_FRAMING_INCOMPLETE, Framing::ok = mavlink::MAVLINK_FRAMING_OK, Framing::bad_crc = mavlink::MAVLINK_FRAMING_BAD_CRC, Framing::bad_signature = mavlink::MAVLINK_FRAMING_BAD_SIGNATURE }
 Rx packer framing status. (same as mavlink::mavlink_framing_t) More...
 
enum  Protocol : uint8_t { Protocol::V10 = 1, Protocol::V20 = 2 }
 MAVLink protocol version. More...
 

Functions

static bool resolve_address_tcp (io_service &io, size_t chan, std::string host, unsigned short port, tcp::endpoint &ep)
 
static bool resolve_address_udp (io_service &io, size_t chan, std::string host, unsigned short port, udp::endpoint &ep)
 
static void url_parse_host (std::string host, std::string &host_out, int &port_out, const std::string def_host, const int def_port)
 
static void url_parse_query (std::string query, uint8_t &sysid, uint8_t &compid)
 
static MAVConnInterface::Ptr url_parse_serial (std::string path, std::string query, uint8_t system_id, uint8_t component_id, bool hwflow)
 
static MAVConnInterface::Ptr url_parse_tcp_client (std::string host, std::string query, uint8_t system_id, uint8_t component_id)
 
static MAVConnInterface::Ptr url_parse_tcp_server (std::string host, std::string query, uint8_t system_id, uint8_t component_id)
 
static MAVConnInterface::Ptr url_parse_udp (std::string hosts, std::string query, uint8_t system_id, uint8_t component_id, bool is_udpb, bool permanent_broadcast)
 

Variables

static constexpr auto MAV_COMP_ID_UDP_BRIDGE = 240
 Same as mavlink::common::MAV_COMPONENT::COMP_ID_UDP_BRIDGE. More...
 


libmavconn
Author(s): Vladimir Ermakov
autogenerated on Mon Jul 8 2019 03:20:07