Generic protocol: Difference between revisions

Jump to navigation Jump to search
(http://www.mail-archive.com/flightgear-devel@flightgear.org/msg32560.html)
Line 165: Line 165:
  </PropertyList>
  </PropertyList>


===Writing data in XML format====
===Writing data in XML format===
Assuming the file is called [[$FG ROOT]]/Protocol/xmltest.xml, then it could be used as  
Assuming the file is called [[$FG ROOT]]/Protocol/xmltest.xml, then it could be used as  
  fgfs --generic=file,out,1,/tmp/data.xml,xmltest
  fgfs --generic=file,out,1,/tmp/data.xml,xmltest
Line 190: Line 190:
       </chunk>
       </chunk>
   
   
For more examples, see [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg37892.html].
       <chunk>
       <chunk>
         <node>/velocities/airspeed-kt</node>
         <node>/velocities/airspeed-kt</node>
Line 202: Line 203:
  </generic>
  </generic>
  </PropertyList>
  </PropertyList>


== Analyzing the resulting binary packet format ==
== Analyzing the resulting binary packet format ==

Navigation menu