uAvionix.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0"?>
  2. <mavlink>
  3. <!-- uAvionix contact info: -->
  4. <!-- company URL: http://www.uAvionix.com -->
  5. <!-- email contact: matt@uAvionix.com or jeff@uAvionix.com -->
  6. <!-- mavlink ID range: 10000 - 10099 -->
  7. <enums>
  8. <enum name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE">
  9. <description>State flags for ADS-B transponder dynamic report</description>
  10. <entry value="1" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_INTENT_CHANGE"/>
  11. <entry value="2" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_AUTOPILOT_ENABLED"/>
  12. <entry value="4" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_NICBARO_CROSSCHECKED"/>
  13. <entry value="8" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_ON_GROUND"/>
  14. <entry value="16" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_IDENT"/>
  15. </enum>
  16. <enum name="UAVIONIX_ADSB_OUT_RF_SELECT">
  17. <description>Transceiver RF control flags for ADS-B transponder dynamic reports</description>
  18. <entry value="0" name="UAVIONIX_ADSB_OUT_RF_SELECT_STANDBY"/>
  19. <entry value="1" name="UAVIONIX_ADSB_OUT_RF_SELECT_RX_ENABLED"/>
  20. <entry value="2" name="UAVIONIX_ADSB_OUT_RF_SELECT_TX_ENABLED"/>
  21. </enum>
  22. <enum name="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX">
  23. <description>Status for ADS-B transponder dynamic input</description>
  24. <entry value="0" name="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_NONE_0"/>
  25. <entry value="1" name="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_NONE_1"/>
  26. <entry value="2" name="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_2D"/>
  27. <entry value="3" name="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_3D"/>
  28. <entry value="4" name="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_DGPS"/>
  29. <entry value="5" name="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_RTK"/>
  30. </enum>
  31. <enum name="UAVIONIX_ADSB_RF_HEALTH">
  32. <description>Status flags for ADS-B transponder dynamic output</description>
  33. <entry value="0" name="UAVIONIX_ADSB_RF_HEALTH_INITIALIZING"/>
  34. <entry value="1" name="UAVIONIX_ADSB_RF_HEALTH_OK"/>
  35. <entry value="2" name="UAVIONIX_ADSB_RF_HEALTH_FAIL_TX"/>
  36. <entry value="16" name="UAVIONIX_ADSB_RF_HEALTH_FAIL_RX"/>
  37. </enum>
  38. <enum name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE">
  39. <description>Definitions for aircraft size</description>
  40. <entry value="0" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_NO_DATA"/>
  41. <entry value="1" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L15M_W23M"/>
  42. <entry value="2" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L25M_W28P5M"/>
  43. <entry value="3" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L25_34M"/>
  44. <entry value="4" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L35_33M"/>
  45. <entry value="5" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L35_38M"/>
  46. <entry value="6" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L45_39P5M"/>
  47. <entry value="7" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L45_45M"/>
  48. <entry value="8" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L55_45M"/>
  49. <entry value="9" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L55_52M"/>
  50. <entry value="10" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L65_59P5M"/>
  51. <entry value="11" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L65_67M"/>
  52. <entry value="12" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L75_W72P5M"/>
  53. <entry value="13" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L75_W80M"/>
  54. <entry value="14" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L85_W80M"/>
  55. <entry value="15" name="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE_L85_W90M"/>
  56. </enum>
  57. <enum name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT">
  58. <description>GPS lataral offset encoding</description>
  59. <entry value="0" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_NO_DATA"/>
  60. <entry value="1" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_LEFT_2M"/>
  61. <entry value="2" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_LEFT_4M"/>
  62. <entry value="3" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_LEFT_6M"/>
  63. <entry value="4" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_0M"/>
  64. <entry value="5" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_2M"/>
  65. <entry value="6" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_4M"/>
  66. <entry value="7" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_6M"/>
  67. </enum>
  68. <enum name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON">
  69. <description>GPS longitudinal offset encoding</description>
  70. <entry value="0" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON_NO_DATA"/>
  71. <entry value="1" name="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON_APPLIED_BY_SENSOR"/>
  72. </enum>
  73. <enum name="UAVIONIX_ADSB_EMERGENCY_STATUS">
  74. <description>Emergency status encoding</description>
  75. <entry value="0" name="UAVIONIX_ADSB_OUT_NO_EMERGENCY"/>
  76. <entry value="1" name="UAVIONIX_ADSB_OUT_GENERAL_EMERGENCY"/>
  77. <entry value="2" name="UAVIONIX_ADSB_OUT_LIFEGUARD_EMERGENCY"/>
  78. <entry value="3" name="UAVIONIX_ADSB_OUT_MINIMUM_FUEL_EMERGENCY"/>
  79. <entry value="4" name="UAVIONIX_ADSB_OUT_NO_COMM_EMERGENCY"/>
  80. <entry value="5" name="UAVIONIX_ADSB_OUT_UNLAWFUL_INTERFERANCE_EMERGENCY"/>
  81. <entry value="6" name="UAVIONIX_ADSB_OUT_DOWNED_AIRCRAFT_EMERGENCY"/>
  82. <entry value="7" name="UAVIONIX_ADSB_OUT_RESERVED"/>
  83. </enum>
  84. </enums>
  85. <messages>
  86. <message id="10001" name="UAVIONIX_ADSB_OUT_CFG">
  87. <description>Static data to configure the ADS-B transponder (send within 10 sec of a POR and every 10 sec thereafter)</description>
  88. <field type="uint32_t" name="ICAO">Vehicle address (24 bit)</field>
  89. <field type="char[9]" name="callsign">Vehicle identifier (8 characters, null terminated, valid characters are A-Z, 0-9, " " only)</field>
  90. <field type="uint8_t" name="emitterType" enum="ADSB_EMITTER_TYPE">Transmitting vehicle type. See ADSB_EMITTER_TYPE enum</field>
  91. <field type="uint8_t" name="aircraftSize" enum="UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE">Aircraft length and width encoding (table 2-35 of DO-282B)</field>
  92. <field type="uint8_t" name="gpsOffsetLat" enum="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT">GPS antenna lateral offset (table 2-36 of DO-282B)</field>
  93. <field type="uint8_t" name="gpsOffsetLon" enum="UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON">GPS antenna longitudinal offset from nose [if non-zero, take position (in meters) divide by 2 and add one] (table 2-37 DO-282B)</field>
  94. <field type="uint16_t" name="stallSpeed" units="cm/s">Aircraft stall speed in cm/s</field>
  95. <field type="uint8_t" name="rfSelect" enum="UAVIONIX_ADSB_OUT_RF_SELECT" display="bitmask">ADS-B transponder reciever and transmit enable flags</field>
  96. </message>
  97. <message id="10002" name="UAVIONIX_ADSB_OUT_DYNAMIC">
  98. <description>Dynamic data used to generate ADS-B out transponder data (send at 5Hz)</description>
  99. <field type="uint32_t" name="utcTime" units="s">UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX</field>
  100. <field type="int32_t" name="gpsLat" units="degE7">Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX</field>
  101. <field type="int32_t" name="gpsLon" units="degE7">Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX</field>
  102. <field type="int32_t" name="gpsAlt" units="mm">Altitude (WGS84). UP +ve. If unknown set to INT32_MAX</field>
  103. <field type="uint8_t" name="gpsFix" enum="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX">0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK</field>
  104. <field type="uint8_t" name="numSats">Number of satellites visible. If unknown set to UINT8_MAX</field>
  105. <field type="int32_t" name="baroAltMSL" units="mbar">Barometric pressure altitude (MSL) relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX</field>
  106. <field type="uint32_t" name="accuracyHor" units="mm">Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX</field>
  107. <field type="uint16_t" name="accuracyVert" units="cm">Vertical accuracy in cm. If unknown set to UINT16_MAX</field>
  108. <field type="uint16_t" name="accuracyVel" units="mm/s">Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX</field>
  109. <field type="int16_t" name="velVert" units="cm/s">GPS vertical speed in cm/s. If unknown set to INT16_MAX</field>
  110. <field type="int16_t" name="velNS" units="cm/s">North-South velocity over ground in cm/s North +ve. If unknown set to INT16_MAX</field>
  111. <field type="int16_t" name="VelEW" units="cm/s">East-West velocity over ground in cm/s East +ve. If unknown set to INT16_MAX</field>
  112. <field type="uint8_t" name="emergencyStatus" enum="UAVIONIX_ADSB_EMERGENCY_STATUS">Emergency status</field>
  113. <field type="uint16_t" name="state" enum="UAVIONIX_ADSB_OUT_DYNAMIC_STATE" display="bitmask">ADS-B transponder dynamic input state flags</field>
  114. <field type="uint16_t" name="squawk">Mode A code (typically 1200 [0x04B0] for VFR)</field>
  115. </message>
  116. <message id="10003" name="UAVIONIX_ADSB_TRANSCEIVER_HEALTH_REPORT">
  117. <description>Transceiver heartbeat with health report (updated every 10s)</description>
  118. <field type="uint8_t" name="rfHealth" enum="UAVIONIX_ADSB_RF_HEALTH" display="bitmask">ADS-B transponder messages</field>
  119. </message>
  120. </messages>
  121. </mavlink>