

  {extends file="main.tpl"}
    <!DOCTYPE head PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><head xmlns="http://www.w3.org/1999/xhtml">
  {block name=title}GPSBabel development:GlobalSat GH625XT GPS training watch (globalsat){/block}
  {block name=body}{literal}
                       
  <div xmlns="http://www.w3.org/1999/xhtml" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">GlobalSat GH625XT GPS training watch (globalsat)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="fmt_dg-200.html">Prev</a> </td><th width="60%" align="center">Chapter 3. The Formats</th><td width="20%" align="right"> <a accesskey="n" href="fmt_googledir.html">Next</a></td></tr></table><hr /></div><div xmlns="http://www.w3.org/1999/xhtml" class="section"><div class="titlepage"><div><div><h2 class="title" ><a id="fmt_globalsat"></a>GlobalSat GH625XT GPS training watch (globalsat)</h2></div></div></div><p class="fmtcapshdr">
    This format can...
    </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p class="fmtcapsitem">
          read and write waypoints
        </p></li><li class="listitem"><p class="fmtcapsitem">
          read and write tracks
        </p></li><li class="listitem"><p class="fmtcapsitem">
          read and write routes
        </p></li></ul></div><p>This format has the following options: <a class="link" href="fmt_globalsat.html#fmt_globalsat_o_showlist" title="showlist option">showlist</a>, <a class="link" href="fmt_globalsat.html#fmt_globalsat_o_track" title="track option">track</a>, <a class="link" href="fmt_globalsat.html#fmt_globalsat_o_dump-file" title="dump-file option">dump-file</a>, <a class="link" href="fmt_globalsat.html#fmt_globalsat_o_input-is-dump-file" title="input-is-dump-file option">input-is-dump-file</a> .</p><p>
  Serial download protocol for the <span class="productname">GlobalSat Sport gh625XT</span>™ training watch.
</p><p>
The GlobalSat Sport GPS training device present themselves as USBserial devices.
To get the training just connect the device using the supplied
USB cable to your computer and the device will show up as a serial device.
</p><p><strong class="userinput"><code>gpsbabel -i globalsat -f /dev/ttyUSB0 -o gpx,garminextensions -F outfile.gpx</code></strong></p><div class="example"><a id="globalsat-showlist"></a><p class="title"><strong>Example 3.15. Command showing list of tracks on device</strong></p><div class="example-contents"><p><strong class="userinput"><code>gpsbabel -i globalsat,showlist=1 -f /dev/ttyUSB0</code></strong></p></div></div><br class="example-break" /><div class="example"><a id="globalsat-track"></a><p class="title"><strong>Example 3.16. Command track can be used to fetch a single track, defult is all tracks</strong></p><div class="example-contents"><p><strong class="userinput"><code>gpsbabel -i globalsat,track=number -f /dev/ttyUSB0 -o gpx,garminextensions -F outfile.gpx</code></strong></p></div></div><br class="example-break" /><p>
  The gh625XT USB cable provides a physical USB interface to the host computer, but
  internally it uses a Prolific PL-2303 chip to do this.  So you must have
  drivers installed on your computer to recognize the PL-2303 and provide
  that data as a serial port to software like GPSBabel. Such software
  comes with the unit for Windows or can be downloaded.
</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_globalsat_o_showlist"></a><code class="option">showlist</code> option</h3></div></div></div><p>
      list tracks.
    </p><p>
The showlist argment displays the list of tracks stored on the device.
</p><div class="example"><a id="globalsat-option-showlist"></a><p class="title"><strong>Example 3.17. Command showing list of tracks on device</strong></p><div class="example-contents"><p>
    <strong class="userinput"><code>gpsbabel -i globalsat,showlist=1 -f /dev/ttyUSB0</code></strong>
  </p></div></div><br class="example-break" /></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_globalsat_o_track"></a><code class="option">track</code> option</h3></div></div></div><p>
      get track.
    </p><p>
The 'track' option is used to fetch a single named track, probably one you
learned about via the 'showlist' option from a previous invocation, instead
of fetching all the tracks, which is our default.
</p><div class="example"><a id="globalsat-option-track"></a><p class="title"><strong>Example 3.18. Command track can be used to fetch a single track, defult is all tracks</strong></p><div class="example-contents"><p><strong class="userinput"><code>gpsbabel -i globalsat,track=number -f /dev/ttyUSB0 -o gpx,garminextensions -F outfile.gpx</code></strong></p></div></div><br class="example-break" /></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_globalsat_o_dump-file"></a><code class="option">dump-file</code> option</h3></div></div></div><p>
      Dump raw data to this file.
    </p><p>
The dump-file option is primarly for debugging is module. It lets you
provide a file which contains the raw stream of bytes coming from the
device. This is useful for capturing device state to describe to a 
developer that can't actually access hte physical device as well as mocking
the entire device for automated regression testing.
</p><p>
</p><pre class="screen">
<span class="command"><strong>gpsbabel</strong></span> 
-i glboalsat,dump-file=<em class="replaceable"><code>gh625xt.bin</code></em> -f <em class="replaceable"><code>/dev/ttyUSB0</code></em>
</pre><p>
can be used to read the device and store its state in the file <code class="filename">gh625xt.bin</code>.  That file can then be distributed and someone else can
read it with a command line:
</p><pre class="screen">
<span class="command"><strong> gpsbabel</strong></span> 
-i globalsat,input-is-dump-file=1 -f <em class="replaceable"><code>gh625xt.bin</code></em> -o gpx -F <em class="replaceable"><code>test.gpx</code></em>
</pre><p>
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_globalsat_o_input-is-dump-file"></a><code class="option">input-is-dump-file</code> option</h3></div></div></div><p>
      Dump raw data to this file.
    </p><p>
This is the companion to dump-file and is used to tell the reader that
the code is talking to a stored file and not physical hardware.
</p></div></div><div xmlns="http://www.w3.org/1999/xhtml" class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="fmt_dg-200.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="The_Formats.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="fmt_googledir.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">GlobalSat DG-200 Download (dg-200) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Google Directions XML (googledir)</td></tr></table></div>
  
      {/literal}{/block}
  