<div dir="ltr">Hi Andrej,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On 7 August 2015 at 07:37, Andrej Prsa <span dir="ltr"><<a href="mailto:aprsa09@gmail.com" target="_blank">aprsa09@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rick,<br>
<span class=""><br>
> 1) turn off your petrel, turn it back on again and try again.<br>
> Sometimes this works.<br>
<br>
</span>Check.<br>
<span class=""><br>
> 2) try a fresh battery in the petrel. Bluetooth takes a bit of power<br>
> for devices, and they struggle with low battery.<br>
<br>
</span>Check.<br>
<span class=""><br>
> What distro are you using, and what version of bluez?  It appears you<br>
> have bluez v4.x. I tested with bluez v5.x. Perhaps it works slightly<br>
> differently with the earlier version.<br>
<br>
</span>My apologies, I should have included this earlier. I am running ubuntu<br>
15.04 with bluez-4.101, and subsurface 4.4.2 via PPA. I don't have<br>
windows/mac, so can't test other OSes (easily).<br></blockquote><div><br></div><div>I'm surprised that the current version of Ubuntu uses bluez-4, but it should still work with version 4.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> Shearwater released a firmware update a few weeks ago. Did you<br>
> install it?<br>
<br>
</span>Nope, firmware version is 28, Features 20080, Hardware 2.4.3.<br>
<span class=""><br>
> Do you have sdptool installed? It should be in a package called<br>
> bluez-utils. Try running.<br>
> sdptool -i hci0 records [addr]<br>
<br>
</span>This is how I figured out that the channel is 5; here's the output:<br>
<br>
Service Name: Serial Port<br>
Service RecHandle: 0x10000<br>
Service Class ID List:<br>
  "Serial Port" (0x1101)<br>
Protocol Descriptor List:<br>
  "L2CAP" (0x0100)<br>
  "RFCOMM" (0x0003)<br>
    Channel: 5<br>
<span class=""><br>
> And another simple possibility, that trips people over all the time.<br>
> Are you a member of the dialout group on your computer?  I just fell<br>
> for that one on a new computer.<br>
<br>
</span>Yep, I added myself to dialout and made sure I can touch /dev/rfcomm0.<br>
<span class=""><br>
> Finally, if you want to test a testing version of subsurface, the<br>
> latest daily build includes native bluetooth support. No need to set<br>
> up the connection with rfcomm or use sudo. How you install a daily<br>
> build depends on your distro.<br>
<br>
</span>I'll do this right now.<br></blockquote><div><br></div><div>The daily build for Ubuntu can be installed from:<br><pre><code>ppa:subsurface/subsurface-daily<br></code> <br></pre></div><div>Note that the testing version is just that.  It works for me, and your help in testing is much appreciated, but there's a reason why it isn't called stable.  You might come across bugs.  This development cycle includes more new features than normal, including native bluetooth support, and some are still work in progress.  I am not sure if native bluetooth support has been tested with Bluez 4.<br><br></div><div>Native Bluetooth support isn't yet in the documentation.  To use it, go to download (ctrl-D), check the "Choose Blueooth download mode" box.  Power on your bluetooth device if it isn't already, hit scan and select your dive computer.  If it doesn't say it's paired, right click to pair it.  Click save to close the bluetooth dialog, then select download.<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks a bunch for your help! I'll report on the latest subsurface<br>
version as soon as I've tested it.<br></blockquote><div><br></div><div>I'm off for a few days diving, so won't be able to help much, but please do report any issues.  Claudiu is the one who has done the great work in bringing the native bluetooth support.<br><br></div><div>Cheers,<br><br></div><div>Rick<br></div></div></div></div></div>