[TEST REQUEST] Windows Bluetooth LE build

Steve stevewilliams at internode.on.net
Sat Oct 6 17:00:25 PDT 2018


Subject: Re: [TEST REQUEST] Windows Bluetooth LE build

On Wed, 3 Oct 2018 at 01:38, Steve <stevewilliams at internode.on.net> wrote:
>
> Subject: Re: [TEST REQUEST] Windows Bluetooth LE build
>
>

hello,

> Ok I gave the new program a go on the Petrel2Ext but it is saying it doesn't support BTLE?
>
> It should be the first Petrel I tried but I haven't had coffee yet so I tried the other one that I no longer have  just in case I picked the wrong address.
>

<snip>

> device # 1
>  addr: "00:13:43:0C:65:AC"
>  name: "Petrel"
>  coreConfiguration: QFlags(0x2)

<snip>

it detected the Petrel as BT device not BTLE; this is what the 0x2 means.
if it supports both BT and BTLE it should be (0x1 | 0x2) or 0x1 or 0x3.

does this device support BTLE?

if yes, could you please try a couple of things:
- try scanning for the BTLE device again from the Windows Control Panel?
- try this new build of Subsurface once you have a paired BTLE computer:
https://www.dropbox.com/s/zslq3ughx9ciehj/_deploy_win32_ble.zip?dl=0

the new program can also be used point if the device is detected as BT / BTLE.

thanks
lubomir
--


Ok trying this build, first attempt it wasn't paired properly, second attempt it was but still not working. Output below:

Subsurface v4.8.2-75-g86f3d359ebb4,
built with libdivecomputer v0.7.0
built with Qt Version 5.9.5, runtime from Qt Version 5.10.1
built with libgit2 0.23.0
can't find Subsurface localization for locale "en-US"
Plugins Directory:  QDir( "D:/Documents/Diving/Software/subsurface/_deploy_win32_ble-3/_deploy_win32_ble/plugins" , nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters( Dirs|Files|Drives|AllEntries ) )
QPixmap::scaleHeight: Pixmap is a null pixmap
QPixmap::scaleHeight: Pixmap is a null pixmap
QPixmap::scaleHeight: Pixmap is a null pixmap
QPixmap::scaleHeight: Pixmap is a null pixmap
Set the current dive site: 0
Set the current dive site: 0

File locations:

cloud URL set as "https://cloud.subsurface-divelog.org//git/stevewilliams@internode.on.net[stevewilliams@internode.on.net]"
Local git storage: C:\Users\steve\AppData\Roaming\Subsurface/cloudstorage/f419375139b19f7f
Cloud URL: https://cloud.subsurface-divelog.org//git/stevewilliams@internode.on.net[stevewilliams@internode.on.net]
Image filename table: C:\Users\steve\AppData\Roaming\Subsurface/hashes
Local picture directory: C:\Users\steve\AppData\Roaming\Subsurface/picturedata/

QPixmap::scaleHeight: Pixmap is a null pixmap
Starting download from  BT
Unimplemented code.
qt_ble_open( 00:13:43:0D:DB:D4 )
"The system cannot find the path specified."
failed to connect to the controller  00:13:43:0D:DB:D4 with error "Remote device cannot be found"
Finishing download thread: "Unable to open LE:00:13:43:0D:DB:D4 Shearwater (Petrel 2)"
QPixmap::scaleHeight: Pixmap is a null pixmap
QPixmap::scaleHeight: Pixmap is a null pixmap
Set the current dive site: 0
Set the current dive site: 0
QPixmap::scaleHeight: Pixmap is a null pixmap
QPixmap::scaleHeight: Pixmap is a null pixmap
Starting download from  BT
Unimplemented code.
qt_ble_open( 00:13:43:0D:DB:D4 )
connected to the controller for device 00:13:43:0D:DB:D4
  .. discovering services
Found uuid: "{00001800-0000-1000-8000-00805f9b34fb}"
Found service "{00001800-0000-1000-8000-00805f9b34fb}"
 .. created service object QLowEnergyService(0xa56fee8)
Unable to open service "{00001800-0000-1000-8000-00805f9b34fb}" : "No more data is available."
Found uuid: "{0000180a-0000-1000-8000-00805f9b34fb}"
Found service "{0000180a-0000-1000-8000-00805f9b34fb}"
 .. created service object QLowEnergyService(0xa570068)
Found uuid: "{fe25c237-0ece-443c-b0aa-e02033e7029d}"
Found service "{fe25c237-0ece-443c-b0aa-e02033e7029d}"
 .. created service object QLowEnergyService(0x8a4c260)
Unable to get value for characteristic "{27b7570b-359e-45a3-91bb-cf7e70049bd2}" of the service "{fe25c237-0ece-443c-b0aa-e02033e7029d}" : "No attribute found within the given attribute handle range."
 .. done discovering services
Found service "{00001800-0000-1000-8000-00805f9b34fb}" "Generic Access"
Found service "{0000180a-0000-1000-8000-00805f9b34fb}" "Device Information"
   c: "{00002a29-0000-1000-8000-00805f9b34fb}"
Found service "{fe25c237-0ece-443c-b0aa-e02033e7029d}" "Unknown Service"
   c: "{27b7570b-359e-45a3-91bb-cf7e70049bd2}"
        d: "{00002901-0000-1000-8000-00805f9b34fb}"
        d: "{00002902-0000-1000-8000-00805f9b34fb}"
 .. ignoring standard service "{0000180a-0000-1000-8000-00805f9b34fb}"
Using service "{fe25c237-0ece-443c-b0aa-e02033e7029d}" as preferred service
 .. enabling notifications
Using read characteristic "{27b7570b-359e-45a3-91bb-cf7e70049bd2}"
now writing "0x0100" to the descriptor "{00002902-0000-1000-8000-00805f9b34fb}"
INFO: dc_device_open error value of 0
QTime("10:24:04.934") packet SEND "0100ff0105002e902000c0"
Deleting BLE object
Finishing download thread: "Dive data import error"
Set the current dive site: 0


Hopefully this is useful

Steve






More information about the subsurface mailing list