<!DOCTYPE module SYSTEM "module.dtd">

<module name="vi_datalink" dir="vehicle_interface">
  <doc>
    <description>Vehicule Interface over Datalink</description>
  </doc>
  <settings>
    <dl_settings>
      <dl_settings NAME="VI">
        <dl_setting var="vi.enabled" min="0" step="1" max="1" module="modules/vehicle_interface/vi" shortname="enabled" values="OFF|ON" handler="SetEnabled">
          <strip_button name="FMS ON" icon="on.png" value="1"/>
          <strip_button name="FMS OFF" icon="off.png" value="0"/>
        </dl_setting>
      </dl_settings>
    </dl_settings>
  </settings>
  <header>
    <file name="vi_datalink.h"/>
  </header>
  <init fun="vi_init()"/>
  <periodic fun="vi_periodic()" freq="25"/>
  <datalink message="BOOZ2_FMS_COMMAND" fun="VI_PARSE_DATALINK(dl_buffer)"/>
  <datalink message="BOOZ_NAV_STICK" fun="VI_NAV_STICK_PARSE_DL(dl_buffer)"/>
  <makefile>
    <file name="vi.c"/>
    <file name="vi_datalink.c"/>
  </makefile>
</module>


