<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body style="background-color: rgb(255, 255, 255); color: rgb(0, 0,
    0); font-family: Arial; font-size: 16px;" bgcolor="#FFFFFF"
    text="#000000">
    <span class="headerSpan" style="color:#000000;">
      <div class="moz-cite-prefix">On 30.08.2018 03:40, Linus Torvalds
        wrote:</div>
    </span><br>
    <span class="headerSpan" style="color:#000000;"></span>
    <blockquote type="cite"
cite="mid:CA+55aFwEHGUMT7W0nurQ74Wj2u0KfmoagHUqyofCQ5Qu2LjxwA@mail.gmail.com"
      style="font-size: medium;">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        On Tue, Aug 28, 2018 at 12:52 PM Linus Torvalds <<a
          href="mailto:torvalds@linux-foundation.org"
          moz-do-not-send="true">torvalds@linux-foundation.org</a>>
        wrote:<br>
        ><br>
        > It's the 'garmin-descent' branch of<br>
        ><br>
        >     <a
          href="https://github.com/torvalds/libdc-for-dirk.git"
          moz-do-not-send="true">https://github.com/torvalds/libdc-for-dirk.git</a><br>
        ><br>
        > and the way it currently works is that you build this
        version of<br>
        > libdivecomputer together with the current git version of
        subsurface,<br>
        > and you can download directly from your Garmin Descent.<br>
        <br>
        Now the downloading actually works, and does something.<br>
        <br>
        Wojciech, this is what your FIT data looks like when the current
        branch downloads it directly.
        <div><br>
        </div>
        <div>
          <div>  <img
src="imap://xplwowi%40gmail%2Ecom@imap.googlemail.com:993/fetch%3EUID%3E/%5BGmail%5D/Wersje%20robocze%3E3746?header=quotebody/;section=2?part=&filename=Garmin-5.png"
              alt="Garmin-5.png" moz-do-not-send="true" height="287"
              width="412"><br>
          </div>
          <br>
        </div>
        <div>(although I don't know if images will actually show up
          correctly on the google groups thing).</div>
        <div><br>
        </div>
        <div>I don't import everything - things like gas mixes and
          changes (and any events) are currently just ignored. </div>
        <div><br>
        </div>
        <div>But the basics certainly work.</div>
        <div><br>
        </div>
        <div>                           Linus</div>
      </div>
    </blockquote>
    <br>
    Wow - I'm impressed. I just strarted testing dctool compiled from
    your branch. In comment for commit modifying common.c I informed you
    that:<br>
    <span style="color: rgb(36, 41, 46); font-family: -apple-system,
      BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
      sans-serif, "Apple Color Emoji", "Segoe UI
      Emoji", "Segoe UI Symbol"; font-size: 14px;
      font-style: normal; font-variant-ligatures: normal;
      font-variant-caps: normal; font-weight: 400; letter-spacing:
      normal; orphans: 2; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial; display: inline
      !important; float: none;">src/libdivecomputer.symbols has no
      symbol dc_usb_storage_open added.</span><br style="box-sizing:
      border-box; color: rgb(36, 41, 46); font-family: -apple-system,
      BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
      sans-serif, "Apple Color Emoji", "Segoe UI
      Emoji", "Segoe UI Symbol"; font-size: 14px;
      font-style: normal; font-variant-ligatures: normal;
      font-variant-caps: normal; font-weight: 400; letter-spacing:
      normal; orphans: 2; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial;">
    <span style="color: rgb(36, 41, 46); font-family: -apple-system,
      BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
      sans-serif, "Apple Color Emoji", "Segoe UI
      Emoji", "Segoe UI Symbol"; font-size: 14px;
      font-style: normal; font-variant-ligatures: normal;
      font-variant-caps: normal; font-weight: 400; letter-spacing:
      normal; orphans: 2; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); text-decoration-style:
      initial; text-decoration-color: initial; display: inline
      !important; float: none;">It's not exported by libdivecomputer and
      linking dctools fails with undefined reference... error.<br>
    </span><br>
    I'm reading your commits messages and observing code changes. <br>
    There are a lot of GPS coordinates stored in LAP records but I see
    no reason to support them as whole dive summary is stored in SESSION
    record. Laps are created after surfacing, spending there less than 1
    minute (time can be defined) and immersing again. Laps don't affect
    sample timers, what is obvious as they are related to Garmin's
    epoch.<br>
    <br>
    /WW<br>
  </body>
</html>