Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mavconn::MsgBuffer Struct Reference

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

#include <msgbuffer.h>

Public Member Functions

uint8_t * dpos ()
 
 MsgBuffer ()
 
 MsgBuffer (const mavlink::mavlink_message_t *msg)
 Buffer constructor from mavlink_message_t. More...
 
 MsgBuffer (const mavlink::Message &obj, mavlink::mavlink_status_t *status, uint8_t sysid, uint8_t compid)
 Buffer constructor for mavlink::Message derived object. More...
 
 MsgBuffer (const uint8_t *bytes, ssize_t nbytes)
 Buffer constructor for send_bytes() More...
 
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 + 16
 Maximum buffer size with padding for CRC bytes (280 + padding) More...
 

Detailed Description

Message buffer for internal use in libmavconn.

Definition at line 27 of file msgbuffer.h.


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


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