3 #define MAVLINK_MSG_ID_MESSAGE_INTERVAL 244 11 #define MAVLINK_MSG_ID_MESSAGE_INTERVAL_LEN 6 12 #define MAVLINK_MSG_ID_244_LEN 6 14 #define MAVLINK_MSG_ID_MESSAGE_INTERVAL_CRC 95 15 #define MAVLINK_MSG_ID_244_CRC 95 19 #define MAVLINK_MESSAGE_INFO_MESSAGE_INTERVAL { \ 22 { { "interval_us", NULL, MAVLINK_TYPE_INT32_T, 0, 0, offsetof(mavlink_message_interval_t, interval_us) }, \ 23 { "message_id", NULL, MAVLINK_TYPE_UINT16_T, 0, 4, offsetof(mavlink_message_interval_t, message_id) }, \ 41 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 74 mavlink_message_t* msg,
77 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 133 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 137 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 142 #if MAVLINK_CRC_EXTRA 152 #if MAVLINK_CRC_EXTRA 160 #if MAVLINK_MSG_ID_MESSAGE_INTERVAL_LEN <= MAVLINK_MAX_PAYLOAD_LEN 170 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 171 char *buf = (
char *)msgbuf;
175 #if MAVLINK_CRC_EXTRA 185 #if MAVLINK_CRC_EXTRA 206 return _MAV_RETURN_uint16_t(msg, 4);
216 return _MAV_RETURN_int32_t(msg, 0);
227 #if MAVLINK_NEED_BYTE_SWAP static uint16_t mavlink_msg_message_interval_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint16_t message_id, int32_t interval_us)
Pack a message_interval message.
static uint16_t mavlink_msg_message_interval_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_message_interval_t *message_interval)
Encode a message_interval struct.
static uint16_t mavlink_msg_message_interval_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint16_t message_id, int32_t interval_us)
Pack a message_interval message on a channel.
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 void mavlink_msg_message_interval_decode(const mavlink_message_t *msg, mavlink_message_interval_t *message_interval)
Decode a message_interval message into a struct.
#define _mav_put_int32_t(buf, wire_offset, b)
struct __mavlink_message_interval_t mavlink_message_interval_t
#define _MAV_PAYLOAD_NON_CONST(msg)
#define MAVLINK_MSG_ID_MESSAGE_INTERVAL
#define _MAV_PAYLOAD(msg)
#define MAVLINK_MSG_ID_MESSAGE_INTERVAL_CRC
static uint16_t mavlink_msg_message_interval_get_message_id(const mavlink_message_t *msg)
Send a message_interval message.
#define MAVLINK_MSG_ID_MESSAGE_INTERVAL_LEN
static uint16_t mavlink_msg_message_interval_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_message_interval_t *message_interval)
Encode a message_interval struct on a channel.
#define _mav_put_uint16_t(buf, wire_offset, b)
static int32_t mavlink_msg_message_interval_get_interval_us(const mavlink_message_t *msg)
Get field interval_us from message_interval message.
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.