3 #define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F16 180
11 #define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F16_LEN 110
12 #define MAVLINK_MSG_ID_180_LEN 110
14 #define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F16_CRC 222
15 #define MAVLINK_MSG_ID_180_CRC 222
17 #define MAVLINK_MSG_SERIAL_UDB_EXTRA_F16_FIELD_SUE_ID_LEAD_PILOT_LEN 40
18 #define MAVLINK_MSG_SERIAL_UDB_EXTRA_F16_FIELD_SUE_ID_DIY_DRONES_URL_LEN 70
20 #define MAVLINK_MESSAGE_INFO_SERIAL_UDB_EXTRA_F16 { \
21 "SERIAL_UDB_EXTRA_F16", \
23 { { "sue_ID_LEAD_PILOT", NULL, MAVLINK_TYPE_UINT8_T, 40, 0, offsetof(mavlink_serial_udb_extra_f16_t, sue_ID_LEAD_PILOT) }, \
24 { "sue_ID_DIY_DRONES_URL", NULL, MAVLINK_TYPE_UINT8_T, 70, 40, offsetof(mavlink_serial_udb_extra_f16_t, sue_ID_DIY_DRONES_URL) }, \
39 static inline uint16_t mavlink_msg_serial_udb_extra_f16_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
40 const uint8_t *sue_ID_LEAD_PILOT,
const uint8_t *sue_ID_DIY_DRONES_URL)
42 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
45 _mav_put_uint8_t_array(buf, 0, sue_ID_LEAD_PILOT, 40);
46 _mav_put_uint8_t_array(buf, 40, sue_ID_DIY_DRONES_URL, 70);
51 mav_array_memcpy(packet.
sue_ID_LEAD_PILOT, sue_ID_LEAD_PILOT,
sizeof(uint8_t)*40);
74 static inline uint16_t mavlink_msg_serial_udb_extra_f16_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
75 mavlink_message_t* msg,
76 const uint8_t *sue_ID_LEAD_PILOT,
const uint8_t *sue_ID_DIY_DRONES_URL)
78 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
81 _mav_put_uint8_t_array(buf, 0, sue_ID_LEAD_PILOT, 40);
82 _mav_put_uint8_t_array(buf, 40, sue_ID_DIY_DRONES_URL, 70);
87 mav_array_memcpy(packet.
sue_ID_LEAD_PILOT, sue_ID_LEAD_PILOT,
sizeof(uint8_t)*40);
108 static inline uint16_t mavlink_msg_serial_udb_extra_f16_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
const mavlink_serial_udb_extra_f16_t* serial_udb_extra_f16)
122 static inline uint16_t mavlink_msg_serial_udb_extra_f16_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg,
const mavlink_serial_udb_extra_f16_t* serial_udb_extra_f16)
134 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
136 static inline void mavlink_msg_serial_udb_extra_f16_send(
mavlink_channel_t chan,
const uint8_t *sue_ID_LEAD_PILOT,
const uint8_t *sue_ID_DIY_DRONES_URL)
138 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
141 _mav_put_uint8_t_array(buf, 0, sue_ID_LEAD_PILOT, 40);
142 _mav_put_uint8_t_array(buf, 40, sue_ID_DIY_DRONES_URL, 70);
143 #if MAVLINK_CRC_EXTRA
151 mav_array_memcpy(packet.
sue_ID_LEAD_PILOT, sue_ID_LEAD_PILOT,
sizeof(uint8_t)*40);
153 #if MAVLINK_CRC_EXTRA
161 #if MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F16_LEN <= MAVLINK_MAX_PAYLOAD_LEN
169 static inline void mavlink_msg_serial_udb_extra_f16_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan,
const uint8_t *sue_ID_LEAD_PILOT,
const uint8_t *sue_ID_DIY_DRONES_URL)
171 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
172 char *buf = (
char *)msgbuf;
174 _mav_put_uint8_t_array(buf, 0, sue_ID_LEAD_PILOT, 40);
175 _mav_put_uint8_t_array(buf, 40, sue_ID_DIY_DRONES_URL, 70);
176 #if MAVLINK_CRC_EXTRA
184 mav_array_memcpy(packet->
sue_ID_LEAD_PILOT, sue_ID_LEAD_PILOT,
sizeof(uint8_t)*40);
186 #if MAVLINK_CRC_EXTRA
205 static inline uint16_t mavlink_msg_serial_udb_extra_f16_get_sue_ID_LEAD_PILOT(
const mavlink_message_t* msg, uint8_t *sue_ID_LEAD_PILOT)
207 return _MAV_RETURN_uint8_t_array(msg, sue_ID_LEAD_PILOT, 40, 0);
215 static inline uint16_t mavlink_msg_serial_udb_extra_f16_get_sue_ID_DIY_DRONES_URL(
const mavlink_message_t* msg, uint8_t *sue_ID_DIY_DRONES_URL)
217 return _MAV_RETURN_uint8_t_array(msg, sue_ID_DIY_DRONES_URL, 70, 40);
228 #if MAVLINK_NEED_BYTE_SWAP
229 mavlink_msg_serial_udb_extra_f16_get_sue_ID_LEAD_PILOT(msg, serial_udb_extra_f16->
sue_ID_LEAD_PILOT);
230 mavlink_msg_serial_udb_extra_f16_get_sue_ID_DIY_DRONES_URL(msg, serial_udb_extra_f16->
sue_ID_DIY_DRONES_URL);
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.
Definition: mavlink_helpers.h:105
#define _MAV_PAYLOAD_NON_CONST(msg)
Definition: mavlink_types.h:172
mavlink_channel_t
Definition: mavlink_types.h:178
#define _MAV_PAYLOAD(msg)
Definition: mavlink_types.h:171
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.
Definition: mavlink_helpers.h:71