[PATCH] QtBluetooth implementation

Claudiu Olteanu olteanu.vasilica.claudiu at gmail.com
Thu Jun 25 19:00:48 PDT 2015


I attached some patches for the QtBluetooth serial implementation.

The UI exposes the following functionalities:
- read information about the local device and its state
- scan for remote devices
- pair/unpair with a remote device (it doesn't work for custom PIN codes)
- turn on/off the local device
- logging
- data transfer (dive logs import)

For the moment the *qt_serial_bluetooth* implementation works
only with *hw_ostc3* and *hw_ostc* (hopefully :-) ). After you agree with
the modifications and the design of libdivecomputer project I will
start to add support for other vendors.

Known issues:
- during the installation of libdivecomputer, the *custom_serial* header
is not copied
- the pair command doesn't work with devices which require a specific PIN
code
- the design of the UI is ugly :-)

Cheers,
Claudiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-checkbox-and-button-for-Bluetooth-download-mode.patch
Type: text/x-patch
Size: 3965 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Implement-temporaty-UI-design-for-Bluetooth-selectio.patch
Type: text/x-patch
Size: 19478 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-dependencies-for-Qt-Bluetooth-libraries-and-for-.patch
Type: text/x-patch
Size: 1490 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Create-a-Bluetooth-device-selection-dialog.patch
Type: text/x-patch
Size: 2854 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Add-a-skelet-for-Bluetooth-serial-communication.patch
Type: text/x-patch
Size: 2211 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Implement-the-Qt-Bluetooth-serial-communication.patch
Type: text/x-patch
Size: 5817 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Make-the-qt_serial_open-method-callable-from-C.patch
Type: text/x-patch
Size: 803 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0015.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Use-the-Qt-Bluetooth-serial-implementation-when-it-i.patch
Type: text/x-patch
Size: 3138 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0016.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Fake-the-custom-open-function-for-OSTC-2N-devices.patch
Type: text/x-patch
Size: 1484 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150626/efefabfa/attachment-0017.bin>


More information about the subsurface mailing list