Import data from Scubapro Aladin Sport Matrix

Berthold Stoeger bstoeger at mail.tuwien.ac.at
Sun Oct 15 02:27:51 PDT 2017


Dear all,

I'm trying to import dive logs from a Scubapro Aladin Sport Matrix according to the 
manual. This is on Kubuntu 17.04 and subsurface compiled from source.

Pairing with bluetoothctl works as described, with the exception that I have to remove the 
device before pairing. Nevertheless, import fails. In qt-ble.cpp, l. 449 the 
"connectToDevice()" call returns immediately with the following console output:
> qt.bluetooth.bluez: Unknown l2cp socket error: 
> QBluetoothSocket::UnknownSocketError "Device or resource busy"
> qt.bluetooth.bluez: No settings found for peer device.
More details at the end of this mail.

Googling for the l2cp socket error I only found this:
https://bugreports.qt.io/browse/QTBUG-55150

I tried disconnecting after pairing in bluetoothctl, but this actually interrupts the 
connection and leads to a different failure mode.

Does that mean I have to wait for Kubuntu to ship with recent Qt? :(

Thank you,

Berthold

bluetoothctl session:
=====================

[bluetooth]# devices
Device 00:13:43:40:6E:9C Aladin Sport
[bluetooth]# remove 00:13:43:40:6E:9C
[DEL] Descriptor
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service000c/char000d/desc000f
        00002902-0000-1000-8000-00805f9b34fb
        Client Characteristic Configuration
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service000c/char000d
        00002a05-0000-1000-8000-00805f9b34fb
        Service Changed
[DEL] Primary Service
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service000c
        00001801-0000-1000-8000-00805f9b34fb
        Generic Attribute Profile
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0010/char0011
        00002a29-0000-1000-8000-00805f9b34fb
        Manufacturer Name String
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0010/char0013
        00002a24-0000-1000-8000-00805f9b34fb
        Model Number String
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0010/char0015
        00002a25-0000-1000-8000-00805f9b34fb
        Serial Number String
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0010/char0017
        00002a27-0000-1000-8000-00805f9b34fb
        Hardware Revision String
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0010/char0019
        00002a26-0000-1000-8000-00805f9b34fb
        Firmware Revision String
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0010/char001b
        00002a28-0000-1000-8000-00805f9b34fb
        Software Revision String
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0010/char001d
        00002a23-0000-1000-8000-00805f9b34fb
        System ID
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0010/char001f
        00002a50-0000-1000-8000-00805f9b34fb
        PnP ID
[DEL] Primary Service
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0010
        0000180a-0000-1000-8000-00805f9b34fb
        Device Information
[DEL] Descriptor
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0021/char0022/desc0024
        00002902-0000-1000-8000-00805f9b34fb
        Client Characteristic Configuration
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0021/char0022
        00002a19-0000-1000-8000-00805f9b34fb
        Battery Level
[DEL] Primary Service
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0021
        0000180f-0000-1000-8000-00805f9b34fb
        Battery Service
[DEL] Descriptor
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0025/char0026/desc0028
        00002902-0000-1000-8000-00805f9b34fb
        Client Characteristic Configuration
[DEL] Descriptor
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0025/char0026/desc0029
        0000290d-0000-1000-8000-00805f9b34fb
        Environmental Sensing Trigger Setting
[DEL] Descriptor
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0025/char0026/desc002a
        00002901-0000-1000-8000-00805f9b34fb
        Characteristic User Description
[DEL] Characteristic
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0025/char0026
        00002a6c-0000-1000-8000-00805f9b34fb
        Elevation
[DEL] Descriptor
        /org/bluez/hci0/dev_00_13_43_40_6E_9C/service0025/char002b/desc002d
        00002902-0000-1000-8000-00805f9b34fb
        Client Characteristic Configuration
[DEL] Descriptor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171015/40274d8b/attachment-0001.html>


More information about the subsurface mailing list