[PATH] Add native Bluetooth support for Windows platforms

Claudiu Olteanu olteanu.vasilica.claudiu at gmail.com
Thu Aug 13 14:13:40 PDT 2015


These patches will add Bluetooth support for Windows platforms
and will fix some potential issues.

Since we cannot use the QtBluetooth framework I needed to
implement our custom Bluetooth device discovery agent.
I decided to create a separated class and raise the same signals
as QtBluetoothDeviceDiscoveryAgent class.

I am not sure if this is the best idea or the most elegant one but it works.

Claudiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Cleanup-Bluetooth-local-device-and-the-discovery-age.patch
Type: text/x-patch
Size: 1106 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0017.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Check-the-last-error-when-the-BTH-device-scanning-is.patch
Type: text/x-patch
Size: 1234 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0018.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Use-only-the-BTH-address-to-check-if-the-device-was-.patch
Type: text/x-patch
Size: 1476 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0019.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-set_timeout-callback-for-Bluetooth-custom-serial.patch
Type: text/x-patch
Size: 1578 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0020.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Add-skeleton-for-Bluetooth-custom-serial-implementat.patch
Type: text/x-patch
Size: 13564 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0021.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Add-implementation-for-BTH-custom-serial-open-method.patch
Type: text/x-patch
Size: 2356 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0022.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Add-implementation-for-BTH-custom-serial-close-metho.patch
Type: text/x-patch
Size: 901 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0023.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Add-implementation-for-BTH-custom-serial-read-method.patch
Type: text/x-patch
Size: 1255 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0024.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Add-implementation-for-BTH-custom-serial-write-metho.patch
Type: text/x-patch
Size: 1234 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0025.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Add-internal-method-which-returns-a-pretty-message-a.patch
Type: text/x-patch
Size: 1466 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0026.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-Add-implementation-for-our-custom-BTH-device-discove.patch
Type: text/x-patch
Size: 4807 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0027.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-Initialize-WinSock-and-hide-the-information-about-th.patch
Type: text/x-patch
Size: 1656 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0028.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-Wait-for-BTH-device-discovery-thread-to-finish-on-st.patch
Type: text/x-patch
Size: 1775 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0029.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-Add-implementation-for-add-remote-Bluetooth-device-h.patch
Type: text/x-patch
Size: 1761 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0030.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-Add-implementation-for-BTH-device-item-selection-on-.patch
Type: text/x-patch
Size: 1654 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0031.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-Get-a-pretty-print-message-when-a-device-discovery-e.patch
Type: text/x-patch
Size: 1088 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0032.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0017-Add-implementation-for-device-discovery-agent-initia.patch
Type: text/x-patch
Size: 1856 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150814/6dc01229/attachment-0033.bin>


More information about the subsurface mailing list