Classes | Macros | Typedefs | Functions
mavlink_msg_encapsulated_data.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __mavlink_encapsulated_data_t
 

Macros

#define MAVLINK_MESSAGE_INFO_ENCAPSULATED_DATA
 
#define MAVLINK_MSG_ENCAPSULATED_DATA_FIELD_DATA_LEN   253
 
#define MAVLINK_MSG_ID_131_CRC   223
 
#define MAVLINK_MSG_ID_131_LEN   255
 
#define MAVLINK_MSG_ID_ENCAPSULATED_DATA   131
 
#define MAVLINK_MSG_ID_ENCAPSULATED_DATA_CRC   223
 
#define MAVLINK_MSG_ID_ENCAPSULATED_DATA_LEN   255
 

Typedefs

typedef struct __mavlink_encapsulated_data_t mavlink_encapsulated_data_t
 

Functions

static void mavlink_msg_encapsulated_data_decode (const mavlink_message_t *msg, mavlink_encapsulated_data_t *encapsulated_data)
 Decode a encapsulated_data message into a struct. More...
 
static uint16_t mavlink_msg_encapsulated_data_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_encapsulated_data_t *encapsulated_data)
 Encode a encapsulated_data struct. More...
 
static uint16_t mavlink_msg_encapsulated_data_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_encapsulated_data_t *encapsulated_data)
 Encode a encapsulated_data struct on a channel. More...
 
static uint16_t mavlink_msg_encapsulated_data_get_data (const mavlink_message_t *msg, uint8_t *data)
 Get field data from encapsulated_data message. More...
 
static uint16_t mavlink_msg_encapsulated_data_get_seqnr (const mavlink_message_t *msg)
 Send a encapsulated_data message. More...
 
static uint16_t mavlink_msg_encapsulated_data_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint16_t seqnr, const uint8_t *data)
 Pack a encapsulated_data message. More...
 
static uint16_t mavlink_msg_encapsulated_data_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint16_t seqnr, const uint8_t *data)
 Pack a encapsulated_data message on a channel. More...
 

Macro Definition Documentation

#define MAVLINK_MESSAGE_INFO_ENCAPSULATED_DATA
Value:
{ \
"ENCAPSULATED_DATA", \
2, \
{ { "seqnr", NULL, MAVLINK_TYPE_UINT16_T, 0, 0, offsetof(mavlink_encapsulated_data_t, seqnr) }, \
{ "data", NULL, MAVLINK_TYPE_UINT8_T, 253, 2, offsetof(mavlink_encapsulated_data_t, data) }, \
} \
}

Definition at line 19 of file mavlink_msg_encapsulated_data.h.

#define MAVLINK_MSG_ENCAPSULATED_DATA_FIELD_DATA_LEN   253

Definition at line 17 of file mavlink_msg_encapsulated_data.h.

#define MAVLINK_MSG_ID_131_CRC   223

Definition at line 15 of file mavlink_msg_encapsulated_data.h.

#define MAVLINK_MSG_ID_131_LEN   255

Definition at line 12 of file mavlink_msg_encapsulated_data.h.

#define MAVLINK_MSG_ID_ENCAPSULATED_DATA   131

Definition at line 3 of file mavlink_msg_encapsulated_data.h.

#define MAVLINK_MSG_ID_ENCAPSULATED_DATA_CRC   223

Definition at line 14 of file mavlink_msg_encapsulated_data.h.

#define MAVLINK_MSG_ID_ENCAPSULATED_DATA_LEN   255

Definition at line 11 of file mavlink_msg_encapsulated_data.h.

Typedef Documentation

Function Documentation

static void mavlink_msg_encapsulated_data_decode ( const mavlink_message_t *  msg,
mavlink_encapsulated_data_t encapsulated_data 
)
inlinestatic

Decode a encapsulated_data message into a struct.

Parameters
msgThe message to decode
encapsulated_dataC-struct to decode the message contents into

Definition at line 217 of file mavlink_msg_encapsulated_data.h.

static uint16_t mavlink_msg_encapsulated_data_encode ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
const mavlink_encapsulated_data_t encapsulated_data 
)
inlinestatic

Encode a encapsulated_data struct.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
encapsulated_dataC-struct to read the message contents from

Definition at line 103 of file mavlink_msg_encapsulated_data.h.

static uint16_t mavlink_msg_encapsulated_data_encode_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
const mavlink_encapsulated_data_t encapsulated_data 
)
inlinestatic

Encode a encapsulated_data struct on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
encapsulated_dataC-struct to read the message contents from

Definition at line 117 of file mavlink_msg_encapsulated_data.h.

static uint16_t mavlink_msg_encapsulated_data_get_data ( const mavlink_message_t *  msg,
uint8_t *  data 
)
inlinestatic

Get field data from encapsulated_data message.

Returns
image data bytes

Definition at line 206 of file mavlink_msg_encapsulated_data.h.

static uint16_t mavlink_msg_encapsulated_data_get_seqnr ( const mavlink_message_t *  msg)
inlinestatic

Send a encapsulated_data message.

Parameters
chanMAVLink channel to send the message
seqnrsequence number (starting with 0 on every transmission)
dataimage data bytes Get field seqnr from encapsulated_data message
Returns
sequence number (starting with 0 on every transmission)

Definition at line 196 of file mavlink_msg_encapsulated_data.h.

static uint16_t mavlink_msg_encapsulated_data_pack ( uint8_t  system_id,
uint8_t  component_id,
mavlink_message_t *  msg,
uint16_t  seqnr,
const uint8_t *  data 
)
inlinestatic

Pack a encapsulated_data message.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
msgThe MAVLink message to compress the data into
seqnrsequence number (starting with 0 on every transmission)
dataimage data bytes
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 38 of file mavlink_msg_encapsulated_data.h.

static uint16_t mavlink_msg_encapsulated_data_pack_chan ( uint8_t  system_id,
uint8_t  component_id,
uint8_t  chan,
mavlink_message_t *  msg,
uint16_t  seqnr,
const uint8_t *  data 
)
inlinestatic

Pack a encapsulated_data message on a channel.

Parameters
system_idID of this system
component_idID of this component (e.g. 200 for IMU)
chanThe MAVLink channel this message will be sent over
msgThe MAVLink message to compress the data into
seqnrsequence number (starting with 0 on every transmission)
dataimage data bytes
Returns
length of the message in bytes (excluding serial stream start sign)

Definition at line 71 of file mavlink_msg_encapsulated_data.h.



rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 20:00:13