<?xml version="1.0"?> <PropertyList> <comment> <![CDATA[ This is the protocol definition for fgcom - a realtime communication middleware based on IAX2 (Asterisk) for FlightGear See http://squonk.abacab.org/dokuwiki/fgcom Usage: # fgfs --generic=socket,out,<hz>,<host>,16661,udp,fgcom Check data with: # netcat -u -l -p <port> ]]> </comment> <generic> <output> <line_separator>newline</line_separator> <var_separator>,</var_separator> <chunk> <name>com1frq</name> <type>float</type> <format>COM1_FRQ=%03.3f</format> <node>/instrumentation/comm/frequencies/selected-mhz</node> </chunk> <chunk> <name>nav1frq</name> <type>float</type> <format>NAV1_FRQ=%03.3f</format> <node>/instrumentation/nav/frequencies/selected-mhz</node> </chunk> <chunk> <name>ptt-key-status</name> <type>bool</type> <format>PTT=%d</format> <node>/instrumentation/comm/ptt</node> </chunk> <chunk> <name>transponder-code</name> <type>int</type> <format>TRANSPONDER=%d</format> <node>/instrumentation/transponder/id-code</node> </chunk> <chunk> <name>airspeed</name> <type>float</type> <format>IAS=%04.1f</format> <node>/velocities/airspeed-kt</node> </chunk> <chunk> <name>groundspeed</name> <type>float</type> <format>GS=%04.1f</format> <node>/velocities/groundspeed-kt</node> </chunk> <chunk> <name>pos-longitude-deg</name> <type>float</type> <format>LON=%03.6f</format> <node>/position/longitude-deg</node> </chunk> <chunk> <name>pos-latitude-deg</name> <type>float</type> <format>LAT=%03.6f</format> <node>/position/latitude-deg</node> </chunk> <chunk> <name>pos-alt</name> <type>float</type> <format>ALT=%05.0f</format> <node>/position/altitude-ft</node> </chunk> <chunk> <name>heading</name> <type>float</type> <format>HEAD=%03.1f</format> <node>/instrumentation/heading-indicator/indicated-heading-deg</node> </chunk> </output> </generic> </PropertyList>