[PATCH] Bluetooth improvements

Claudiu Olteanu olteanu.vasilica.claudiu at gmail.com
Sun Jul 19 05:06:15 PDT 2015


Thanks for the info, Rick!

Did you tried to download the dives after you paired the devices
manually (using bluetoothctl)?

Currently the QtBluetooth library doesn't have an agent which
can be used to set a custom PIN code on pairing step [1]. I don't
know when they will implement it. The pairing step must be
done only once when you connect a new device to the computer.
Therefore we decided to postpone the implementation of a custom
agent.

The only way to test if the pairing command was triggered from our
widget is to open a default agent in the background and see if the
PIN code request is raised. One solution is to use the bluetoothctl
tool:
> agent KeyboardOnly
> default-agent

Unfortunately I don't know why some devices need a pairing code
and others don't need one. As I said before, I assume that they are
smarter and they try some basic PIN codes on the authentication
step.

Claudiu


[1] - https://bugreports.qt.io/browse/QTBUG-42740
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150719/3bb6d0f1/attachment.html>


More information about the subsurface mailing list