I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
Thanks!
-jon
On 29 November, 2016 - Jon Gross wrote:
I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
As far as I've read between the lines, there is a new protocol for downloading data containing the pressure sensor. The old sample format have no space left for any more data to be added to it.
I guess that the new device still supports the older download protocols from the Predator and Petrel, so just try do select Petrel and download. You should get logs from your computer, but without data from the pressure sensor.
//Anton
On 2016-11-30 08:25, Anton Lundin wrote:
On 29 November, 2016 - Jon Gross wrote:
I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
As far as I've read between the lines, there is a new protocol for downloading data containing the pressure sensor. The old sample format have no space left for any more data to be added to it.
I guess that the new device still supports the older download protocols from the Predator and Petrel, so just try do select Petrel and download. You should get logs from your computer, but without data from the pressure sensor.
Indeed, try first with the petrel protocol to see what we get there:
dctool -v -l petrel.log -f petrel download -f raw -o dive.%n.bin <serialport>
This will dump the individual dives to disk and allow us to have a look at the raw data.
Jef
I forgot to bring it to work with me this morning, but I'll give this a whirl when I get home, thank you.
-jon
On Wed, Nov 30, 2016 at 2:34 AM Jef Driesen jef@libdivecomputer.org wrote:
On 2016-11-30 08:25, Anton Lundin wrote:
On 29 November, 2016 - Jon Gross wrote:
I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
As far as I've read between the lines, there is a new protocol for downloading data containing the pressure sensor. The old sample format have no space left for any more data to be added to it.
I guess that the new device still supports the older download protocols from the Predator and Petrel, so just try do select Petrel and download. You should get logs from your computer, but without data from the pressure sensor.
Indeed, try first with the petrel protocol to see what we get there:
dctool -v -l petrel.log -f petrel download -f raw -o dive.%n.bin
<serialport>
This will dump the individual dives to disk and allow us to have a look at the raw data.
Jef
One other note:
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?
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.
Is native bluetooth on OS X a thing in libdivecomputer, or does libdivecomputer still require a serial port?
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.
-jon
On Wed, Nov 30, 2016 at 9:00 AM Jon Gross jong@jongrossphotography.com wrote:
I forgot to bring it to work with me this morning, but I'll give this a whirl when I get home, thank you.
-jon
On Wed, Nov 30, 2016 at 2:34 AM Jef Driesen jef@libdivecomputer.org wrote:
On 2016-11-30 08:25, Anton Lundin wrote:
On 29 November, 2016 - Jon Gross wrote:
I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
As far as I've read between the lines, there is a new protocol for downloading data containing the pressure sensor. The old sample format have no space left for any more data to be added to it.
I guess that the new device still supports the older download protocols from the Predator and Petrel, so just try do select Petrel and download. You should get logs from your computer, but without data from the pressure sensor.
Indeed, try first with the petrel protocol to see what we get there:
dctool -v -l petrel.log -f petrel download -f raw -o dive.%n.bin
<serialport>
This will dump the individual dives to disk and allow us to have a look at the raw data.
Jef
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.
Janice
On Nov 30, 2016, at 12:07 PM, Jon Gross jong@jongrossphotography.com wrote:
One other note:
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?
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.
Is native bluetooth on OS X a thing in libdivecomputer, or does libdivecomputer still require a serial port?
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.
-jon
On Wed, Nov 30, 2016 at 9:00 AM Jon Gross jong@jongrossphotography.com wrote:
I forgot to bring it to work with me this morning, but I'll give this a whirl when I get home, thank you.
-jon
On Wed, Nov 30, 2016 at 2:34 AM Jef Driesen jef@libdivecomputer.org wrote: On 2016-11-30 08:25, Anton Lundin wrote:
On 29 November, 2016 - Jon Gross wrote:
I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
As far as I've read between the lines, there is a new protocol for downloading data containing the pressure sensor. The old sample format have no space left for any more data to be added to it.
I guess that the new device still supports the older download protocols from the Predator and Petrel, so just try do select Petrel and download. You should get logs from your computer, but without data from the pressure sensor.
Indeed, try first with the petrel protocol to see what we get there:
dctool -v -l petrel.log -f petrel download -f raw -o dive.%n.bin
<serialport>
This will dump the individual dives to disk and allow us to have a look at the raw data.
Jef _______________________________________________ devel mailing list devel@libdivecomputer.org http://libdivecomputer.org/cgi-bin/mailman/listinfo/devel
Hey Janice,
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.
Thanks for confirming my suspicions.
On Wed, Nov 30, 2016 at 1:42 PM Janice McLaughlin janice@somemore.com wrote:
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.
Janice
On Nov 30, 2016, at 12:07 PM, Jon Gross jong@jongrossphotography.com
wrote:
One other note:
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?
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.
Is native bluetooth on OS X a thing in libdivecomputer, or does
libdivecomputer still require a serial port?
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.
-jon
On Wed, Nov 30, 2016 at 9:00 AM Jon Gross jong@jongrossphotography.com
wrote:
I forgot to bring it to work with me this morning, but I'll give this a
whirl when I get home, thank you.
-jon
On Wed, Nov 30, 2016 at 2:34 AM Jef Driesen jef@libdivecomputer.org
wrote:
On 2016-11-30 08:25, Anton Lundin wrote:
On 29 November, 2016 - Jon Gross wrote:
I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
As far as I've read between the lines, there is a new protocol for downloading data containing the pressure sensor. The old sample format have no space left for any more data to be added to it.
I guess that the new device still supports the older download protocols from the Predator and Petrel, so just try do select Petrel and download. You should get logs from your computer, but without data from the pressure sensor.
Indeed, try first with the petrel protocol to see what we get there:
dctool -v -l petrel.log -f petrel download -f raw -o dive.%n.bin
<serialport>
This will dump the individual dives to disk and allow us to have a look at the raw data.
Jef _______________________________________________ devel mailing list devel@libdivecomputer.org http://libdivecomputer.org/cgi-bin/mailman/listinfo/devel
So it looks like getting a connection to bluetooth LE devices isn't present in libdivecomputer - are there any current plans for this type of functionality to be implemented? It seems like a major addition, since there essentially isn't a Serial Port Profile in LE.
On Wed, Nov 30, 2016 at 1:44 PM Jon Gross jong@jongrossphotography.com wrote:
Hey Janice,
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.
Thanks for confirming my suspicions.
On Wed, Nov 30, 2016 at 1:42 PM Janice McLaughlin janice@somemore.com wrote:
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.
Janice
On Nov 30, 2016, at 12:07 PM, Jon Gross jong@jongrossphotography.com
wrote:
One other note:
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?
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.
Is native bluetooth on OS X a thing in libdivecomputer, or does
libdivecomputer still require a serial port?
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.
-jon
On Wed, Nov 30, 2016 at 9:00 AM Jon Gross jong@jongrossphotography.com
wrote:
I forgot to bring it to work with me this morning, but I'll give this a
whirl when I get home, thank you.
-jon
On Wed, Nov 30, 2016 at 2:34 AM Jef Driesen jef@libdivecomputer.org
wrote:
On 2016-11-30 08:25, Anton Lundin wrote:
On 29 November, 2016 - Jon Gross wrote:
I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
As far as I've read between the lines, there is a new protocol for downloading data containing the pressure sensor. The old sample format have no space left for any more data to be added to it.
I guess that the new device still supports the older download protocols from the Predator and Petrel, so just try do select Petrel and download. You should get logs from your computer, but without data from the pressure sensor.
Indeed, try first with the petrel protocol to see what we get there:
dctool -v -l petrel.log -f petrel download -f raw -o dive.%n.bin
<serialport>
This will dump the individual dives to disk and allow us to have a look at the raw data.
Jef _______________________________________________ devel mailing list devel@libdivecomputer.org http://libdivecomputer.org/cgi-bin/mailman/listinfo/devel
It would probably be a bit tricky to plumb bt le into libdivecomputer. It would be way easier with the custom-serial patches I wrote for Subsurface.
It would probably be simpler to do it in Subsurface, using a custom serial which uses Qt's QLowEnergy.
You could test with the Qt example http://doc.qt.io/qt-5/qtbluetooth-lowenergyscanner-example.html , too see how well the qt bt le works on your platform together with the new Perdix AI.
Then it comes down to: Do we think the protocol is the same over bt le as it was over bt spp?
//Anton
On 30 November, 2016 - Jon Gross wrote:
So it looks like getting a connection to bluetooth LE devices isn't present in libdivecomputer - are there any current plans for this type of functionality to be implemented? It seems like a major addition, since there essentially isn't a Serial Port Profile in LE.
On Wed, Nov 30, 2016 at 1:44 PM Jon Gross jong@jongrossphotography.com wrote:
Hey Janice,
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.
Thanks for confirming my suspicions.
On Wed, Nov 30, 2016 at 1:42 PM Janice McLaughlin janice@somemore.com wrote:
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.
Janice
On Nov 30, 2016, at 12:07 PM, Jon Gross jong@jongrossphotography.com
wrote:
One other note:
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?
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.
Is native bluetooth on OS X a thing in libdivecomputer, or does
libdivecomputer still require a serial port?
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.
-jon
On Wed, Nov 30, 2016 at 9:00 AM Jon Gross jong@jongrossphotography.com
wrote:
I forgot to bring it to work with me this morning, but I'll give this a
whirl when I get home, thank you.
-jon
On Wed, Nov 30, 2016 at 2:34 AM Jef Driesen jef@libdivecomputer.org
wrote:
On 2016-11-30 08:25, Anton Lundin wrote:
On 29 November, 2016 - Jon Gross wrote:
I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
As far as I've read between the lines, there is a new protocol for downloading data containing the pressure sensor. The old sample format have no space left for any more data to be added to it.
I guess that the new device still supports the older download protocols from the Predator and Petrel, so just try do select Petrel and download. You should get logs from your computer, but without data from the pressure sensor.
Indeed, try first with the petrel protocol to see what we get there:
dctool -v -l petrel.log -f petrel download -f raw -o dive.%n.bin
<serialport>
This will dump the individual dives to disk and allow us to have a look at the raw data.
Jef _______________________________________________ devel mailing list devel@libdivecomputer.org http://libdivecomputer.org/cgi-bin/mailman/listinfo/devel
On Nov 30, 2016, at 11:04 PM, Anton Lundin glance@acc.umu.se wrote: ...
Then it comes down to: Do we think the protocol is the same over bt le as it was over bt spp?
//Anton
Existing BLE iOS app’s like ours are working fine without changes. (Albeit without the additional pressure information). So it looks just like a Perdix.
Janice
On 01 December, 2016 - Janice McLaughlin wrote:
On Nov 30, 2016, at 11:04 PM, Anton Lundin glance@acc.umu.se wrote: ...
Then it comes down to: Do we think the protocol is the same over bt le as it was over bt spp?
//Anton
Existing BLE iOS app’s like ours are working fine without changes. (Albeit without the additional pressure information). So it looks just like a Perdix.
How have you integrated libdivecomputer with the bt le stack on iOS?
//Anton
On Dec 1, 2016, at 10:45 AM, Anton Lundin glance@acc.umu.se wrote:
On 01 December, 2016 - Janice McLaughlin wrote:
On Nov 30, 2016, at 11:04 PM, Anton Lundin glance@acc.umu.se wrote: ...
Then it comes down to: Do we think the protocol is the same over bt le as it was over bt spp?
//Anton
Existing BLE iOS app’s like ours are working fine without changes. (Albeit without the additional pressure information). So it looks just like a Perdix.
How have you integrated libdivecomputer with the bt le stack on iOS?
We haven’t - libdivecomputer doesn’t support BLE :-) But the protocol used is the same, just a different transport.
Janice
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.
Janice
On Nov 30, 2016, at 12:07 PM, Jon Gross jong@jongrossphotography.com wrote:
One other note:
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?
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.
Is native bluetooth on OS X a thing in libdivecomputer, or does libdivecomputer still require a serial port?
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.
-jon
On Wed, Nov 30, 2016 at 9:00 AM Jon Gross jong@jongrossphotography.com wrote:
I forgot to bring it to work with me this morning, but I'll give this a whirl when I get home, thank you.
-jon
On Wed, Nov 30, 2016 at 2:34 AM Jef Driesen jef@libdivecomputer.org wrote: On 2016-11-30 08:25, Anton Lundin wrote:
On 29 November, 2016 - Jon Gross wrote:
I have in my greedy little hands a Shearwater Perdix AI computer, which Shearwater says shares the same firmware with the Perdix and the Petrel, but it will have air consumption (if equipped with a sender).
Is there anything I can send a developer that would help with support or this? I didn't see it in the list of supported computers.
As far as I've read between the lines, there is a new protocol for downloading data containing the pressure sensor. The old sample format have no space left for any more data to be added to it.
I guess that the new device still supports the older download protocols from the Predator and Petrel, so just try do select Petrel and download. You should get logs from your computer, but without data from the pressure sensor.
Indeed, try first with the petrel protocol to see what we get there:
dctool -v -l petrel.log -f petrel download -f raw -o dive.%n.bin
<serialport>
This will dump the individual dives to disk and allow us to have a look at the raw data.
Jef _______________________________________________ devel mailing list devel@libdivecomputer.org http://libdivecomputer.org/cgi-bin/mailman/listinfo/devel