<div dir="ltr">Hey Janice,<div><br></div><div>Yeah, I've been coming up to speed on the difference between bluetooth LE and 'classic' bluetooth and realizing that I've been asking the wrong questions.</div><div><br></div><div>Thanks for confirming my suspicions.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 30, 2016 at 1:42 PM Janice McLaughlin <<a href="mailto:janice@somemore.com">janice@somemore.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The Shearwater website says that the Perdix AI requires Bluetooth LE. There is no “pairing” per se in LE, it’s just communication and looking for specific CBUUID’s or unique numbers that a peripheral advertises that it does. There are no real “profiles” in LE either so there is no "serial port profile" so no serial port for libdivecomputer to use.<br class="gmail_msg">
<br class="gmail_msg">
Janice<br class="gmail_msg">
<br class="gmail_msg">
> On Nov 30, 2016, at 12:07 PM, Jon Gross <<a href="mailto:jong@jongrossphotography.com" class="gmail_msg" target="_blank">jong@jongrossphotography.com</a>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
> One other note:<br class="gmail_msg">
><br class="gmail_msg">
> The Perdix AI uses bluetooth LE (smart?), which apparently (I'm still coming up to speed on the on bluetooth) requires the pairing to happen via the software, rather than pairing via the OS bluetooth controls as 'older' bluetooth does?<br class="gmail_msg">
><br class="gmail_msg">
> I'm reading through the libdivecomputer sources, and I'm not seeing any reference to code that does this initial device communication, but I might not have found it yet.<br class="gmail_msg">
><br class="gmail_msg">
> Is native bluetooth on OS X a thing in libdivecomputer, or does libdivecomputer still require a serial port?<br class="gmail_msg">
><br class="gmail_msg">
> If it requires a serial port, then I think I'm stuck before I start, since I don't see a way to get the device paired and a serial port set up before trying to run the dctool downloads.<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> -jon<br class="gmail_msg">
><br class="gmail_msg">
> On Wed, Nov 30, 2016 at 9:00 AM Jon Gross <<a href="mailto:jong@jongrossphotography.com" class="gmail_msg" target="_blank">jong@jongrossphotography.com</a>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
> I forgot to bring it to work with me this morning, but I'll give this a whirl when I get home, thank you.<br class="gmail_msg">
><br class="gmail_msg">
> -jon<br class="gmail_msg">
><br class="gmail_msg">
> On Wed, Nov 30, 2016 at 2:34 AM Jef Driesen <<a href="mailto:jef@libdivecomputer.org" class="gmail_msg" target="_blank">jef@libdivecomputer.org</a>> wrote:<br class="gmail_msg">
> On 2016-11-30 08:25, Anton Lundin wrote:<br class="gmail_msg">
> > On 29 November, 2016 - Jon Gross wrote:<br class="gmail_msg">
> ><br class="gmail_msg">
> >> I have in my greedy little hands a Shearwater Perdix AI computer,<br class="gmail_msg">
> >> which<br class="gmail_msg">
> >> Shearwater says shares the same firmware with the Perdix and the<br class="gmail_msg">
> >> Petrel,<br class="gmail_msg">
> >> but it will have air consumption (if equipped with a sender).<br class="gmail_msg">
> >><br class="gmail_msg">
> >> Is there anything I can send a developer that would help with support<br class="gmail_msg">
> >> or<br class="gmail_msg">
> >> this? I didn't see it in the list of supported computers.<br class="gmail_msg">
> >><br class="gmail_msg">
> ><br class="gmail_msg">
> > As far as I've read between the lines, there is a new protocol for<br class="gmail_msg">
> > downloading data containing the pressure sensor. The old sample format<br class="gmail_msg">
> > have no space left for any more data to be added to it.<br class="gmail_msg">
> ><br class="gmail_msg">
> > I guess that the new device still supports the older download protocols<br class="gmail_msg">
> > from the Predator and Petrel, so just try do select Petrel and<br class="gmail_msg">
> > download.<br class="gmail_msg">
> > You should get logs from your computer, but without data from the<br class="gmail_msg">
> > pressure sensor.<br class="gmail_msg">
><br class="gmail_msg">
> Indeed, try first with the petrel protocol to see what we get there:<br class="gmail_msg">
><br class="gmail_msg">
> dctool -v -l petrel.log -f petrel download -f raw -o dive.%n.bin<br class="gmail_msg">
> <serialport><br class="gmail_msg">
><br class="gmail_msg">
> This will dump the individual dives to disk and allow us to have a look<br class="gmail_msg">
> at the raw data.<br class="gmail_msg">
><br class="gmail_msg">
> Jef<br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> devel mailing list<br class="gmail_msg">
> <a href="mailto:devel@libdivecomputer.org" class="gmail_msg" target="_blank">devel@libdivecomputer.org</a><br class="gmail_msg">
> <a href="http://libdivecomputer.org/cgi-bin/mailman/listinfo/devel" rel="noreferrer" class="gmail_msg" target="_blank">http://libdivecomputer.org/cgi-bin/mailman/listinfo/devel</a><br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>