Public Member Functions | Public Attributes | Static Public Attributes
mavconn::MsgBuffer Struct Reference

Message buffer for internal use in libmavconn. More...

#include <msgbuffer.h>

List of all members.

Public Member Functions

uint8_t * dpos ()
 MsgBuffer ()
 MsgBuffer (const mavlink_message_t *msg)
 Buffer constructor from mavlink_message_t.
 MsgBuffer (const uint8_t *bytes, ssize_t nbytes)
 Buffer constructor for send_bytes()
ssize_t nbytes ()
virtual ~MsgBuffer ()

Public Attributes

uint8_t data [MAX_SIZE]
ssize_t len
ssize_t pos

Static Public Attributes

static constexpr ssize_t MAX_SIZE = MAVLINK_MAX_PACKET_LEN + 2 + 7
 Maximum buffer size with padding for CRC bytes (263 + 2 + align padding)

Detailed Description

Message buffer for internal use in libmavconn.

Definition at line 28 of file msgbuffer.h.

The documentation for this struct was generated from the following file:

Author(s): Vladimir Ermakov
autogenerated on Thu Feb 9 2017 04:00:13