Error import dives from Aladin Sport

124 views
Skip to first unread message

Sébastien Blin

unread,
Feb 8, 2022, 4:52:06 PM2/8/22
to Subsurface Divelog
Hello 
I'm completely new to Subsurface and tried to import my first dive from my computer and I always get the error 'Dive data import error'.

Capture.JPG
My OS is Windows 10 and my aladin is connected with a Bluetooth connection.
I'm using the latest release of scubapro 5.0.6 (but also tried various previous releases, with the same result)

Importing the die with Scubapro Logtrack is working fine.
Here are the log files generated. 
 
Does anyone has an idea to make it work? 

Thanks
Sébastien

subsurface_out.log
subsurface_err.log
subsurface.log

Dirk Hohndel

unread,
Feb 8, 2022, 5:13:47 PM2/8/22
to Subsurface Divelog, Linus Torvalds
Hi Sébastien

Looking through the log files (thank you so much for attaching these) I can tell that you are talking to the correct device:

downloading all dives
qt_ble_open( 00:13:43:B3:B7:8C )
...
Found service "{fdcdeaaa-295d-470e-bf15-04217b7aa0a0}"
 .. recognized service ScubaPro G2

so that looks good. Now pick the right characteristic and write the first command to it

starting service characteristics discovery
   .. service state changed to QLowEnergyService::DiscoveringServices
   .. service state changed to QLowEnergyService::ServiceDiscovered
 .. done discovering services
Found service "{fdcdeaaa-295d-470e-bf15-04217b7aa0a0}" "Unknown Service"
   c: "{a188b7dd-debb-449a-852d-c243d46b4b1a}"
   c: "{aa0c68f0-ea9c-493d-8112-62879e72af68}"
        d: "{00002902-0000-1000-8000-00805f9b34fb}"
Using service "{fdcdeaaa-295d-470e-bf15-04217b7aa0a0}" as preferred service
 .. enabling notifications
Using read characteristic "{aa0c68f0-ea9c-493d-8112-62879e72af68}"
now writing "0x0100" to the descriptor "{00002902-0000-1000-8000-00805f9b34fb}"

all this up to here is exactly what we'd expect. But instead of successful communication, we get a write error:

error discovering service details QLowEnergyService::DescriptorWriteError
QTime("22:39:30.912") packet SEND "0110"
QTime("22:39:30.912") packet WAIT
error discovering service details QLowEnergyService::CharacteristicWriteError
Deleting BLE object

and then give up...

Not sure what to tell you. Linus, any idea?

/D

Linus Torvalds

unread,
Feb 8, 2022, 5:29:20 PM2/8/22
to Dirk Hohndel, Subsurface Divelog
On Tue, Feb 8, 2022 at 2:13 PM Dirk Hohndel <di...@hohndel.org> wrote:
>
> Not sure what to tell you. Linus, any idea?

No idea. That

error discovering service details

is just what we print out when the Qt 'ServiceError' signal happens.
It shouldn't happen during normal operation, afaik.

The qt docs at

https://doc.qt.io/qt-5/qlowenergyservice.html#ServiceError-enum

say that the particular error we get is

An attempt to write a new value to a descriptor failed. For
example, it might be triggered when attempting to write to a read-only
descriptor.

(and then later basically the same for the characteristic), but I
don't see why/how that should happen. The Scubapro G2 service is one
we explicitly know about, those shouldn't be read-only.

I think you have my G2, don't you? Afgaik you used it for the
fingerprint testing, and it worked fine since. I don't think any of
the BLE code has changed at all.

Linus

Dirk Hohndel

unread,
Feb 8, 2022, 5:30:43 PM2/8/22
to Linus Torvalds, Subsurface Divelog


> On Feb 8, 2022, at 2:29 PM, Linus Torvalds wrote:
>
> I think you have my G2, don't you? Afgaik you used it for the
> fingerprint testing, and it worked fine since. I don't think any of
> the BLE code has changed at all.

Ahh, good point. I'll turn on my Windows machine and give it a spin.

/D

Ivar Fennema

unread,
Apr 6, 2022, 8:46:27 AM4/6/22
to Subsurface Divelog
Hi,
The behavior reported by Sébastien looks very much like what I continue to experience. I've mentioned it earlier in this post, but never got a response:  Scubapro Aladin Matrix H bluetooth dive data import error. I've tried about everything, including from multiple Windows based laptops, but nothing helped to import dives via BLE. However, it used to work flawlessly until around May, 2021.
My workaround is to import the data on my iPhone first using the excellent Subsurface iOS app. I then do a forced sync to cloud, allowing me to complete the dive data and import from my Galileo Sol over IrDA from my Windows based laptop.

Hth -ivar
Op dinsdag 8 februari 2022 om 23:30:43 UTC+1 schreef Dirk:

fetzy...@gmail.com

unread,
May 2, 2022, 4:47:53 AM5/2/22
to Subsurface Divelog
Good Morning everyone!
Hope this is the right conversation. I updated the Aladin Sport Matrix Firmware to versione 2.1 and after that I was unable to download any dive on Subsurface. 
My version is the latest one, 5.0.8. and my Os is macOS Catalina 10.15.7.
Is there any file I could send to help?

Thank you in advance
Federico

Reply all
Reply to author
Forward
0 new messages