浏览代码

增加培训 VKFLY_EDU_STATUS VKFLY_EDU_STATUS_ACK

Liu Yang 3 月之前
父节点
当前提交
88a76a86cd

+ 31 - 0
msg_definitions/VKFly.xml

@@ -1109,6 +1109,36 @@
       <field type="uint8_t" name="h_type">heading satellite number</field>
     </message>
 
+    <message id="53025" name="VKFLY_EDU_STATUS">
+      <description>EDU status</description>
+      <field type="uint64_t" name="unix_timestamp" units="ms">Unix timestamp in ms, from 1 Jan 1970.</field>
+      <field type="uint32_t" name="boot_timestamp" units="ms">Timestamp in ms from system boot.</field>
+      <field type="uint32_t" name="seq">Sequence number for this package.</field>
+      <field type="uint32_t" name="dev_sn">Device SN number.</field>
+      <field type="uint8_t" name="dev_type">0 for flight controller. 1 for elec-stake</field>
+      <field type="uint8_t" name="retry_cnt">Retry send this message count.</field>
+      <field type="uint8_t" name="fix_type">0 no fix, 1 single, 2 RTK</field>
+      <field type="uint8_t" name="reserve"></field>
+      <field type="int32_t" name="longitude" units="degE7">wgs84 longitude</field>
+      <field type="int32_t" name="latitude" units="degE7">wgs84 latitude</field>
+      <field type="float" name="amsl" units="m">altitude amsl</field>
+      <field type="float" name="alt_relative" units="m">altitude above takeoff</field>
+      <field type="int16_t" name="ve" units="cm/s"></field>
+      <field type="int16_t" name="vn" units="cm/s"></field>
+      <field type="int16_t" name="vu" units="cm/s"></field>
+      <field type="int16_t" name="yaw" units="cdeg"></field>
+      <field type="int16_t" name="pitch" units="cdeg"></field>
+      <field type="int16_t" name="roll" units="cdeg"></field>
+      <field type="int16_t" name="yaw_rate" units="cdeg/s"></field>
+      <field type="uint8_t" name="flight_mode"></field>
+    </message>
+
+    <message id="53026" name="VKFLY_EDU_STATUS_ACK">
+      <description>EDU status ack</description>
+      <field type="uint64_t" name="unix_timestamp" units="ms">Unix timestamp in ms, from 1 Jan 1970.</field>
+      <field type="uint32_t" name="seq">Sequence number in the received VKFLY_EDU_STATUS.</field>
+    </message>
+
     <message id="53100" name="VK_FW_UPDATE_BEGIN">
       <description>VKFLY autopilot update firmware begin. This message send from GCS to autopilot. </description>
       <field type="uint8_t" name="target_system">Target system id.</field>
@@ -1167,6 +1197,7 @@
       <field type="uint16_t" name="total_runtime" units="dh"></field>
     </message>
 
+
   </messages>
 
 </mavlink>

文件差异内容过多而无法显示
+ 1 - 1
v2.0/VKFly/VKFly.h


+ 1 - 1
v2.0/VKFly/mavlink.h

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH 5049917770166127275
+#define MAVLINK_PRIMARY_XML_HASH 5143006658088487580
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 792 - 0
v2.0/VKFly/mavlink_msg_vkfly_edu_status.h

@@ -0,0 +1,792 @@
+#pragma once
+// MESSAGE VKFLY_EDU_STATUS PACKING
+
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS 53025
+
+
+typedef struct __mavlink_vkfly_edu_status_t {
+ uint64_t unix_timestamp; /*< [ms] Unix timestamp in ms, from 1 Jan 1970.*/
+ uint32_t boot_timestamp; /*< [ms] Timestamp in ms from system boot.*/
+ uint32_t seq; /*<  Sequence number for this package.*/
+ uint32_t dev_sn; /*<  Device SN number.*/
+ int32_t longitude; /*< [degE7] wgs84 longitude*/
+ int32_t latitude; /*< [degE7] wgs84 latitude*/
+ float amsl; /*< [m] altitude amsl*/
+ float alt_relative; /*< [m] altitude above takeoff*/
+ int16_t ve; /*< [cm/s] */
+ int16_t vn; /*< [cm/s] */
+ int16_t vu; /*< [cm/s] */
+ int16_t yaw; /*< [cdeg] */
+ int16_t pitch; /*< [cdeg] */
+ int16_t roll; /*< [cdeg] */
+ int16_t yaw_rate; /*< [cdeg/s] */
+ uint8_t dev_type; /*<  0 for flight controller. 1 for elec-stake*/
+ uint8_t retry_cnt; /*<  Retry send this message count.*/
+ uint8_t fix_type; /*<  0 no fix, 1 single, 2 RTK*/
+ uint8_t reserve; /*<  */
+ uint8_t flight_mode; /*<  */
+} mavlink_vkfly_edu_status_t;
+
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN 55
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN 55
+#define MAVLINK_MSG_ID_53025_LEN 55
+#define MAVLINK_MSG_ID_53025_MIN_LEN 55
+
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_CRC 24
+#define MAVLINK_MSG_ID_53025_CRC 24
+
+
+
+#if MAVLINK_COMMAND_24BIT
+#define MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS { \
+    53025, \
+    "VKFLY_EDU_STATUS", \
+    20, \
+    {  { "unix_timestamp", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_vkfly_edu_status_t, unix_timestamp) }, \
+         { "boot_timestamp", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_vkfly_edu_status_t, boot_timestamp) }, \
+         { "seq", NULL, MAVLINK_TYPE_UINT32_T, 0, 12, offsetof(mavlink_vkfly_edu_status_t, seq) }, \
+         { "dev_sn", NULL, MAVLINK_TYPE_UINT32_T, 0, 16, offsetof(mavlink_vkfly_edu_status_t, dev_sn) }, \
+         { "dev_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 50, offsetof(mavlink_vkfly_edu_status_t, dev_type) }, \
+         { "retry_cnt", NULL, MAVLINK_TYPE_UINT8_T, 0, 51, offsetof(mavlink_vkfly_edu_status_t, retry_cnt) }, \
+         { "fix_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 52, offsetof(mavlink_vkfly_edu_status_t, fix_type) }, \
+         { "reserve", NULL, MAVLINK_TYPE_UINT8_T, 0, 53, offsetof(mavlink_vkfly_edu_status_t, reserve) }, \
+         { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 20, offsetof(mavlink_vkfly_edu_status_t, longitude) }, \
+         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 24, offsetof(mavlink_vkfly_edu_status_t, latitude) }, \
+         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_vkfly_edu_status_t, amsl) }, \
+         { "alt_relative", NULL, MAVLINK_TYPE_FLOAT, 0, 32, offsetof(mavlink_vkfly_edu_status_t, alt_relative) }, \
+         { "ve", NULL, MAVLINK_TYPE_INT16_T, 0, 36, offsetof(mavlink_vkfly_edu_status_t, ve) }, \
+         { "vn", NULL, MAVLINK_TYPE_INT16_T, 0, 38, offsetof(mavlink_vkfly_edu_status_t, vn) }, \
+         { "vu", NULL, MAVLINK_TYPE_INT16_T, 0, 40, offsetof(mavlink_vkfly_edu_status_t, vu) }, \
+         { "yaw", NULL, MAVLINK_TYPE_INT16_T, 0, 42, offsetof(mavlink_vkfly_edu_status_t, yaw) }, \
+         { "pitch", NULL, MAVLINK_TYPE_INT16_T, 0, 44, offsetof(mavlink_vkfly_edu_status_t, pitch) }, \
+         { "roll", NULL, MAVLINK_TYPE_INT16_T, 0, 46, offsetof(mavlink_vkfly_edu_status_t, roll) }, \
+         { "yaw_rate", NULL, MAVLINK_TYPE_INT16_T, 0, 48, offsetof(mavlink_vkfly_edu_status_t, yaw_rate) }, \
+         { "flight_mode", NULL, MAVLINK_TYPE_UINT8_T, 0, 54, offsetof(mavlink_vkfly_edu_status_t, flight_mode) }, \
+         } \
+}
+#else
+#define MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS { \
+    "VKFLY_EDU_STATUS", \
+    20, \
+    {  { "unix_timestamp", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_vkfly_edu_status_t, unix_timestamp) }, \
+         { "boot_timestamp", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_vkfly_edu_status_t, boot_timestamp) }, \
+         { "seq", NULL, MAVLINK_TYPE_UINT32_T, 0, 12, offsetof(mavlink_vkfly_edu_status_t, seq) }, \
+         { "dev_sn", NULL, MAVLINK_TYPE_UINT32_T, 0, 16, offsetof(mavlink_vkfly_edu_status_t, dev_sn) }, \
+         { "dev_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 50, offsetof(mavlink_vkfly_edu_status_t, dev_type) }, \
+         { "retry_cnt", NULL, MAVLINK_TYPE_UINT8_T, 0, 51, offsetof(mavlink_vkfly_edu_status_t, retry_cnt) }, \
+         { "fix_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 52, offsetof(mavlink_vkfly_edu_status_t, fix_type) }, \
+         { "reserve", NULL, MAVLINK_TYPE_UINT8_T, 0, 53, offsetof(mavlink_vkfly_edu_status_t, reserve) }, \
+         { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 20, offsetof(mavlink_vkfly_edu_status_t, longitude) }, \
+         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 24, offsetof(mavlink_vkfly_edu_status_t, latitude) }, \
+         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_vkfly_edu_status_t, amsl) }, \
+         { "alt_relative", NULL, MAVLINK_TYPE_FLOAT, 0, 32, offsetof(mavlink_vkfly_edu_status_t, alt_relative) }, \
+         { "ve", NULL, MAVLINK_TYPE_INT16_T, 0, 36, offsetof(mavlink_vkfly_edu_status_t, ve) }, \
+         { "vn", NULL, MAVLINK_TYPE_INT16_T, 0, 38, offsetof(mavlink_vkfly_edu_status_t, vn) }, \
+         { "vu", NULL, MAVLINK_TYPE_INT16_T, 0, 40, offsetof(mavlink_vkfly_edu_status_t, vu) }, \
+         { "yaw", NULL, MAVLINK_TYPE_INT16_T, 0, 42, offsetof(mavlink_vkfly_edu_status_t, yaw) }, \
+         { "pitch", NULL, MAVLINK_TYPE_INT16_T, 0, 44, offsetof(mavlink_vkfly_edu_status_t, pitch) }, \
+         { "roll", NULL, MAVLINK_TYPE_INT16_T, 0, 46, offsetof(mavlink_vkfly_edu_status_t, roll) }, \
+         { "yaw_rate", NULL, MAVLINK_TYPE_INT16_T, 0, 48, offsetof(mavlink_vkfly_edu_status_t, yaw_rate) }, \
+         { "flight_mode", NULL, MAVLINK_TYPE_UINT8_T, 0, 54, offsetof(mavlink_vkfly_edu_status_t, flight_mode) }, \
+         } \
+}
+#endif
+
+/**
+ * @brief Pack a vkfly_edu_status message
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param msg The MAVLink message to compress the data into
+ *
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param boot_timestamp [ms] Timestamp in ms from system boot.
+ * @param seq  Sequence number for this package.
+ * @param dev_sn  Device SN number.
+ * @param dev_type  0 for flight controller. 1 for elec-stake
+ * @param retry_cnt  Retry send this message count.
+ * @param fix_type  0 no fix, 1 single, 2 RTK
+ * @param reserve  
+ * @param longitude [degE7] wgs84 longitude
+ * @param latitude [degE7] wgs84 latitude
+ * @param amsl [m] altitude amsl
+ * @param alt_relative [m] altitude above takeoff
+ * @param ve [cm/s] 
+ * @param vn [cm/s] 
+ * @param vu [cm/s] 
+ * @param yaw [cdeg] 
+ * @param pitch [cdeg] 
+ * @param roll [cdeg] 
+ * @param yaw_rate [cdeg/s] 
+ * @param flight_mode  
+ * @return length of the message in bytes (excluding serial stream start sign)
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
+                               uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN);
+#else
+    mavlink_vkfly_edu_status_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.boot_timestamp = boot_timestamp;
+    packet.seq = seq;
+    packet.dev_sn = dev_sn;
+    packet.longitude = longitude;
+    packet.latitude = latitude;
+    packet.amsl = amsl;
+    packet.alt_relative = alt_relative;
+    packet.ve = ve;
+    packet.vn = vn;
+    packet.vu = vu;
+    packet.yaw = yaw;
+    packet.pitch = pitch;
+    packet.roll = roll;
+    packet.yaw_rate = yaw_rate;
+    packet.dev_type = dev_type;
+    packet.retry_cnt = retry_cnt;
+    packet.fix_type = fix_type;
+    packet.reserve = reserve;
+    packet.flight_mode = flight_mode;
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN);
+#endif
+
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS;
+    return mavlink_finalize_message(msg, system_id, component_id, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_CRC);
+}
+
+/**
+ * @brief Pack a vkfly_edu_status message
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param status MAVLink status structure
+ * @param msg The MAVLink message to compress the data into
+ *
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param boot_timestamp [ms] Timestamp in ms from system boot.
+ * @param seq  Sequence number for this package.
+ * @param dev_sn  Device SN number.
+ * @param dev_type  0 for flight controller. 1 for elec-stake
+ * @param retry_cnt  Retry send this message count.
+ * @param fix_type  0 no fix, 1 single, 2 RTK
+ * @param reserve  
+ * @param longitude [degE7] wgs84 longitude
+ * @param latitude [degE7] wgs84 latitude
+ * @param amsl [m] altitude amsl
+ * @param alt_relative [m] altitude above takeoff
+ * @param ve [cm/s] 
+ * @param vn [cm/s] 
+ * @param vu [cm/s] 
+ * @param yaw [cdeg] 
+ * @param pitch [cdeg] 
+ * @param roll [cdeg] 
+ * @param yaw_rate [cdeg/s] 
+ * @param flight_mode  
+ * @return length of the message in bytes (excluding serial stream start sign)
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t *_status, mavlink_message_t* msg,
+                               uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN);
+#else
+    mavlink_vkfly_edu_status_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.boot_timestamp = boot_timestamp;
+    packet.seq = seq;
+    packet.dev_sn = dev_sn;
+    packet.longitude = longitude;
+    packet.latitude = latitude;
+    packet.amsl = amsl;
+    packet.alt_relative = alt_relative;
+    packet.ve = ve;
+    packet.vn = vn;
+    packet.vu = vu;
+    packet.yaw = yaw;
+    packet.pitch = pitch;
+    packet.roll = roll;
+    packet.yaw_rate = yaw_rate;
+    packet.dev_type = dev_type;
+    packet.retry_cnt = retry_cnt;
+    packet.fix_type = fix_type;
+    packet.reserve = reserve;
+    packet.flight_mode = flight_mode;
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN);
+#endif
+
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS;
+#if MAVLINK_CRC_EXTRA
+    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_CRC);
+#else
+    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN);
+#endif
+}
+
+/**
+ * @brief Pack a vkfly_edu_status message on a channel
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param chan The MAVLink channel this message will be sent over
+ * @param msg The MAVLink message to compress the data into
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param boot_timestamp [ms] Timestamp in ms from system boot.
+ * @param seq  Sequence number for this package.
+ * @param dev_sn  Device SN number.
+ * @param dev_type  0 for flight controller. 1 for elec-stake
+ * @param retry_cnt  Retry send this message count.
+ * @param fix_type  0 no fix, 1 single, 2 RTK
+ * @param reserve  
+ * @param longitude [degE7] wgs84 longitude
+ * @param latitude [degE7] wgs84 latitude
+ * @param amsl [m] altitude amsl
+ * @param alt_relative [m] altitude above takeoff
+ * @param ve [cm/s] 
+ * @param vn [cm/s] 
+ * @param vu [cm/s] 
+ * @param yaw [cdeg] 
+ * @param pitch [cdeg] 
+ * @param roll [cdeg] 
+ * @param yaw_rate [cdeg/s] 
+ * @param flight_mode  
+ * @return length of the message in bytes (excluding serial stream start sign)
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
+                               mavlink_message_t* msg,
+                                   uint64_t unix_timestamp,uint32_t boot_timestamp,uint32_t seq,uint32_t dev_sn,uint8_t dev_type,uint8_t retry_cnt,uint8_t fix_type,uint8_t reserve,int32_t longitude,int32_t latitude,float amsl,float alt_relative,int16_t ve,int16_t vn,int16_t vu,int16_t yaw,int16_t pitch,int16_t roll,int16_t yaw_rate,uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN);
+#else
+    mavlink_vkfly_edu_status_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.boot_timestamp = boot_timestamp;
+    packet.seq = seq;
+    packet.dev_sn = dev_sn;
+    packet.longitude = longitude;
+    packet.latitude = latitude;
+    packet.amsl = amsl;
+    packet.alt_relative = alt_relative;
+    packet.ve = ve;
+    packet.vn = vn;
+    packet.vu = vu;
+    packet.yaw = yaw;
+    packet.pitch = pitch;
+    packet.roll = roll;
+    packet.yaw_rate = yaw_rate;
+    packet.dev_type = dev_type;
+    packet.retry_cnt = retry_cnt;
+    packet.fix_type = fix_type;
+    packet.reserve = reserve;
+    packet.flight_mode = flight_mode;
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN);
+#endif
+
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS;
+    return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_CRC);
+}
+
+/**
+ * @brief Encode a vkfly_edu_status struct
+ *
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param msg The MAVLink message to compress the data into
+ * @param vkfly_edu_status C-struct to read the message contents from
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, const mavlink_vkfly_edu_status_t* vkfly_edu_status)
+{
+    return mavlink_msg_vkfly_edu_status_pack(system_id, component_id, msg, vkfly_edu_status->unix_timestamp, vkfly_edu_status->boot_timestamp, vkfly_edu_status->seq, vkfly_edu_status->dev_sn, vkfly_edu_status->dev_type, vkfly_edu_status->retry_cnt, vkfly_edu_status->fix_type, vkfly_edu_status->reserve, vkfly_edu_status->longitude, vkfly_edu_status->latitude, vkfly_edu_status->amsl, vkfly_edu_status->alt_relative, vkfly_edu_status->ve, vkfly_edu_status->vn, vkfly_edu_status->vu, vkfly_edu_status->yaw, vkfly_edu_status->pitch, vkfly_edu_status->roll, vkfly_edu_status->yaw_rate, vkfly_edu_status->flight_mode);
+}
+
+/**
+ * @brief Encode a vkfly_edu_status struct on a channel
+ *
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param chan The MAVLink channel this message will be sent over
+ * @param msg The MAVLink message to compress the data into
+ * @param vkfly_edu_status C-struct to read the message contents from
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg, const mavlink_vkfly_edu_status_t* vkfly_edu_status)
+{
+    return mavlink_msg_vkfly_edu_status_pack_chan(system_id, component_id, chan, msg, vkfly_edu_status->unix_timestamp, vkfly_edu_status->boot_timestamp, vkfly_edu_status->seq, vkfly_edu_status->dev_sn, vkfly_edu_status->dev_type, vkfly_edu_status->retry_cnt, vkfly_edu_status->fix_type, vkfly_edu_status->reserve, vkfly_edu_status->longitude, vkfly_edu_status->latitude, vkfly_edu_status->amsl, vkfly_edu_status->alt_relative, vkfly_edu_status->ve, vkfly_edu_status->vn, vkfly_edu_status->vu, vkfly_edu_status->yaw, vkfly_edu_status->pitch, vkfly_edu_status->roll, vkfly_edu_status->yaw_rate, vkfly_edu_status->flight_mode);
+}
+
+/**
+ * @brief Encode a vkfly_edu_status struct with provided status structure
+ *
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param status MAVLink status structure
+ * @param msg The MAVLink message to compress the data into
+ * @param vkfly_edu_status C-struct to read the message contents from
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_vkfly_edu_status_t* vkfly_edu_status)
+{
+    return mavlink_msg_vkfly_edu_status_pack_status(system_id, component_id, _status, msg,  vkfly_edu_status->unix_timestamp, vkfly_edu_status->boot_timestamp, vkfly_edu_status->seq, vkfly_edu_status->dev_sn, vkfly_edu_status->dev_type, vkfly_edu_status->retry_cnt, vkfly_edu_status->fix_type, vkfly_edu_status->reserve, vkfly_edu_status->longitude, vkfly_edu_status->latitude, vkfly_edu_status->amsl, vkfly_edu_status->alt_relative, vkfly_edu_status->ve, vkfly_edu_status->vn, vkfly_edu_status->vu, vkfly_edu_status->yaw, vkfly_edu_status->pitch, vkfly_edu_status->roll, vkfly_edu_status->yaw_rate, vkfly_edu_status->flight_mode);
+}
+
+/**
+ * @brief Send a vkfly_edu_status message
+ * @param chan MAVLink channel to send the message
+ *
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param boot_timestamp [ms] Timestamp in ms from system boot.
+ * @param seq  Sequence number for this package.
+ * @param dev_sn  Device SN number.
+ * @param dev_type  0 for flight controller. 1 for elec-stake
+ * @param retry_cnt  Retry send this message count.
+ * @param fix_type  0 no fix, 1 single, 2 RTK
+ * @param reserve  
+ * @param longitude [degE7] wgs84 longitude
+ * @param latitude [degE7] wgs84 latitude
+ * @param amsl [m] altitude amsl
+ * @param alt_relative [m] altitude above takeoff
+ * @param ve [cm/s] 
+ * @param vn [cm/s] 
+ * @param vu [cm/s] 
+ * @param yaw [cdeg] 
+ * @param pitch [cdeg] 
+ * @param roll [cdeg] 
+ * @param yaw_rate [cdeg/s] 
+ * @param flight_mode  
+ */
+#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
+
+static inline void mavlink_msg_vkfly_edu_status_send(mavlink_channel_t chan, uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS, buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_CRC);
+#else
+    mavlink_vkfly_edu_status_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.boot_timestamp = boot_timestamp;
+    packet.seq = seq;
+    packet.dev_sn = dev_sn;
+    packet.longitude = longitude;
+    packet.latitude = latitude;
+    packet.amsl = amsl;
+    packet.alt_relative = alt_relative;
+    packet.ve = ve;
+    packet.vn = vn;
+    packet.vu = vu;
+    packet.yaw = yaw;
+    packet.pitch = pitch;
+    packet.roll = roll;
+    packet.yaw_rate = yaw_rate;
+    packet.dev_type = dev_type;
+    packet.retry_cnt = retry_cnt;
+    packet.fix_type = fix_type;
+    packet.reserve = reserve;
+    packet.flight_mode = flight_mode;
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS, (const char *)&packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_CRC);
+#endif
+}
+
+/**
+ * @brief Send a vkfly_edu_status message
+ * @param chan MAVLink channel to send the message
+ * @param struct The MAVLink struct to serialize
+ */
+static inline void mavlink_msg_vkfly_edu_status_send_struct(mavlink_channel_t chan, const mavlink_vkfly_edu_status_t* vkfly_edu_status)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    mavlink_msg_vkfly_edu_status_send(chan, vkfly_edu_status->unix_timestamp, vkfly_edu_status->boot_timestamp, vkfly_edu_status->seq, vkfly_edu_status->dev_sn, vkfly_edu_status->dev_type, vkfly_edu_status->retry_cnt, vkfly_edu_status->fix_type, vkfly_edu_status->reserve, vkfly_edu_status->longitude, vkfly_edu_status->latitude, vkfly_edu_status->amsl, vkfly_edu_status->alt_relative, vkfly_edu_status->ve, vkfly_edu_status->vn, vkfly_edu_status->vu, vkfly_edu_status->yaw, vkfly_edu_status->pitch, vkfly_edu_status->roll, vkfly_edu_status->yaw_rate, vkfly_edu_status->flight_mode);
+#else
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS, (const char *)vkfly_edu_status, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_CRC);
+#endif
+}
+
+#if MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN <= MAVLINK_MAX_PAYLOAD_LEN
+/*
+  This variant of _send() can be used to save stack space by re-using
+  memory from the receive buffer.  The caller provides a
+  mavlink_message_t which is the size of a full mavlink message. This
+  is usually the receive buffer for the channel, and allows a reply to an
+  incoming message with minimum stack space usage.
+ */
+static inline void mavlink_msg_vkfly_edu_status_send_buf(mavlink_message_t *msgbuf, mavlink_channel_t chan,  uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char *buf = (char *)msgbuf;
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS, buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_CRC);
+#else
+    mavlink_vkfly_edu_status_t *packet = (mavlink_vkfly_edu_status_t *)msgbuf;
+    packet->unix_timestamp = unix_timestamp;
+    packet->boot_timestamp = boot_timestamp;
+    packet->seq = seq;
+    packet->dev_sn = dev_sn;
+    packet->longitude = longitude;
+    packet->latitude = latitude;
+    packet->amsl = amsl;
+    packet->alt_relative = alt_relative;
+    packet->ve = ve;
+    packet->vn = vn;
+    packet->vu = vu;
+    packet->yaw = yaw;
+    packet->pitch = pitch;
+    packet->roll = roll;
+    packet->yaw_rate = yaw_rate;
+    packet->dev_type = dev_type;
+    packet->retry_cnt = retry_cnt;
+    packet->fix_type = fix_type;
+    packet->reserve = reserve;
+    packet->flight_mode = flight_mode;
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS, (const char *)packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_CRC);
+#endif
+}
+#endif
+
+#endif
+
+// MESSAGE VKFLY_EDU_STATUS UNPACKING
+
+
+/**
+ * @brief Get field unix_timestamp from vkfly_edu_status message
+ *
+ * @return [ms] Unix timestamp in ms, from 1 Jan 1970.
+ */
+static inline uint64_t mavlink_msg_vkfly_edu_status_get_unix_timestamp(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint64_t(msg,  0);
+}
+
+/**
+ * @brief Get field boot_timestamp from vkfly_edu_status message
+ *
+ * @return [ms] Timestamp in ms from system boot.
+ */
+static inline uint32_t mavlink_msg_vkfly_edu_status_get_boot_timestamp(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint32_t(msg,  8);
+}
+
+/**
+ * @brief Get field seq from vkfly_edu_status message
+ *
+ * @return  Sequence number for this package.
+ */
+static inline uint32_t mavlink_msg_vkfly_edu_status_get_seq(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint32_t(msg,  12);
+}
+
+/**
+ * @brief Get field dev_sn from vkfly_edu_status message
+ *
+ * @return  Device SN number.
+ */
+static inline uint32_t mavlink_msg_vkfly_edu_status_get_dev_sn(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint32_t(msg,  16);
+}
+
+/**
+ * @brief Get field dev_type from vkfly_edu_status message
+ *
+ * @return  0 for flight controller. 1 for elec-stake
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_get_dev_type(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  50);
+}
+
+/**
+ * @brief Get field retry_cnt from vkfly_edu_status message
+ *
+ * @return  Retry send this message count.
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_get_retry_cnt(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  51);
+}
+
+/**
+ * @brief Get field fix_type from vkfly_edu_status message
+ *
+ * @return  0 no fix, 1 single, 2 RTK
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_get_fix_type(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  52);
+}
+
+/**
+ * @brief Get field reserve from vkfly_edu_status message
+ *
+ * @return  
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_get_reserve(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  53);
+}
+
+/**
+ * @brief Get field longitude from vkfly_edu_status message
+ *
+ * @return [degE7] wgs84 longitude
+ */
+static inline int32_t mavlink_msg_vkfly_edu_status_get_longitude(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int32_t(msg,  20);
+}
+
+/**
+ * @brief Get field latitude from vkfly_edu_status message
+ *
+ * @return [degE7] wgs84 latitude
+ */
+static inline int32_t mavlink_msg_vkfly_edu_status_get_latitude(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int32_t(msg,  24);
+}
+
+/**
+ * @brief Get field amsl from vkfly_edu_status message
+ *
+ * @return [m] altitude amsl
+ */
+static inline float mavlink_msg_vkfly_edu_status_get_amsl(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_float(msg,  28);
+}
+
+/**
+ * @brief Get field alt_relative from vkfly_edu_status message
+ *
+ * @return [m] altitude above takeoff
+ */
+static inline float mavlink_msg_vkfly_edu_status_get_alt_relative(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_float(msg,  32);
+}
+
+/**
+ * @brief Get field ve from vkfly_edu_status message
+ *
+ * @return [cm/s] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_get_ve(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  36);
+}
+
+/**
+ * @brief Get field vn from vkfly_edu_status message
+ *
+ * @return [cm/s] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_get_vn(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  38);
+}
+
+/**
+ * @brief Get field vu from vkfly_edu_status message
+ *
+ * @return [cm/s] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_get_vu(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  40);
+}
+
+/**
+ * @brief Get field yaw from vkfly_edu_status message
+ *
+ * @return [cdeg] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_get_yaw(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  42);
+}
+
+/**
+ * @brief Get field pitch from vkfly_edu_status message
+ *
+ * @return [cdeg] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_get_pitch(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  44);
+}
+
+/**
+ * @brief Get field roll from vkfly_edu_status message
+ *
+ * @return [cdeg] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_get_roll(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  46);
+}
+
+/**
+ * @brief Get field yaw_rate from vkfly_edu_status message
+ *
+ * @return [cdeg/s] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_get_yaw_rate(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  48);
+}
+
+/**
+ * @brief Get field flight_mode from vkfly_edu_status message
+ *
+ * @return  
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_get_flight_mode(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  54);
+}
+
+/**
+ * @brief Decode a vkfly_edu_status message into a struct
+ *
+ * @param msg The message to decode
+ * @param vkfly_edu_status C-struct to decode the message contents into
+ */
+static inline void mavlink_msg_vkfly_edu_status_decode(const mavlink_message_t* msg, mavlink_vkfly_edu_status_t* vkfly_edu_status)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    vkfly_edu_status->unix_timestamp = mavlink_msg_vkfly_edu_status_get_unix_timestamp(msg);
+    vkfly_edu_status->boot_timestamp = mavlink_msg_vkfly_edu_status_get_boot_timestamp(msg);
+    vkfly_edu_status->seq = mavlink_msg_vkfly_edu_status_get_seq(msg);
+    vkfly_edu_status->dev_sn = mavlink_msg_vkfly_edu_status_get_dev_sn(msg);
+    vkfly_edu_status->longitude = mavlink_msg_vkfly_edu_status_get_longitude(msg);
+    vkfly_edu_status->latitude = mavlink_msg_vkfly_edu_status_get_latitude(msg);
+    vkfly_edu_status->amsl = mavlink_msg_vkfly_edu_status_get_amsl(msg);
+    vkfly_edu_status->alt_relative = mavlink_msg_vkfly_edu_status_get_alt_relative(msg);
+    vkfly_edu_status->ve = mavlink_msg_vkfly_edu_status_get_ve(msg);
+    vkfly_edu_status->vn = mavlink_msg_vkfly_edu_status_get_vn(msg);
+    vkfly_edu_status->vu = mavlink_msg_vkfly_edu_status_get_vu(msg);
+    vkfly_edu_status->yaw = mavlink_msg_vkfly_edu_status_get_yaw(msg);
+    vkfly_edu_status->pitch = mavlink_msg_vkfly_edu_status_get_pitch(msg);
+    vkfly_edu_status->roll = mavlink_msg_vkfly_edu_status_get_roll(msg);
+    vkfly_edu_status->yaw_rate = mavlink_msg_vkfly_edu_status_get_yaw_rate(msg);
+    vkfly_edu_status->dev_type = mavlink_msg_vkfly_edu_status_get_dev_type(msg);
+    vkfly_edu_status->retry_cnt = mavlink_msg_vkfly_edu_status_get_retry_cnt(msg);
+    vkfly_edu_status->fix_type = mavlink_msg_vkfly_edu_status_get_fix_type(msg);
+    vkfly_edu_status->reserve = mavlink_msg_vkfly_edu_status_get_reserve(msg);
+    vkfly_edu_status->flight_mode = mavlink_msg_vkfly_edu_status_get_flight_mode(msg);
+#else
+        uint8_t len = msg->len < MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN? msg->len : MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN;
+        memset(vkfly_edu_status, 0, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_LEN);
+    memcpy(vkfly_edu_status, _MAV_PAYLOAD(msg), len);
+#endif
+}

+ 288 - 0
v2.0/VKFly/mavlink_msg_vkfly_edu_status_ack.h

@@ -0,0 +1,288 @@
+#pragma once
+// MESSAGE VKFLY_EDU_STATUS_ACK PACKING
+
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK 53026
+
+
+typedef struct __mavlink_vkfly_edu_status_ack_t {
+ uint64_t unix_timestamp; /*< [ms] Unix timestamp in ms, from 1 Jan 1970.*/
+ uint32_t seq; /*<  Sequence number in the received VKFLY_EDU_STATUS.*/
+} mavlink_vkfly_edu_status_ack_t;
+
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN 12
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN 12
+#define MAVLINK_MSG_ID_53026_LEN 12
+#define MAVLINK_MSG_ID_53026_MIN_LEN 12
+
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_CRC 148
+#define MAVLINK_MSG_ID_53026_CRC 148
+
+
+
+#if MAVLINK_COMMAND_24BIT
+#define MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS_ACK { \
+    53026, \
+    "VKFLY_EDU_STATUS_ACK", \
+    2, \
+    {  { "unix_timestamp", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_vkfly_edu_status_ack_t, unix_timestamp) }, \
+         { "seq", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_vkfly_edu_status_ack_t, seq) }, \
+         } \
+}
+#else
+#define MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS_ACK { \
+    "VKFLY_EDU_STATUS_ACK", \
+    2, \
+    {  { "unix_timestamp", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_vkfly_edu_status_ack_t, unix_timestamp) }, \
+         { "seq", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_vkfly_edu_status_ack_t, seq) }, \
+         } \
+}
+#endif
+
+/**
+ * @brief Pack a vkfly_edu_status_ack message
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param msg The MAVLink message to compress the data into
+ *
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param seq  Sequence number in the received VKFLY_EDU_STATUS.
+ * @return length of the message in bytes (excluding serial stream start sign)
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_ack_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
+                               uint64_t unix_timestamp, uint32_t seq)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, seq);
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN);
+#else
+    mavlink_vkfly_edu_status_ack_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.seq = seq;
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN);
+#endif
+
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK;
+    return mavlink_finalize_message(msg, system_id, component_id, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_CRC);
+}
+
+/**
+ * @brief Pack a vkfly_edu_status_ack message
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param status MAVLink status structure
+ * @param msg The MAVLink message to compress the data into
+ *
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param seq  Sequence number in the received VKFLY_EDU_STATUS.
+ * @return length of the message in bytes (excluding serial stream start sign)
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_ack_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t *_status, mavlink_message_t* msg,
+                               uint64_t unix_timestamp, uint32_t seq)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, seq);
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN);
+#else
+    mavlink_vkfly_edu_status_ack_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.seq = seq;
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN);
+#endif
+
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK;
+#if MAVLINK_CRC_EXTRA
+    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_CRC);
+#else
+    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN);
+#endif
+}
+
+/**
+ * @brief Pack a vkfly_edu_status_ack message on a channel
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param chan The MAVLink channel this message will be sent over
+ * @param msg The MAVLink message to compress the data into
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param seq  Sequence number in the received VKFLY_EDU_STATUS.
+ * @return length of the message in bytes (excluding serial stream start sign)
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_ack_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
+                               mavlink_message_t* msg,
+                                   uint64_t unix_timestamp,uint32_t seq)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, seq);
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN);
+#else
+    mavlink_vkfly_edu_status_ack_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.seq = seq;
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN);
+#endif
+
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK;
+    return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_CRC);
+}
+
+/**
+ * @brief Encode a vkfly_edu_status_ack struct
+ *
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param msg The MAVLink message to compress the data into
+ * @param vkfly_edu_status_ack C-struct to read the message contents from
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_ack_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, const mavlink_vkfly_edu_status_ack_t* vkfly_edu_status_ack)
+{
+    return mavlink_msg_vkfly_edu_status_ack_pack(system_id, component_id, msg, vkfly_edu_status_ack->unix_timestamp, vkfly_edu_status_ack->seq);
+}
+
+/**
+ * @brief Encode a vkfly_edu_status_ack struct on a channel
+ *
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param chan The MAVLink channel this message will be sent over
+ * @param msg The MAVLink message to compress the data into
+ * @param vkfly_edu_status_ack C-struct to read the message contents from
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_ack_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg, const mavlink_vkfly_edu_status_ack_t* vkfly_edu_status_ack)
+{
+    return mavlink_msg_vkfly_edu_status_ack_pack_chan(system_id, component_id, chan, msg, vkfly_edu_status_ack->unix_timestamp, vkfly_edu_status_ack->seq);
+}
+
+/**
+ * @brief Encode a vkfly_edu_status_ack struct with provided status structure
+ *
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param status MAVLink status structure
+ * @param msg The MAVLink message to compress the data into
+ * @param vkfly_edu_status_ack C-struct to read the message contents from
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_ack_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_vkfly_edu_status_ack_t* vkfly_edu_status_ack)
+{
+    return mavlink_msg_vkfly_edu_status_ack_pack_status(system_id, component_id, _status, msg,  vkfly_edu_status_ack->unix_timestamp, vkfly_edu_status_ack->seq);
+}
+
+/**
+ * @brief Send a vkfly_edu_status_ack message
+ * @param chan MAVLink channel to send the message
+ *
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param seq  Sequence number in the received VKFLY_EDU_STATUS.
+ */
+#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
+
+static inline void mavlink_msg_vkfly_edu_status_ack_send(mavlink_channel_t chan, uint64_t unix_timestamp, uint32_t seq)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, seq);
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK, buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_CRC);
+#else
+    mavlink_vkfly_edu_status_ack_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.seq = seq;
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK, (const char *)&packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_CRC);
+#endif
+}
+
+/**
+ * @brief Send a vkfly_edu_status_ack message
+ * @param chan MAVLink channel to send the message
+ * @param struct The MAVLink struct to serialize
+ */
+static inline void mavlink_msg_vkfly_edu_status_ack_send_struct(mavlink_channel_t chan, const mavlink_vkfly_edu_status_ack_t* vkfly_edu_status_ack)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    mavlink_msg_vkfly_edu_status_ack_send(chan, vkfly_edu_status_ack->unix_timestamp, vkfly_edu_status_ack->seq);
+#else
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK, (const char *)vkfly_edu_status_ack, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_CRC);
+#endif
+}
+
+#if MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN <= MAVLINK_MAX_PAYLOAD_LEN
+/*
+  This variant of _send() can be used to save stack space by re-using
+  memory from the receive buffer.  The caller provides a
+  mavlink_message_t which is the size of a full mavlink message. This
+  is usually the receive buffer for the channel, and allows a reply to an
+  incoming message with minimum stack space usage.
+ */
+static inline void mavlink_msg_vkfly_edu_status_ack_send_buf(mavlink_message_t *msgbuf, mavlink_channel_t chan,  uint64_t unix_timestamp, uint32_t seq)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char *buf = (char *)msgbuf;
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, seq);
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK, buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_CRC);
+#else
+    mavlink_vkfly_edu_status_ack_t *packet = (mavlink_vkfly_edu_status_ack_t *)msgbuf;
+    packet->unix_timestamp = unix_timestamp;
+    packet->seq = seq;
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK, (const char *)packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_CRC);
+#endif
+}
+#endif
+
+#endif
+
+// MESSAGE VKFLY_EDU_STATUS_ACK UNPACKING
+
+
+/**
+ * @brief Get field unix_timestamp from vkfly_edu_status_ack message
+ *
+ * @return [ms] Unix timestamp in ms, from 1 Jan 1970.
+ */
+static inline uint64_t mavlink_msg_vkfly_edu_status_ack_get_unix_timestamp(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint64_t(msg,  0);
+}
+
+/**
+ * @brief Get field seq from vkfly_edu_status_ack message
+ *
+ * @return  Sequence number in the received VKFLY_EDU_STATUS.
+ */
+static inline uint32_t mavlink_msg_vkfly_edu_status_ack_get_seq(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint32_t(msg,  8);
+}
+
+/**
+ * @brief Decode a vkfly_edu_status_ack message into a struct
+ *
+ * @param msg The message to decode
+ * @param vkfly_edu_status_ack C-struct to decode the message contents into
+ */
+static inline void mavlink_msg_vkfly_edu_status_ack_decode(const mavlink_message_t* msg, mavlink_vkfly_edu_status_ack_t* vkfly_edu_status_ack)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    vkfly_edu_status_ack->unix_timestamp = mavlink_msg_vkfly_edu_status_ack_get_unix_timestamp(msg);
+    vkfly_edu_status_ack->seq = mavlink_msg_vkfly_edu_status_ack_get_seq(msg);
+#else
+        uint8_t len = msg->len < MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN? msg->len : MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN;
+        memset(vkfly_edu_status_ack, 0, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_LEN);
+    memcpy(vkfly_edu_status_ack, _MAV_PAYLOAD(msg), len);
+#endif
+}

+ 792 - 0
v2.0/VKFly/mavlink_msg_vkfly_edu_status_msg.h

@@ -0,0 +1,792 @@
+#pragma once
+// MESSAGE VKFLY_EDU_STATUS_MSG PACKING
+
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG 53025
+
+
+typedef struct __mavlink_vkfly_edu_status_msg_t {
+ uint64_t unix_timestamp; /*< [ms] Unix timestamp in ms, from 1 Jan 1970.*/
+ uint32_t boot_timestamp; /*< [ms] Timestamp in ms from system boot.*/
+ uint32_t seq; /*<  Sequence number for this package.*/
+ uint32_t dev_sn; /*<  Device SN number.*/
+ int32_t longitude; /*< [degE7] wgs84 longitude*/
+ int32_t latitude; /*< [degE7] wgs84 latitude*/
+ float amsl; /*< [m] altitude amsl*/
+ float alt_relative; /*< [m] altitude above takeoff*/
+ int16_t ve; /*< [cm/s] */
+ int16_t vn; /*< [cm/s] */
+ int16_t vu; /*< [cm/s] */
+ int16_t yaw; /*< [cdeg] */
+ int16_t pitch; /*< [cdeg] */
+ int16_t roll; /*< [cdeg] */
+ int16_t yaw_rate; /*< [cdeg/s] */
+ uint8_t dev_type; /*<  0 for flight controller. 1 for elec-stake*/
+ uint8_t retry_cnt; /*<  Retry send this message count.*/
+ uint8_t fix_type; /*<  0 no fix, 1 single, 2 RTK*/
+ uint8_t reserve; /*<  */
+ uint8_t flight_mode; /*<  */
+} mavlink_vkfly_edu_status_msg_t;
+
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN 55
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN 55
+#define MAVLINK_MSG_ID_53025_LEN 55
+#define MAVLINK_MSG_ID_53025_MIN_LEN 55
+
+#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC 175
+#define MAVLINK_MSG_ID_53025_CRC 175
+
+
+
+#if MAVLINK_COMMAND_24BIT
+#define MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS_MSG { \
+    53025, \
+    "VKFLY_EDU_STATUS_MSG", \
+    20, \
+    {  { "unix_timestamp", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_vkfly_edu_status_msg_t, unix_timestamp) }, \
+         { "boot_timestamp", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_vkfly_edu_status_msg_t, boot_timestamp) }, \
+         { "seq", NULL, MAVLINK_TYPE_UINT32_T, 0, 12, offsetof(mavlink_vkfly_edu_status_msg_t, seq) }, \
+         { "dev_sn", NULL, MAVLINK_TYPE_UINT32_T, 0, 16, offsetof(mavlink_vkfly_edu_status_msg_t, dev_sn) }, \
+         { "dev_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 50, offsetof(mavlink_vkfly_edu_status_msg_t, dev_type) }, \
+         { "retry_cnt", NULL, MAVLINK_TYPE_UINT8_T, 0, 51, offsetof(mavlink_vkfly_edu_status_msg_t, retry_cnt) }, \
+         { "fix_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 52, offsetof(mavlink_vkfly_edu_status_msg_t, fix_type) }, \
+         { "reserve", NULL, MAVLINK_TYPE_UINT8_T, 0, 53, offsetof(mavlink_vkfly_edu_status_msg_t, reserve) }, \
+         { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 20, offsetof(mavlink_vkfly_edu_status_msg_t, longitude) }, \
+         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 24, offsetof(mavlink_vkfly_edu_status_msg_t, latitude) }, \
+         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_vkfly_edu_status_msg_t, amsl) }, \
+         { "alt_relative", NULL, MAVLINK_TYPE_FLOAT, 0, 32, offsetof(mavlink_vkfly_edu_status_msg_t, alt_relative) }, \
+         { "ve", NULL, MAVLINK_TYPE_INT16_T, 0, 36, offsetof(mavlink_vkfly_edu_status_msg_t, ve) }, \
+         { "vn", NULL, MAVLINK_TYPE_INT16_T, 0, 38, offsetof(mavlink_vkfly_edu_status_msg_t, vn) }, \
+         { "vu", NULL, MAVLINK_TYPE_INT16_T, 0, 40, offsetof(mavlink_vkfly_edu_status_msg_t, vu) }, \
+         { "yaw", NULL, MAVLINK_TYPE_INT16_T, 0, 42, offsetof(mavlink_vkfly_edu_status_msg_t, yaw) }, \
+         { "pitch", NULL, MAVLINK_TYPE_INT16_T, 0, 44, offsetof(mavlink_vkfly_edu_status_msg_t, pitch) }, \
+         { "roll", NULL, MAVLINK_TYPE_INT16_T, 0, 46, offsetof(mavlink_vkfly_edu_status_msg_t, roll) }, \
+         { "yaw_rate", NULL, MAVLINK_TYPE_INT16_T, 0, 48, offsetof(mavlink_vkfly_edu_status_msg_t, yaw_rate) }, \
+         { "flight_mode", NULL, MAVLINK_TYPE_UINT8_T, 0, 54, offsetof(mavlink_vkfly_edu_status_msg_t, flight_mode) }, \
+         } \
+}
+#else
+#define MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS_MSG { \
+    "VKFLY_EDU_STATUS_MSG", \
+    20, \
+    {  { "unix_timestamp", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_vkfly_edu_status_msg_t, unix_timestamp) }, \
+         { "boot_timestamp", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_vkfly_edu_status_msg_t, boot_timestamp) }, \
+         { "seq", NULL, MAVLINK_TYPE_UINT32_T, 0, 12, offsetof(mavlink_vkfly_edu_status_msg_t, seq) }, \
+         { "dev_sn", NULL, MAVLINK_TYPE_UINT32_T, 0, 16, offsetof(mavlink_vkfly_edu_status_msg_t, dev_sn) }, \
+         { "dev_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 50, offsetof(mavlink_vkfly_edu_status_msg_t, dev_type) }, \
+         { "retry_cnt", NULL, MAVLINK_TYPE_UINT8_T, 0, 51, offsetof(mavlink_vkfly_edu_status_msg_t, retry_cnt) }, \
+         { "fix_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 52, offsetof(mavlink_vkfly_edu_status_msg_t, fix_type) }, \
+         { "reserve", NULL, MAVLINK_TYPE_UINT8_T, 0, 53, offsetof(mavlink_vkfly_edu_status_msg_t, reserve) }, \
+         { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 20, offsetof(mavlink_vkfly_edu_status_msg_t, longitude) }, \
+         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 24, offsetof(mavlink_vkfly_edu_status_msg_t, latitude) }, \
+         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_vkfly_edu_status_msg_t, amsl) }, \
+         { "alt_relative", NULL, MAVLINK_TYPE_FLOAT, 0, 32, offsetof(mavlink_vkfly_edu_status_msg_t, alt_relative) }, \
+         { "ve", NULL, MAVLINK_TYPE_INT16_T, 0, 36, offsetof(mavlink_vkfly_edu_status_msg_t, ve) }, \
+         { "vn", NULL, MAVLINK_TYPE_INT16_T, 0, 38, offsetof(mavlink_vkfly_edu_status_msg_t, vn) }, \
+         { "vu", NULL, MAVLINK_TYPE_INT16_T, 0, 40, offsetof(mavlink_vkfly_edu_status_msg_t, vu) }, \
+         { "yaw", NULL, MAVLINK_TYPE_INT16_T, 0, 42, offsetof(mavlink_vkfly_edu_status_msg_t, yaw) }, \
+         { "pitch", NULL, MAVLINK_TYPE_INT16_T, 0, 44, offsetof(mavlink_vkfly_edu_status_msg_t, pitch) }, \
+         { "roll", NULL, MAVLINK_TYPE_INT16_T, 0, 46, offsetof(mavlink_vkfly_edu_status_msg_t, roll) }, \
+         { "yaw_rate", NULL, MAVLINK_TYPE_INT16_T, 0, 48, offsetof(mavlink_vkfly_edu_status_msg_t, yaw_rate) }, \
+         { "flight_mode", NULL, MAVLINK_TYPE_UINT8_T, 0, 54, offsetof(mavlink_vkfly_edu_status_msg_t, flight_mode) }, \
+         } \
+}
+#endif
+
+/**
+ * @brief Pack a vkfly_edu_status_msg message
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param msg The MAVLink message to compress the data into
+ *
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param boot_timestamp [ms] Timestamp in ms from system boot.
+ * @param seq  Sequence number for this package.
+ * @param dev_sn  Device SN number.
+ * @param dev_type  0 for flight controller. 1 for elec-stake
+ * @param retry_cnt  Retry send this message count.
+ * @param fix_type  0 no fix, 1 single, 2 RTK
+ * @param reserve  
+ * @param longitude [degE7] wgs84 longitude
+ * @param latitude [degE7] wgs84 latitude
+ * @param amsl [m] altitude amsl
+ * @param alt_relative [m] altitude above takeoff
+ * @param ve [cm/s] 
+ * @param vn [cm/s] 
+ * @param vu [cm/s] 
+ * @param yaw [cdeg] 
+ * @param pitch [cdeg] 
+ * @param roll [cdeg] 
+ * @param yaw_rate [cdeg/s] 
+ * @param flight_mode  
+ * @return length of the message in bytes (excluding serial stream start sign)
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_msg_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
+                               uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
+#else
+    mavlink_vkfly_edu_status_msg_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.boot_timestamp = boot_timestamp;
+    packet.seq = seq;
+    packet.dev_sn = dev_sn;
+    packet.longitude = longitude;
+    packet.latitude = latitude;
+    packet.amsl = amsl;
+    packet.alt_relative = alt_relative;
+    packet.ve = ve;
+    packet.vn = vn;
+    packet.vu = vu;
+    packet.yaw = yaw;
+    packet.pitch = pitch;
+    packet.roll = roll;
+    packet.yaw_rate = yaw_rate;
+    packet.dev_type = dev_type;
+    packet.retry_cnt = retry_cnt;
+    packet.fix_type = fix_type;
+    packet.reserve = reserve;
+    packet.flight_mode = flight_mode;
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
+#endif
+
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG;
+    return mavlink_finalize_message(msg, system_id, component_id, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
+}
+
+/**
+ * @brief Pack a vkfly_edu_status_msg message
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param status MAVLink status structure
+ * @param msg The MAVLink message to compress the data into
+ *
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param boot_timestamp [ms] Timestamp in ms from system boot.
+ * @param seq  Sequence number for this package.
+ * @param dev_sn  Device SN number.
+ * @param dev_type  0 for flight controller. 1 for elec-stake
+ * @param retry_cnt  Retry send this message count.
+ * @param fix_type  0 no fix, 1 single, 2 RTK
+ * @param reserve  
+ * @param longitude [degE7] wgs84 longitude
+ * @param latitude [degE7] wgs84 latitude
+ * @param amsl [m] altitude amsl
+ * @param alt_relative [m] altitude above takeoff
+ * @param ve [cm/s] 
+ * @param vn [cm/s] 
+ * @param vu [cm/s] 
+ * @param yaw [cdeg] 
+ * @param pitch [cdeg] 
+ * @param roll [cdeg] 
+ * @param yaw_rate [cdeg/s] 
+ * @param flight_mode  
+ * @return length of the message in bytes (excluding serial stream start sign)
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_msg_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t *_status, mavlink_message_t* msg,
+                               uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
+#else
+    mavlink_vkfly_edu_status_msg_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.boot_timestamp = boot_timestamp;
+    packet.seq = seq;
+    packet.dev_sn = dev_sn;
+    packet.longitude = longitude;
+    packet.latitude = latitude;
+    packet.amsl = amsl;
+    packet.alt_relative = alt_relative;
+    packet.ve = ve;
+    packet.vn = vn;
+    packet.vu = vu;
+    packet.yaw = yaw;
+    packet.pitch = pitch;
+    packet.roll = roll;
+    packet.yaw_rate = yaw_rate;
+    packet.dev_type = dev_type;
+    packet.retry_cnt = retry_cnt;
+    packet.fix_type = fix_type;
+    packet.reserve = reserve;
+    packet.flight_mode = flight_mode;
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
+#endif
+
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG;
+#if MAVLINK_CRC_EXTRA
+    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
+#else
+    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
+#endif
+}
+
+/**
+ * @brief Pack a vkfly_edu_status_msg message on a channel
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param chan The MAVLink channel this message will be sent over
+ * @param msg The MAVLink message to compress the data into
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param boot_timestamp [ms] Timestamp in ms from system boot.
+ * @param seq  Sequence number for this package.
+ * @param dev_sn  Device SN number.
+ * @param dev_type  0 for flight controller. 1 for elec-stake
+ * @param retry_cnt  Retry send this message count.
+ * @param fix_type  0 no fix, 1 single, 2 RTK
+ * @param reserve  
+ * @param longitude [degE7] wgs84 longitude
+ * @param latitude [degE7] wgs84 latitude
+ * @param amsl [m] altitude amsl
+ * @param alt_relative [m] altitude above takeoff
+ * @param ve [cm/s] 
+ * @param vn [cm/s] 
+ * @param vu [cm/s] 
+ * @param yaw [cdeg] 
+ * @param pitch [cdeg] 
+ * @param roll [cdeg] 
+ * @param yaw_rate [cdeg/s] 
+ * @param flight_mode  
+ * @return length of the message in bytes (excluding serial stream start sign)
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_msg_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
+                               mavlink_message_t* msg,
+                                   uint64_t unix_timestamp,uint32_t boot_timestamp,uint32_t seq,uint32_t dev_sn,uint8_t dev_type,uint8_t retry_cnt,uint8_t fix_type,uint8_t reserve,int32_t longitude,int32_t latitude,float amsl,float alt_relative,int16_t ve,int16_t vn,int16_t vu,int16_t yaw,int16_t pitch,int16_t roll,int16_t yaw_rate,uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
+#else
+    mavlink_vkfly_edu_status_msg_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.boot_timestamp = boot_timestamp;
+    packet.seq = seq;
+    packet.dev_sn = dev_sn;
+    packet.longitude = longitude;
+    packet.latitude = latitude;
+    packet.amsl = amsl;
+    packet.alt_relative = alt_relative;
+    packet.ve = ve;
+    packet.vn = vn;
+    packet.vu = vu;
+    packet.yaw = yaw;
+    packet.pitch = pitch;
+    packet.roll = roll;
+    packet.yaw_rate = yaw_rate;
+    packet.dev_type = dev_type;
+    packet.retry_cnt = retry_cnt;
+    packet.fix_type = fix_type;
+    packet.reserve = reserve;
+    packet.flight_mode = flight_mode;
+
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
+#endif
+
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG;
+    return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
+}
+
+/**
+ * @brief Encode a vkfly_edu_status_msg struct
+ *
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param msg The MAVLink message to compress the data into
+ * @param vkfly_edu_status_msg C-struct to read the message contents from
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_msg_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, const mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
+{
+    return mavlink_msg_vkfly_edu_status_msg_pack(system_id, component_id, msg, vkfly_edu_status_msg->unix_timestamp, vkfly_edu_status_msg->boot_timestamp, vkfly_edu_status_msg->seq, vkfly_edu_status_msg->dev_sn, vkfly_edu_status_msg->dev_type, vkfly_edu_status_msg->retry_cnt, vkfly_edu_status_msg->fix_type, vkfly_edu_status_msg->reserve, vkfly_edu_status_msg->longitude, vkfly_edu_status_msg->latitude, vkfly_edu_status_msg->amsl, vkfly_edu_status_msg->alt_relative, vkfly_edu_status_msg->ve, vkfly_edu_status_msg->vn, vkfly_edu_status_msg->vu, vkfly_edu_status_msg->yaw, vkfly_edu_status_msg->pitch, vkfly_edu_status_msg->roll, vkfly_edu_status_msg->yaw_rate, vkfly_edu_status_msg->flight_mode);
+}
+
+/**
+ * @brief Encode a vkfly_edu_status_msg struct on a channel
+ *
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param chan The MAVLink channel this message will be sent over
+ * @param msg The MAVLink message to compress the data into
+ * @param vkfly_edu_status_msg C-struct to read the message contents from
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_msg_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg, const mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
+{
+    return mavlink_msg_vkfly_edu_status_msg_pack_chan(system_id, component_id, chan, msg, vkfly_edu_status_msg->unix_timestamp, vkfly_edu_status_msg->boot_timestamp, vkfly_edu_status_msg->seq, vkfly_edu_status_msg->dev_sn, vkfly_edu_status_msg->dev_type, vkfly_edu_status_msg->retry_cnt, vkfly_edu_status_msg->fix_type, vkfly_edu_status_msg->reserve, vkfly_edu_status_msg->longitude, vkfly_edu_status_msg->latitude, vkfly_edu_status_msg->amsl, vkfly_edu_status_msg->alt_relative, vkfly_edu_status_msg->ve, vkfly_edu_status_msg->vn, vkfly_edu_status_msg->vu, vkfly_edu_status_msg->yaw, vkfly_edu_status_msg->pitch, vkfly_edu_status_msg->roll, vkfly_edu_status_msg->yaw_rate, vkfly_edu_status_msg->flight_mode);
+}
+
+/**
+ * @brief Encode a vkfly_edu_status_msg struct with provided status structure
+ *
+ * @param system_id ID of this system
+ * @param component_id ID of this component (e.g. 200 for IMU)
+ * @param status MAVLink status structure
+ * @param msg The MAVLink message to compress the data into
+ * @param vkfly_edu_status_msg C-struct to read the message contents from
+ */
+static inline uint16_t mavlink_msg_vkfly_edu_status_msg_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
+{
+    return mavlink_msg_vkfly_edu_status_msg_pack_status(system_id, component_id, _status, msg,  vkfly_edu_status_msg->unix_timestamp, vkfly_edu_status_msg->boot_timestamp, vkfly_edu_status_msg->seq, vkfly_edu_status_msg->dev_sn, vkfly_edu_status_msg->dev_type, vkfly_edu_status_msg->retry_cnt, vkfly_edu_status_msg->fix_type, vkfly_edu_status_msg->reserve, vkfly_edu_status_msg->longitude, vkfly_edu_status_msg->latitude, vkfly_edu_status_msg->amsl, vkfly_edu_status_msg->alt_relative, vkfly_edu_status_msg->ve, vkfly_edu_status_msg->vn, vkfly_edu_status_msg->vu, vkfly_edu_status_msg->yaw, vkfly_edu_status_msg->pitch, vkfly_edu_status_msg->roll, vkfly_edu_status_msg->yaw_rate, vkfly_edu_status_msg->flight_mode);
+}
+
+/**
+ * @brief Send a vkfly_edu_status_msg message
+ * @param chan MAVLink channel to send the message
+ *
+ * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
+ * @param boot_timestamp [ms] Timestamp in ms from system boot.
+ * @param seq  Sequence number for this package.
+ * @param dev_sn  Device SN number.
+ * @param dev_type  0 for flight controller. 1 for elec-stake
+ * @param retry_cnt  Retry send this message count.
+ * @param fix_type  0 no fix, 1 single, 2 RTK
+ * @param reserve  
+ * @param longitude [degE7] wgs84 longitude
+ * @param latitude [degE7] wgs84 latitude
+ * @param amsl [m] altitude amsl
+ * @param alt_relative [m] altitude above takeoff
+ * @param ve [cm/s] 
+ * @param vn [cm/s] 
+ * @param vu [cm/s] 
+ * @param yaw [cdeg] 
+ * @param pitch [cdeg] 
+ * @param roll [cdeg] 
+ * @param yaw_rate [cdeg/s] 
+ * @param flight_mode  
+ */
+#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
+
+static inline void mavlink_msg_vkfly_edu_status_msg_send(mavlink_channel_t chan, uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN];
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
+#else
+    mavlink_vkfly_edu_status_msg_t packet;
+    packet.unix_timestamp = unix_timestamp;
+    packet.boot_timestamp = boot_timestamp;
+    packet.seq = seq;
+    packet.dev_sn = dev_sn;
+    packet.longitude = longitude;
+    packet.latitude = latitude;
+    packet.amsl = amsl;
+    packet.alt_relative = alt_relative;
+    packet.ve = ve;
+    packet.vn = vn;
+    packet.vu = vu;
+    packet.yaw = yaw;
+    packet.pitch = pitch;
+    packet.roll = roll;
+    packet.yaw_rate = yaw_rate;
+    packet.dev_type = dev_type;
+    packet.retry_cnt = retry_cnt;
+    packet.fix_type = fix_type;
+    packet.reserve = reserve;
+    packet.flight_mode = flight_mode;
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, (const char *)&packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
+#endif
+}
+
+/**
+ * @brief Send a vkfly_edu_status_msg message
+ * @param chan MAVLink channel to send the message
+ * @param struct The MAVLink struct to serialize
+ */
+static inline void mavlink_msg_vkfly_edu_status_msg_send_struct(mavlink_channel_t chan, const mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    mavlink_msg_vkfly_edu_status_msg_send(chan, vkfly_edu_status_msg->unix_timestamp, vkfly_edu_status_msg->boot_timestamp, vkfly_edu_status_msg->seq, vkfly_edu_status_msg->dev_sn, vkfly_edu_status_msg->dev_type, vkfly_edu_status_msg->retry_cnt, vkfly_edu_status_msg->fix_type, vkfly_edu_status_msg->reserve, vkfly_edu_status_msg->longitude, vkfly_edu_status_msg->latitude, vkfly_edu_status_msg->amsl, vkfly_edu_status_msg->alt_relative, vkfly_edu_status_msg->ve, vkfly_edu_status_msg->vn, vkfly_edu_status_msg->vu, vkfly_edu_status_msg->yaw, vkfly_edu_status_msg->pitch, vkfly_edu_status_msg->roll, vkfly_edu_status_msg->yaw_rate, vkfly_edu_status_msg->flight_mode);
+#else
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, (const char *)vkfly_edu_status_msg, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
+#endif
+}
+
+#if MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN <= MAVLINK_MAX_PAYLOAD_LEN
+/*
+  This variant of _send() can be used to save stack space by re-using
+  memory from the receive buffer.  The caller provides a
+  mavlink_message_t which is the size of a full mavlink message. This
+  is usually the receive buffer for the channel, and allows a reply to an
+  incoming message with minimum stack space usage.
+ */
+static inline void mavlink_msg_vkfly_edu_status_msg_send_buf(mavlink_message_t *msgbuf, mavlink_channel_t chan,  uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    char *buf = (char *)msgbuf;
+    _mav_put_uint64_t(buf, 0, unix_timestamp);
+    _mav_put_uint32_t(buf, 8, boot_timestamp);
+    _mav_put_uint32_t(buf, 12, seq);
+    _mav_put_uint32_t(buf, 16, dev_sn);
+    _mav_put_int32_t(buf, 20, longitude);
+    _mav_put_int32_t(buf, 24, latitude);
+    _mav_put_float(buf, 28, amsl);
+    _mav_put_float(buf, 32, alt_relative);
+    _mav_put_int16_t(buf, 36, ve);
+    _mav_put_int16_t(buf, 38, vn);
+    _mav_put_int16_t(buf, 40, vu);
+    _mav_put_int16_t(buf, 42, yaw);
+    _mav_put_int16_t(buf, 44, pitch);
+    _mav_put_int16_t(buf, 46, roll);
+    _mav_put_int16_t(buf, 48, yaw_rate);
+    _mav_put_uint8_t(buf, 50, dev_type);
+    _mav_put_uint8_t(buf, 51, retry_cnt);
+    _mav_put_uint8_t(buf, 52, fix_type);
+    _mav_put_uint8_t(buf, 53, reserve);
+    _mav_put_uint8_t(buf, 54, flight_mode);
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
+#else
+    mavlink_vkfly_edu_status_msg_t *packet = (mavlink_vkfly_edu_status_msg_t *)msgbuf;
+    packet->unix_timestamp = unix_timestamp;
+    packet->boot_timestamp = boot_timestamp;
+    packet->seq = seq;
+    packet->dev_sn = dev_sn;
+    packet->longitude = longitude;
+    packet->latitude = latitude;
+    packet->amsl = amsl;
+    packet->alt_relative = alt_relative;
+    packet->ve = ve;
+    packet->vn = vn;
+    packet->vu = vu;
+    packet->yaw = yaw;
+    packet->pitch = pitch;
+    packet->roll = roll;
+    packet->yaw_rate = yaw_rate;
+    packet->dev_type = dev_type;
+    packet->retry_cnt = retry_cnt;
+    packet->fix_type = fix_type;
+    packet->reserve = reserve;
+    packet->flight_mode = flight_mode;
+
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, (const char *)packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
+#endif
+}
+#endif
+
+#endif
+
+// MESSAGE VKFLY_EDU_STATUS_MSG UNPACKING
+
+
+/**
+ * @brief Get field unix_timestamp from vkfly_edu_status_msg message
+ *
+ * @return [ms] Unix timestamp in ms, from 1 Jan 1970.
+ */
+static inline uint64_t mavlink_msg_vkfly_edu_status_msg_get_unix_timestamp(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint64_t(msg,  0);
+}
+
+/**
+ * @brief Get field boot_timestamp from vkfly_edu_status_msg message
+ *
+ * @return [ms] Timestamp in ms from system boot.
+ */
+static inline uint32_t mavlink_msg_vkfly_edu_status_msg_get_boot_timestamp(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint32_t(msg,  8);
+}
+
+/**
+ * @brief Get field seq from vkfly_edu_status_msg message
+ *
+ * @return  Sequence number for this package.
+ */
+static inline uint32_t mavlink_msg_vkfly_edu_status_msg_get_seq(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint32_t(msg,  12);
+}
+
+/**
+ * @brief Get field dev_sn from vkfly_edu_status_msg message
+ *
+ * @return  Device SN number.
+ */
+static inline uint32_t mavlink_msg_vkfly_edu_status_msg_get_dev_sn(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint32_t(msg,  16);
+}
+
+/**
+ * @brief Get field dev_type from vkfly_edu_status_msg message
+ *
+ * @return  0 for flight controller. 1 for elec-stake
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_dev_type(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  50);
+}
+
+/**
+ * @brief Get field retry_cnt from vkfly_edu_status_msg message
+ *
+ * @return  Retry send this message count.
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_retry_cnt(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  51);
+}
+
+/**
+ * @brief Get field fix_type from vkfly_edu_status_msg message
+ *
+ * @return  0 no fix, 1 single, 2 RTK
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_fix_type(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  52);
+}
+
+/**
+ * @brief Get field reserve from vkfly_edu_status_msg message
+ *
+ * @return  
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_reserve(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  53);
+}
+
+/**
+ * @brief Get field longitude from vkfly_edu_status_msg message
+ *
+ * @return [degE7] wgs84 longitude
+ */
+static inline int32_t mavlink_msg_vkfly_edu_status_msg_get_longitude(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int32_t(msg,  20);
+}
+
+/**
+ * @brief Get field latitude from vkfly_edu_status_msg message
+ *
+ * @return [degE7] wgs84 latitude
+ */
+static inline int32_t mavlink_msg_vkfly_edu_status_msg_get_latitude(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int32_t(msg,  24);
+}
+
+/**
+ * @brief Get field amsl from vkfly_edu_status_msg message
+ *
+ * @return [m] altitude amsl
+ */
+static inline float mavlink_msg_vkfly_edu_status_msg_get_amsl(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_float(msg,  28);
+}
+
+/**
+ * @brief Get field alt_relative from vkfly_edu_status_msg message
+ *
+ * @return [m] altitude above takeoff
+ */
+static inline float mavlink_msg_vkfly_edu_status_msg_get_alt_relative(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_float(msg,  32);
+}
+
+/**
+ * @brief Get field ve from vkfly_edu_status_msg message
+ *
+ * @return [cm/s] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_ve(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  36);
+}
+
+/**
+ * @brief Get field vn from vkfly_edu_status_msg message
+ *
+ * @return [cm/s] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_vn(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  38);
+}
+
+/**
+ * @brief Get field vu from vkfly_edu_status_msg message
+ *
+ * @return [cm/s] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_vu(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  40);
+}
+
+/**
+ * @brief Get field yaw from vkfly_edu_status_msg message
+ *
+ * @return [cdeg] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_yaw(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  42);
+}
+
+/**
+ * @brief Get field pitch from vkfly_edu_status_msg message
+ *
+ * @return [cdeg] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_pitch(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  44);
+}
+
+/**
+ * @brief Get field roll from vkfly_edu_status_msg message
+ *
+ * @return [cdeg] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_roll(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  46);
+}
+
+/**
+ * @brief Get field yaw_rate from vkfly_edu_status_msg message
+ *
+ * @return [cdeg/s] 
+ */
+static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_yaw_rate(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_int16_t(msg,  48);
+}
+
+/**
+ * @brief Get field flight_mode from vkfly_edu_status_msg message
+ *
+ * @return  
+ */
+static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_flight_mode(const mavlink_message_t* msg)
+{
+    return _MAV_RETURN_uint8_t(msg,  54);
+}
+
+/**
+ * @brief Decode a vkfly_edu_status_msg message into a struct
+ *
+ * @param msg The message to decode
+ * @param vkfly_edu_status_msg C-struct to decode the message contents into
+ */
+static inline void mavlink_msg_vkfly_edu_status_msg_decode(const mavlink_message_t* msg, mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
+{
+#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
+    vkfly_edu_status_msg->unix_timestamp = mavlink_msg_vkfly_edu_status_msg_get_unix_timestamp(msg);
+    vkfly_edu_status_msg->boot_timestamp = mavlink_msg_vkfly_edu_status_msg_get_boot_timestamp(msg);
+    vkfly_edu_status_msg->seq = mavlink_msg_vkfly_edu_status_msg_get_seq(msg);
+    vkfly_edu_status_msg->dev_sn = mavlink_msg_vkfly_edu_status_msg_get_dev_sn(msg);
+    vkfly_edu_status_msg->longitude = mavlink_msg_vkfly_edu_status_msg_get_longitude(msg);
+    vkfly_edu_status_msg->latitude = mavlink_msg_vkfly_edu_status_msg_get_latitude(msg);
+    vkfly_edu_status_msg->amsl = mavlink_msg_vkfly_edu_status_msg_get_amsl(msg);
+    vkfly_edu_status_msg->alt_relative = mavlink_msg_vkfly_edu_status_msg_get_alt_relative(msg);
+    vkfly_edu_status_msg->ve = mavlink_msg_vkfly_edu_status_msg_get_ve(msg);
+    vkfly_edu_status_msg->vn = mavlink_msg_vkfly_edu_status_msg_get_vn(msg);
+    vkfly_edu_status_msg->vu = mavlink_msg_vkfly_edu_status_msg_get_vu(msg);
+    vkfly_edu_status_msg->yaw = mavlink_msg_vkfly_edu_status_msg_get_yaw(msg);
+    vkfly_edu_status_msg->pitch = mavlink_msg_vkfly_edu_status_msg_get_pitch(msg);
+    vkfly_edu_status_msg->roll = mavlink_msg_vkfly_edu_status_msg_get_roll(msg);
+    vkfly_edu_status_msg->yaw_rate = mavlink_msg_vkfly_edu_status_msg_get_yaw_rate(msg);
+    vkfly_edu_status_msg->dev_type = mavlink_msg_vkfly_edu_status_msg_get_dev_type(msg);
+    vkfly_edu_status_msg->retry_cnt = mavlink_msg_vkfly_edu_status_msg_get_retry_cnt(msg);
+    vkfly_edu_status_msg->fix_type = mavlink_msg_vkfly_edu_status_msg_get_fix_type(msg);
+    vkfly_edu_status_msg->reserve = mavlink_msg_vkfly_edu_status_msg_get_reserve(msg);
+    vkfly_edu_status_msg->flight_mode = mavlink_msg_vkfly_edu_status_msg_get_flight_mode(msg);
+#else
+        uint8_t len = msg->len < MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN? msg->len : MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN;
+        memset(vkfly_edu_status_msg, 0, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
+    memcpy(vkfly_edu_status_msg, _MAV_PAYLOAD(msg), len);
+#endif
+}

+ 140 - 0
v2.0/VKFly/testsuite.h

@@ -1187,6 +1187,144 @@ static void mavlink_test_vk_rtk_base_pvt(uint8_t system_id, uint8_t component_id
 #endif
 }
 
+static void mavlink_test_vkfly_edu_status(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
+{
+#ifdef MAVLINK_STATUS_FLAG_OUT_MAVLINK1
+    mavlink_status_t *status = mavlink_get_channel_status(MAVLINK_COMM_0);
+        if ((status->flags & MAVLINK_STATUS_FLAG_OUT_MAVLINK1) && MAVLINK_MSG_ID_VKFLY_EDU_STATUS >= 256) {
+            return;
+        }
+#endif
+    mavlink_message_t msg;
+        uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
+        uint16_t i;
+    mavlink_vkfly_edu_status_t packet_in = {
+        93372036854775807ULL,963497880,963498088,963498296,963498504,963498712,213.0,241.0,19107,19211,19315,19419,19523,19627,19731,27,94,161,228,39
+    };
+    mavlink_vkfly_edu_status_t packet1, packet2;
+        memset(&packet1, 0, sizeof(packet1));
+        packet1.unix_timestamp = packet_in.unix_timestamp;
+        packet1.boot_timestamp = packet_in.boot_timestamp;
+        packet1.seq = packet_in.seq;
+        packet1.dev_sn = packet_in.dev_sn;
+        packet1.longitude = packet_in.longitude;
+        packet1.latitude = packet_in.latitude;
+        packet1.amsl = packet_in.amsl;
+        packet1.alt_relative = packet_in.alt_relative;
+        packet1.ve = packet_in.ve;
+        packet1.vn = packet_in.vn;
+        packet1.vu = packet_in.vu;
+        packet1.yaw = packet_in.yaw;
+        packet1.pitch = packet_in.pitch;
+        packet1.roll = packet_in.roll;
+        packet1.yaw_rate = packet_in.yaw_rate;
+        packet1.dev_type = packet_in.dev_type;
+        packet1.retry_cnt = packet_in.retry_cnt;
+        packet1.fix_type = packet_in.fix_type;
+        packet1.reserve = packet_in.reserve;
+        packet1.flight_mode = packet_in.flight_mode;
+        
+        
+#ifdef MAVLINK_STATUS_FLAG_OUT_MAVLINK1
+        if (status->flags & MAVLINK_STATUS_FLAG_OUT_MAVLINK1) {
+           // cope with extensions
+           memset(MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN + (char *)&packet1, 0, sizeof(packet1)-MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MIN_LEN);
+        }
+#endif
+        memset(&packet2, 0, sizeof(packet2));
+    mavlink_msg_vkfly_edu_status_encode(system_id, component_id, &msg, &packet1);
+    mavlink_msg_vkfly_edu_status_decode(&msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+
+        memset(&packet2, 0, sizeof(packet2));
+    mavlink_msg_vkfly_edu_status_pack(system_id, component_id, &msg , packet1.unix_timestamp , packet1.boot_timestamp , packet1.seq , packet1.dev_sn , packet1.dev_type , packet1.retry_cnt , packet1.fix_type , packet1.reserve , packet1.longitude , packet1.latitude , packet1.amsl , packet1.alt_relative , packet1.ve , packet1.vn , packet1.vu , packet1.yaw , packet1.pitch , packet1.roll , packet1.yaw_rate , packet1.flight_mode );
+    mavlink_msg_vkfly_edu_status_decode(&msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+
+        memset(&packet2, 0, sizeof(packet2));
+    mavlink_msg_vkfly_edu_status_pack_chan(system_id, component_id, MAVLINK_COMM_0, &msg , packet1.unix_timestamp , packet1.boot_timestamp , packet1.seq , packet1.dev_sn , packet1.dev_type , packet1.retry_cnt , packet1.fix_type , packet1.reserve , packet1.longitude , packet1.latitude , packet1.amsl , packet1.alt_relative , packet1.ve , packet1.vn , packet1.vu , packet1.yaw , packet1.pitch , packet1.roll , packet1.yaw_rate , packet1.flight_mode );
+    mavlink_msg_vkfly_edu_status_decode(&msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+
+        memset(&packet2, 0, sizeof(packet2));
+        mavlink_msg_to_send_buffer(buffer, &msg);
+        for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
+            comm_send_ch(MAVLINK_COMM_0, buffer[i]);
+        }
+    mavlink_msg_vkfly_edu_status_decode(last_msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+        
+        memset(&packet2, 0, sizeof(packet2));
+    mavlink_msg_vkfly_edu_status_send(MAVLINK_COMM_1 , packet1.unix_timestamp , packet1.boot_timestamp , packet1.seq , packet1.dev_sn , packet1.dev_type , packet1.retry_cnt , packet1.fix_type , packet1.reserve , packet1.longitude , packet1.latitude , packet1.amsl , packet1.alt_relative , packet1.ve , packet1.vn , packet1.vu , packet1.yaw , packet1.pitch , packet1.roll , packet1.yaw_rate , packet1.flight_mode );
+    mavlink_msg_vkfly_edu_status_decode(last_msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+
+#ifdef MAVLINK_HAVE_GET_MESSAGE_INFO
+    MAVLINK_ASSERT(mavlink_get_message_info_by_name("VKFLY_EDU_STATUS") != NULL);
+    MAVLINK_ASSERT(mavlink_get_message_info_by_id(MAVLINK_MSG_ID_VKFLY_EDU_STATUS) != NULL);
+#endif
+}
+
+static void mavlink_test_vkfly_edu_status_ack(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
+{
+#ifdef MAVLINK_STATUS_FLAG_OUT_MAVLINK1
+    mavlink_status_t *status = mavlink_get_channel_status(MAVLINK_COMM_0);
+        if ((status->flags & MAVLINK_STATUS_FLAG_OUT_MAVLINK1) && MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK >= 256) {
+            return;
+        }
+#endif
+    mavlink_message_t msg;
+        uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
+        uint16_t i;
+    mavlink_vkfly_edu_status_ack_t packet_in = {
+        93372036854775807ULL,963497880
+    };
+    mavlink_vkfly_edu_status_ack_t packet1, packet2;
+        memset(&packet1, 0, sizeof(packet1));
+        packet1.unix_timestamp = packet_in.unix_timestamp;
+        packet1.seq = packet_in.seq;
+        
+        
+#ifdef MAVLINK_STATUS_FLAG_OUT_MAVLINK1
+        if (status->flags & MAVLINK_STATUS_FLAG_OUT_MAVLINK1) {
+           // cope with extensions
+           memset(MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN + (char *)&packet1, 0, sizeof(packet1)-MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK_MIN_LEN);
+        }
+#endif
+        memset(&packet2, 0, sizeof(packet2));
+    mavlink_msg_vkfly_edu_status_ack_encode(system_id, component_id, &msg, &packet1);
+    mavlink_msg_vkfly_edu_status_ack_decode(&msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+
+        memset(&packet2, 0, sizeof(packet2));
+    mavlink_msg_vkfly_edu_status_ack_pack(system_id, component_id, &msg , packet1.unix_timestamp , packet1.seq );
+    mavlink_msg_vkfly_edu_status_ack_decode(&msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+
+        memset(&packet2, 0, sizeof(packet2));
+    mavlink_msg_vkfly_edu_status_ack_pack_chan(system_id, component_id, MAVLINK_COMM_0, &msg , packet1.unix_timestamp , packet1.seq );
+    mavlink_msg_vkfly_edu_status_ack_decode(&msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+
+        memset(&packet2, 0, sizeof(packet2));
+        mavlink_msg_to_send_buffer(buffer, &msg);
+        for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
+            comm_send_ch(MAVLINK_COMM_0, buffer[i]);
+        }
+    mavlink_msg_vkfly_edu_status_ack_decode(last_msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+        
+        memset(&packet2, 0, sizeof(packet2));
+    mavlink_msg_vkfly_edu_status_ack_send(MAVLINK_COMM_1 , packet1.unix_timestamp , packet1.seq );
+    mavlink_msg_vkfly_edu_status_ack_decode(last_msg, &packet2);
+        MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
+
+#ifdef MAVLINK_HAVE_GET_MESSAGE_INFO
+    MAVLINK_ASSERT(mavlink_get_message_info_by_name("VKFLY_EDU_STATUS_ACK") != NULL);
+    MAVLINK_ASSERT(mavlink_get_message_info_by_id(MAVLINK_MSG_ID_VKFLY_EDU_STATUS_ACK) != NULL);
+#endif
+}
+
 static void mavlink_test_vk_fw_update_begin(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
 {
 #ifdef MAVLINK_STATUS_FLAG_OUT_MAVLINK1
@@ -1588,6 +1726,8 @@ static void mavlink_test_VKFly(uint8_t system_id, uint8_t component_id, mavlink_
     mavlink_test_vk_payload_data_relay(system_id, component_id, last_msg);
     mavlink_test_vk_external_ins_nav(system_id, component_id, last_msg);
     mavlink_test_vk_rtk_base_pvt(system_id, component_id, last_msg);
+    mavlink_test_vkfly_edu_status(system_id, component_id, last_msg);
+    mavlink_test_vkfly_edu_status_ack(system_id, component_id, last_msg);
     mavlink_test_vk_fw_update_begin(system_id, component_id, last_msg);
     mavlink_test_vk_fw_update_ack(system_id, component_id, last_msg);
     mavlink_test_vk_fw_update_data_request(system_id, component_id, last_msg);

+ 1 - 1
v2.0/VKFly/version.h

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Fri Aug 15 2025"
+#define MAVLINK_BUILD_DATE "Tue Aug 19 2025"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
  

+ 1 - 1
v2.0/common/common.h

@@ -10,7 +10,7 @@
     #error Wrong include order: MAVLINK_COMMON.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
 #endif
 
-#define MAVLINK_COMMON_XML_HASH 3039913676066473736
+#define MAVLINK_COMMON_XML_HASH 7558374953477012095
 
 #ifdef __cplusplus
 extern "C" {

+ 1 - 1
v2.0/common/mavlink.h

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH 3039913676066473736
+#define MAVLINK_PRIMARY_XML_HASH 7558374953477012095
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 1 - 1
v2.0/common/version.h

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Fri Aug 15 2025"
+#define MAVLINK_BUILD_DATE "Tue Aug 19 2025"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
  

+ 1 - 1
v2.0/minimal/mavlink.h

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH -1774211489507666445
+#define MAVLINK_PRIMARY_XML_HASH 5568273231604193058
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 1 - 1
v2.0/minimal/minimal.h

@@ -10,7 +10,7 @@
     #error Wrong include order: MAVLINK_MINIMAL.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
 #endif
 
-#define MAVLINK_MINIMAL_XML_HASH -1774211489507666445
+#define MAVLINK_MINIMAL_XML_HASH 5568273231604193058
 
 #ifdef __cplusplus
 extern "C" {

+ 1 - 1
v2.0/minimal/version.h

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Fri Aug 15 2025"
+#define MAVLINK_BUILD_DATE "Tue Aug 19 2025"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22
  

+ 1 - 1
v2.0/standard/mavlink.h

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH -7282419391756487482
+#define MAVLINK_PRIMARY_XML_HASH -4366729989232901126
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 1 - 1
v2.0/standard/standard.h

@@ -10,7 +10,7 @@
     #error Wrong include order: MAVLINK_STANDARD.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
 #endif
 
-#define MAVLINK_STANDARD_XML_HASH -7282419391756487482
+#define MAVLINK_STANDARD_XML_HASH -4366729989232901126
 
 #ifdef __cplusplus
 extern "C" {

+ 1 - 1
v2.0/standard/version.h

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Fri Aug 15 2025"
+#define MAVLINK_BUILD_DATE "Tue Aug 19 2025"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22
  

部分文件因为文件数量过多而无法显示