3 #define MAVLINK_MSG_ID_EXTENDED_SYS_STATE 245 11 #define MAVLINK_MSG_ID_EXTENDED_SYS_STATE_LEN 2 12 #define MAVLINK_MSG_ID_245_LEN 2 14 #define MAVLINK_MSG_ID_EXTENDED_SYS_STATE_CRC 130 15 #define MAVLINK_MSG_ID_245_CRC 130 19 #define MAVLINK_MESSAGE_INFO_EXTENDED_SYS_STATE { \ 20 "EXTENDED_SYS_STATE", \ 22 { { "vtol_state", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_extended_sys_state_t, vtol_state) }, \ 23 { "landed_state", NULL, MAVLINK_TYPE_UINT8_T, 0, 1, offsetof(mavlink_extended_sys_state_t, landed_state) }, \ 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_EXTENDED_SYS_STATE_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 227 #if MAVLINK_NEED_BYTE_SWAP static void mavlink_msg_extended_sys_state_decode(const mavlink_message_t *msg, mavlink_extended_sys_state_t *extended_sys_state)
Decode a extended_sys_state message into a struct.
#define _MAV_RETURN_uint8_t(msg, wire_offset)
static uint16_t mavlink_msg_extended_sys_state_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t vtol_state, uint8_t landed_state)
Pack a extended_sys_state message.
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.
#define _mav_put_uint8_t(buf, wire_offset, b)
#define _MAV_PAYLOAD_NON_CONST(msg)
#define MAVLINK_MSG_ID_EXTENDED_SYS_STATE_CRC
static uint8_t mavlink_msg_extended_sys_state_get_vtol_state(const mavlink_message_t *msg)
Send a extended_sys_state message.
#define _MAV_PAYLOAD(msg)
static uint8_t mavlink_msg_extended_sys_state_get_landed_state(const mavlink_message_t *msg)
Get field landed_state from extended_sys_state message.
struct __mavlink_extended_sys_state_t mavlink_extended_sys_state_t
#define MAVLINK_MSG_ID_EXTENDED_SYS_STATE_LEN
static uint16_t mavlink_msg_extended_sys_state_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_extended_sys_state_t *extended_sys_state)
Encode a extended_sys_state struct.
static uint16_t mavlink_msg_extended_sys_state_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t vtol_state, uint8_t landed_state)
Pack a extended_sys_state message on a channel.
static uint16_t mavlink_msg_extended_sys_state_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_extended_sys_state_t *extended_sys_state)
Encode a extended_sys_state struct on a channel.
#define MAVLINK_MSG_ID_EXTENDED_SYS_STATE
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.