Skip to content

Commit

Permalink
Add bitmask attribute to several enumerations (mavlink#1636)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Fil authored May 20, 2021
1 parent ed15d35 commit 2f9eda0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions message_definitions/v1.0/uAvionix.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<!-- mavlink ID range: 10000 - 10099 -->
<include>common.xml</include>
<enums>
<enum name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE">
<enum name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE" bitmask="true">
<description>State flags for ADS-B transponder dynamic report</description>
<entry value="1" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_INTENT_CHANGE"/>
<entry value="2" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_AUTOPILOT_ENABLED"/>
<entry value="4" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_NICBARO_CROSSCHECKED"/>
<entry value="8" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_ON_GROUND"/>
<entry value="16" name="UAVIONIX_ADSB_OUT_DYNAMIC_STATE_IDENT"/>
</enum>
<enum name="UAVIONIX_ADSB_OUT_RF_SELECT">
<enum name="UAVIONIX_ADSB_OUT_RF_SELECT" bitmask="true">
<description>Transceiver RF control flags for ADS-B transponder dynamic reports</description>
<entry value="0" name="UAVIONIX_ADSB_OUT_RF_SELECT_STANDBY"/>
<entry value="1" name="UAVIONIX_ADSB_OUT_RF_SELECT_RX_ENABLED"/>
Expand All @@ -29,7 +29,7 @@
<entry value="4" name="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_DGPS"/>
<entry value="5" name="UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX_RTK"/>
</enum>
<enum name="UAVIONIX_ADSB_RF_HEALTH">
<enum name="UAVIONIX_ADSB_RF_HEALTH" bitmask="true">
<description>Status flags for ADS-B transponder dynamic output</description>
<entry value="0" name="UAVIONIX_ADSB_RF_HEALTH_INITIALIZING"/>
<entry value="1" name="UAVIONIX_ADSB_RF_HEALTH_OK"/>
Expand Down

0 comments on commit 2f9eda0

Please sign in to comment.