PX4 Firmware
PX4 Autopilot Software http://px4.io
mavlink_main.h File Reference

MAVLink 2.0 protocol interface definition. More...

#include <pthread.h>
#include <stdbool.h>
#include <arpa/inet.h>
#include <drivers/device/device.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
#include <containers/List.hpp>
#include <drivers/device/ringbuffer.h>
#include <parameters/param.h>
#include <perf/perf_counter.h>
#include <px4_platform_common/cli.h>
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/defines.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/module.h>
#include <px4_platform_common/module_params.h>
#include <px4_platform_common/posix.h>
#include <systemlib/mavlink_log.h>
#include <systemlib/uthash/utlist.h>
#include <uORB/PublicationQueued.hpp>
#include <uORB/topics/mavlink_log.h>
#include <uORB/topics/mission_result.h>
#include <uORB/topics/radio_status.h>
#include <uORB/topics/telemetry_status.h>
#include "mavlink_command_sender.h"
#include "mavlink_messages.h"
#include "mavlink_orb_subscription.h"
#include "mavlink_shell.h"
#include "mavlink_ulog.h"
Include dependency graph for mavlink_main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Mavlink
 
struct  Mavlink::ping_statistics_s
 
struct  Mavlink::mavlink_message_buffer
 

Macros

#define DEFAULT_BAUD_RATE   57600
 
#define DEFAULT_DEVICE_NAME   "/dev/ttyS1"
 
#define HASH_PARAM   "_HASH_CHECK"
 

Enumerations

enum  Protocol { Protocol::SERIAL = 0 }
 

Detailed Description

MAVLink 2.0 protocol interface definition.

Author
Lorenz Meier loren.nosp@m.z@px.nosp@m.4.io
Anton Babushkin anton.nosp@m..bab.nosp@m.ushki.nosp@m.n@me.nosp@m..com

Definition in file mavlink_main.h.

Macro Definition Documentation

◆ DEFAULT_BAUD_RATE

#define DEFAULT_BAUD_RATE   57600

Definition at line 86 of file mavlink_main.h.

◆ DEFAULT_DEVICE_NAME

#define DEFAULT_DEVICE_NAME   "/dev/ttyS1"

Definition at line 87 of file mavlink_main.h.

Referenced by Mavlink::stream_command().

◆ HASH_PARAM

#define HASH_PARAM   "_HASH_CHECK"

Enumeration Type Documentation

◆ Protocol

enum Protocol
strong
Enumerator
SERIAL 

Definition at line 96 of file mavlink_main.h.