2007-02-16 10:53:26 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
<comment>
|
|
|
|
<![CDATA[
|
2007-06-18 16:39:46 +00:00
|
|
|
This is the protocol definition for fgcom - a realtime communication
|
|
|
|
middleware based on IAX2 (Asterisk) for FlightGear
|
|
|
|
See http://squonk.abacab.org/dokuwiki/fgcom
|
2007-02-16 10:53:26 +00:00
|
|
|
|
|
|
|
Usage:
|
2007-06-18 16:39:46 +00:00
|
|
|
# fgfs --generic=socket,out,<hz>,<host>,16661,udp,fgcom
|
2007-02-16 10:53:26 +00:00
|
|
|
|
|
|
|
Check data with:
|
2007-07-11 12:36:13 +00:00
|
|
|
# netcat -u -l -p 16661
|
2007-02-16 10:53:26 +00:00
|
|
|
]]>
|
|
|
|
</comment>
|
|
|
|
|
|
|
|
<generic>
|
|
|
|
|
|
|
|
<output>
|
|
|
|
<line_separator>newline</line_separator>
|
|
|
|
<var_separator>,</var_separator>
|
|
|
|
|
|
|
|
<chunk>
|
2007-06-18 16:39:46 +00:00
|
|
|
<name>com1frq</name>
|
2007-02-16 10:53:26 +00:00
|
|
|
<type>float</type>
|
|
|
|
<format>COM1_FRQ=%03.3f</format>
|
|
|
|
<node>/instrumentation/comm/frequencies/selected-mhz</node>
|
|
|
|
</chunk>
|
|
|
|
|
2007-07-11 12:36:13 +00:00
|
|
|
<chunk>
|
|
|
|
<name>com1-serviceable</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<format>COM1_SRV=%d</format>
|
|
|
|
<node>/instrumentation/comm/serviceable</node>
|
|
|
|
</chunk>
|
|
|
|
|
|
|
|
<chunk>
|
|
|
|
<name>com2frq</name>
|
|
|
|
<type>float</type>
|
|
|
|
<format>COM2_FRQ=%03.3f</format>
|
|
|
|
<node>/instrumentation/comm[1]/frequencies/selected-mhz</node>
|
|
|
|
</chunk>
|
|
|
|
|
|
|
|
<chunk>
|
|
|
|
<name>com2-serviceable</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<format>COM2_SRV=%d</format>
|
|
|
|
<node>/instrumentation/comm[1]/serviceable</node>
|
|
|
|
</chunk>
|
|
|
|
|
2007-06-18 16:39:46 +00:00
|
|
|
<chunk>
|
|
|
|
<name>nav1frq</name>
|
|
|
|
<type>float</type>
|
|
|
|
<format>NAV1_FRQ=%03.3f</format>
|
|
|
|
<node>/instrumentation/nav/frequencies/selected-mhz</node>
|
|
|
|
</chunk>
|
|
|
|
|
2007-02-16 10:53:26 +00:00
|
|
|
<chunk>
|
2007-07-11 12:36:13 +00:00
|
|
|
<name>nav1-serviceable</name>
|
2007-02-16 10:53:26 +00:00
|
|
|
<type>bool</type>
|
2007-07-11 12:36:13 +00:00
|
|
|
<format>NAV1_SRV=%d</format>
|
|
|
|
<node>/instrumentation/nav/serviceable</node>
|
|
|
|
</chunk>
|
|
|
|
|
|
|
|
<chunk>
|
|
|
|
<name>nav2frq</name>
|
|
|
|
<type>float</type>
|
|
|
|
<format>NAV2_FRQ=%03.3f</format>
|
|
|
|
<node>/instrumentation/nav[1]/frequencies/selected-mhz</node>
|
|
|
|
</chunk>
|
|
|
|
|
|
|
|
<chunk>
|
|
|
|
<name>nav2-serviceable</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<format>NAV2_SRV=%d</format>
|
|
|
|
<node>/instrumentation/nav[1]/serviceable</node>
|
|
|
|
</chunk>
|
|
|
|
|
|
|
|
<chunk>
|
|
|
|
<name>ptt-key-status</name>
|
|
|
|
<type>int</type>
|
2007-02-16 10:53:26 +00:00
|
|
|
<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>
|
2007-03-30 08:24:09 +00:00
|
|
|
<format>IAS=%04.1f</format>
|
|
|
|
<node>/velocities/airspeed-kt</node>
|
|
|
|
</chunk>
|
|
|
|
|
|
|
|
<chunk>
|
|
|
|
<name>groundspeed</name>
|
|
|
|
<type>float</type>
|
|
|
|
<format>GS=%04.1f</format>
|
2007-06-15 06:31:26 +00:00
|
|
|
<node>/velocities/groundspeed-kt</node>
|
2007-02-16 10:53:26 +00:00
|
|
|
</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>
|
|
|
|
|
2008-12-09 09:47:20 +00:00
|
|
|
<chunk>
|
|
|
|
<name>callsign</name>
|
|
|
|
<type>string</type>
|
|
|
|
<format>CALLSIGN=%s</format>
|
|
|
|
<node>/sim/multiplay/callsign</node>
|
|
|
|
</chunk>
|
|
|
|
|
|
|
|
<chunk>
|
|
|
|
<name>model</name>
|
|
|
|
<type>string</type>
|
|
|
|
<format>MODEL=%s</format>
|
|
|
|
<node>/sim/model/path</node>
|
|
|
|
</chunk>
|
|
|
|
|
2013-09-22 20:13:03 +00:00
|
|
|
<chunk>
|
|
|
|
<name>output-volume</name>
|
|
|
|
<type>double</type>
|
|
|
|
<format>OUTPUT_VOL=%1.1f</format>
|
|
|
|
<node>/sim/sound/atc/volume</node>
|
|
|
|
</chunk>
|
|
|
|
|
2014-01-26 15:40:08 +00:00
|
|
|
<chunk>
|
|
|
|
<name>silence-threshold</name>
|
|
|
|
<type>double</type>
|
|
|
|
<format>SILENCE_THD=%1.1f</format>
|
|
|
|
<node>/sim/fgcom/silence-threshold</node>
|
|
|
|
</chunk>
|
|
|
|
|
2007-02-16 10:53:26 +00:00
|
|
|
</output>
|
|
|
|
|
|
|
|
</generic>
|
|
|
|
|
|
|
|
</PropertyList>
|