<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="+1"><tt>I have been trying to implement the
          connection over BLE to an OSTC device (in my case an OSTC3
          with the Telit/Stollmann BT/BLE hardware). From the current
          status, I constructed a pull request for Subsurface
          (<a class="moz-txt-link-freetext" href="https://github.com/Subsurface-divelog/subsurface/pull/466">https://github.com/Subsurface-divelog/subsurface/pull/466</a>).</tt></font></p>
    <p><font size="+1"><tt>Basically, I'm stuck at the current point.
          The download over BLE works perfect for a short period, in which
          the following sequence of commands are issued:</tt></font></p>
    <p><font size="+1"><tt>- 0xBB: init the OSTC3 in Download mode</tt></font></p>
    <p><font size="+1"><tt>- 0x60: hardware and Features<br>
        </tt></font></p>
    <p><font size="+1"><tt>- 0x69: version/identity</tt></font></p>
    <p><font size="+1"><tt>- 0x6D: send compact headers (4Kb data)<br>
        </tt></font></p>
    <p><font size="+1"><tt>So, far so good. All this data is correctly
          received and processed on the Subsurface/libdc side.</tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>- 0x66: send one dive including profile, for
          index 0x86</tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>This results in correct reception of the header
          (256 bytes), followed by some samples (in total 624 bytes) so
          a very small fraction of the selected approx 1 hour dive, that
          results in approx 20kb).</tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>And then is just stops, until a timeout is
          hit. No bluez errors (testing this on Arch Linux, with bluez
          BT stack), no weird packets in the snooped BT traffic (file
          available for analysis if needed), noting relevant in the
          journal/systemd logging, no kernel messages).</tt></font></p>
    <p><font size="+1"><tt>So it seems that the OSTC3 just stops sending.
          So my question for Matthias ... any idea what is going on here?</tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>regards,</tt></font></p>
    <p><font size="+1"><tt><br>
        </tt></font></p>
    <p><font size="+1"><tt>--jan<br>
        </tt></font></p>
  </body>
</html>