3 #define MAVLINK_MSG_ID_GPS_INJECT_DATA 123 13 #define MAVLINK_MSG_ID_GPS_INJECT_DATA_LEN 113 14 #define MAVLINK_MSG_ID_123_LEN 113 16 #define MAVLINK_MSG_ID_GPS_INJECT_DATA_CRC 250 17 #define MAVLINK_MSG_ID_123_CRC 250 19 #define MAVLINK_MSG_GPS_INJECT_DATA_FIELD_DATA_LEN 110 21 #define MAVLINK_MESSAGE_INFO_GPS_INJECT_DATA { \ 24 { { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_gps_inject_data_t, target_system) }, \ 25 { "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 1, offsetof(mavlink_gps_inject_data_t, target_component) }, \ 26 { "len", NULL, MAVLINK_TYPE_UINT8_T, 0, 2, offsetof(mavlink_gps_inject_data_t, len) }, \ 27 { "data", NULL, MAVLINK_TYPE_UINT8_T, 110, 3, offsetof(mavlink_gps_inject_data_t, data) }, \ 47 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 84 mavlink_message_t* msg,
87 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 104 #if MAVLINK_CRC_EXTRA 147 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 151 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 157 #if MAVLINK_CRC_EXTRA 168 #if MAVLINK_CRC_EXTRA 176 #if MAVLINK_MSG_ID_GPS_INJECT_DATA_LEN <= MAVLINK_MAX_PAYLOAD_LEN 186 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 187 char *buf = (
char *)msgbuf;
192 #if MAVLINK_CRC_EXTRA 203 #if MAVLINK_CRC_EXTRA 265 #if MAVLINK_NEED_BYTE_SWAP static uint8_t mavlink_msg_gps_inject_data_get_len(const mavlink_message_t *msg)
Get field len from gps_inject_data message.
#define _MAV_RETURN_uint8_t(msg, wire_offset)
MAVLINK_HELPER uint16_t mavlink_finalize_message(mavlink_message_t *msg, uint8_t system_id, uint8_t component_id, uint8_t length)
Finalize a MAVLink message with MAVLINK_COMM_0 as default channel.
static uint16_t mavlink_msg_gps_inject_data_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint8_t len, const uint8_t *data)
Pack a gps_inject_data message.
#define _mav_put_uint8_t(buf, wire_offset, b)
static void _mav_put_uint8_t_array(char *buf, uint8_t wire_offset, const uint8_t *b, uint8_t array_length)
#define _MAV_PAYLOAD_NON_CONST(msg)
#define _MAV_PAYLOAD(msg)
static uint16_t mavlink_msg_gps_inject_data_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_gps_inject_data_t *gps_inject_data)
Encode a gps_inject_data struct on a channel.
#define MAVLINK_MSG_ID_GPS_INJECT_DATA
#define MAVLINK_MSG_ID_GPS_INJECT_DATA_CRC
static void mav_array_memcpy(void *dest, const void *src, size_t n)
static uint16_t mavlink_msg_gps_inject_data_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_gps_inject_data_t *gps_inject_data)
Encode a gps_inject_data struct.
static void mavlink_msg_gps_inject_data_decode(const mavlink_message_t *msg, mavlink_gps_inject_data_t *gps_inject_data)
Decode a gps_inject_data message into a struct.
static uint8_t mavlink_msg_gps_inject_data_get_target_system(const mavlink_message_t *msg)
Send a gps_inject_data message.
static uint16_t _MAV_RETURN_uint8_t_array(const mavlink_message_t *msg, uint8_t *value, uint8_t array_length, uint8_t wire_offset)
static uint16_t mavlink_msg_gps_inject_data_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint8_t len, const uint8_t *data)
Pack a gps_inject_data message on a channel.
struct __mavlink_gps_inject_data_t mavlink_gps_inject_data_t
MAVLINK_HELPER uint16_t mavlink_finalize_message_chan(mavlink_message_t *msg, uint8_t system_id, uint8_t component_id, uint8_t chan, uint8_t length)
Finalize a MAVLink message with channel assignment.
static uint16_t mavlink_msg_gps_inject_data_get_data(const mavlink_message_t *msg, uint8_t *data)
Get field data from gps_inject_data message.
#define MAVLINK_MSG_ID_GPS_INJECT_DATA_LEN
static uint8_t mavlink_msg_gps_inject_data_get_target_component(const mavlink_message_t *msg)
Get field target_component from gps_inject_data message.