3 #define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F15 179
11 #define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F15_LEN 60
12 #define MAVLINK_MSG_ID_179_LEN 60
14 #define MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F15_CRC 7
15 #define MAVLINK_MSG_ID_179_CRC 7
17 #define MAVLINK_MSG_SERIAL_UDB_EXTRA_F15_FIELD_SUE_ID_VEHICLE_MODEL_NAME_LEN 40
18 #define MAVLINK_MSG_SERIAL_UDB_EXTRA_F15_FIELD_SUE_ID_VEHICLE_REGISTRATION_LEN 20
20 #define MAVLINK_MESSAGE_INFO_SERIAL_UDB_EXTRA_F15 { \
21 "SERIAL_UDB_EXTRA_F15", \
23 { { "sue_ID_VEHICLE_MODEL_NAME", NULL, MAVLINK_TYPE_UINT8_T, 40, 0, offsetof(mavlink_serial_udb_extra_f15_t, sue_ID_VEHICLE_MODEL_NAME) }, \
24 { "sue_ID_VEHICLE_REGISTRATION", NULL, MAVLINK_TYPE_UINT8_T, 20, 40, offsetof(mavlink_serial_udb_extra_f15_t, sue_ID_VEHICLE_REGISTRATION) }, \
39 static inline uint16_t mavlink_msg_serial_udb_extra_f15_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
40 const uint8_t *sue_ID_VEHICLE_MODEL_NAME,
const uint8_t *sue_ID_VEHICLE_REGISTRATION)
42 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
45 _mav_put_uint8_t_array(buf, 0, sue_ID_VEHICLE_MODEL_NAME, 40);
46 _mav_put_uint8_t_array(buf, 40, sue_ID_VEHICLE_REGISTRATION, 20);
74 static inline uint16_t mavlink_msg_serial_udb_extra_f15_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
75 mavlink_message_t* msg,
76 const uint8_t *sue_ID_VEHICLE_MODEL_NAME,
const uint8_t *sue_ID_VEHICLE_REGISTRATION)
78 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
81 _mav_put_uint8_t_array(buf, 0, sue_ID_VEHICLE_MODEL_NAME, 40);
82 _mav_put_uint8_t_array(buf, 40, sue_ID_VEHICLE_REGISTRATION, 20);
108 static inline uint16_t mavlink_msg_serial_udb_extra_f15_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
const mavlink_serial_udb_extra_f15_t* serial_udb_extra_f15)
122 static inline uint16_t mavlink_msg_serial_udb_extra_f15_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg,
const mavlink_serial_udb_extra_f15_t* serial_udb_extra_f15)
134 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
136 static inline void mavlink_msg_serial_udb_extra_f15_send(
mavlink_channel_t chan,
const uint8_t *sue_ID_VEHICLE_MODEL_NAME,
const uint8_t *sue_ID_VEHICLE_REGISTRATION)
138 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
141 _mav_put_uint8_t_array(buf, 0, sue_ID_VEHICLE_MODEL_NAME, 40);
142 _mav_put_uint8_t_array(buf, 40, sue_ID_VEHICLE_REGISTRATION, 20);
143 #if MAVLINK_CRC_EXTRA
153 #if MAVLINK_CRC_EXTRA
161 #if MAVLINK_MSG_ID_SERIAL_UDB_EXTRA_F15_LEN <= MAVLINK_MAX_PAYLOAD_LEN
169 static inline void mavlink_msg_serial_udb_extra_f15_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan,
const uint8_t *sue_ID_VEHICLE_MODEL_NAME,
const uint8_t *sue_ID_VEHICLE_REGISTRATION)
171 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
172 char *buf = (
char *)msgbuf;
174 _mav_put_uint8_t_array(buf, 0, sue_ID_VEHICLE_MODEL_NAME, 40);
175 _mav_put_uint8_t_array(buf, 40, sue_ID_VEHICLE_REGISTRATION, 20);
176 #if MAVLINK_CRC_EXTRA
186 #if MAVLINK_CRC_EXTRA
205 static inline uint16_t mavlink_msg_serial_udb_extra_f15_get_sue_ID_VEHICLE_MODEL_NAME(
const mavlink_message_t* msg, uint8_t *sue_ID_VEHICLE_MODEL_NAME)
207 return _MAV_RETURN_uint8_t_array(msg, sue_ID_VEHICLE_MODEL_NAME, 40, 0);
215 static inline uint16_t mavlink_msg_serial_udb_extra_f15_get_sue_ID_VEHICLE_REGISTRATION(
const mavlink_message_t* msg, uint8_t *sue_ID_VEHICLE_REGISTRATION)
217 return _MAV_RETURN_uint8_t_array(msg, sue_ID_VEHICLE_REGISTRATION, 20, 40);
228 #if MAVLINK_NEED_BYTE_SWAP
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