1
0
Fork 0

Add protocol 'avare' for Avare open-source Android EFB

This commit is contained in:
Thomas Geymayer 2013-12-28 23:56:20 +01:00
parent b2f261ea0a
commit 1e5054ccf7

54
Protocol/avare.xml Normal file
View file

@ -0,0 +1,54 @@
<?xml version="1.0"?>
<PropertyList>
<comment>
<![CDATA[
Usage:
fgfs --generic=socket,out,2,192.168.1.255,49002,udp,avare
]]>
</comment>
<generic>
<output>
<line_separator>newline</line_separator>
<var_separator>,</var_separator>
<chunk>
<name>Header</name>
<format>XGPS</format>
<node></node>
</chunk>
<chunk>
<node>/position/longitude-deg</node>
<name>longitude</name>
<type>float</type>
<format>%03.4f</format>
</chunk>
<chunk>
<node>/position/latitude-deg</node>
<name>Latitude</name>
<type>float</type>
<format>%03.4f</format>
</chunk>
<chunk>
<node>/position/altitude-ft</node>
<name>Altitude in meters MSL</name>
<type>float</type>
<format>%05.4f</format>
<factor>0.3048</factor>
</chunk>
<chunk>
<node>/orientation/heading-deg</node>
<name>Track-along-ground from true north</name>
<type>float</type>
<format>%03.3f</format>
</chunk>
<chunk>
<node>velocities/groundspeed-kt</node>
<name>Groundspeed in meters/sec</name>
<type>float</type>
<format>%03.3f</format>
<factor>0.514444</factor>
</chunk>
</output>
</generic>
</PropertyList>