RE: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Steve
I haven't had a chance to test again yet as I am away gathering more real test data :). I can test again when I get back on Monday nigh t or Tuesday morning. Sent from mobile device. From: Lubomir I. Ivanov Sent: Saturday, 29 September, 00:23 Subject: Re: [TEST REQUEST] Windows Bluetoo

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sat, 29 Sep 2018 at 16:43, Steve wrote: > > > Got a chance to test this again with a good charge in the battery and it > completed successfully all the way this time. > > Let me know if you want the logs but I can report it all it all looks good. > thanks for testing Steve, at least now we kn

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sat, 29 Sep 2018 at 04:18, Lubomir I. Ivanov wrote: > > On 29 September 2018 at 04:13, Dirk Hohndel wrote: > > > >> On Sep 28, 2018, at 6:05 PM, Lubomir I. Ivanov wrote: > >>> Nope, much easier. Case sensitive file system. Simply changing it to > >>> winsock2.h does the trick. > >>> > >> > >

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sat, 29 Sep 2018 at 18:55, Lubomir I. Ivanov wrote: > > On Sat, 29 Sep 2018 at 04:18, Lubomir I. Ivanov wrote: > > > > On 29 September 2018 at 04:13, Dirk Hohndel wrote: > > > > > >> On Sep 28, 2018, at 6:05 PM, Lubomir I. Ivanov > > >> wrote: > > >>> Nope, much easier. Case sensitive file

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 28, 2018, at 8:19 PM, Lubomir I. Ivanov wrote: > > i can investigate their binary a little. > we also have the option to just ask them - are they friendly? They are VERY friendly. I'll reach out to them. But as you mentioned, their's is a C# app, so things might be different there. Can

last call 4.8.3

2018-09-29 Thread Dirk Hohndel
I see that the Swedish translation is in progress, so I'll take my dog for a walk before cutting 4.8.3 :-) If anyone else is working on translations or anything else that should make it for 4.8.3, please respond soon so I can make sure I include this. Also, for those of you doing translations,

Re: last call 4.8.3

2018-09-29 Thread Matt Thompson
Just ran through a few things on Windows 10. Was able to download dives from both my Cobalt 2 and Aqualung i750TC. Navigating dives and switching between computers was working. Map updated correctly when switching between dives. I was able to upload dives to the cloud and sync them to the mobil

Re: last call 4.8.3

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 11:45 AM, Matt Thompson wrote: > > Just ran through a few things on Windows 10. Was able to download dives from > both my Cobalt 2 and Aqualung i750TC. Navigating dives and switching between > computers was working. Map updated correctly when switching between dives.

Re: last call 4.8.3

2018-09-29 Thread Johan Hansson
Swedish translation is as good as it gets at the moment. I’m reworking most part of it , and it will take time, so go ahead and release and hope for the best :-) /Johan > 29 sep. 2018 kl. 20:10 skrev Dirk Hohndel : > > > I see that the Swedish translation is in progress, so I'll take my dog

Mobile: QML weirdness (likely Kirigami bug)

2018-09-29 Thread Jan Mulder
Ok, yesterday I wrote "So needed: revert both 17ec95e70c3ae58 and 40766db459b21. Bug is related to the page stack and swiping through dives and returning to the list by the breadcrumb (instead of the menu). Sometimes this results in a page that shows both the divelist and the divedetail page

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sat, 29 Sep 2018 at 20:26, Dirk Hohndel wrote: > > > > On Sep 28, 2018, at 8:19 PM, Lubomir I. Ivanov wrote: > > > > i can investigate their binary a little. > > we also have the option to just ask them - are they friendly? > > They are VERY friendly. I'll reach out to them. But as you mention

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sat, 29 Sep 2018 at 20:26, Dirk Hohndel wrote: > > > > On Sep 28, 2018, at 8:19 PM, Lubomir I. Ivanov wrote: > > > > i can investigate their binary a little. > > we also have the option to just ask them - are they friendly? > > They are VERY friendly. I'll reach out to them. yes, after findin

Subsurface 4.8.3 and Subsurface-mobile 2.1.4 have been released

2018-09-29 Thread Dirk Hohndel
Hi everyone, Yeah, this was a bit of a rush job, but I think it worked out well. Sources and tags are pushed, including tar balls. The binaries are all up, including for the first time Ubuntu Cosmic (18.10) packages. The mobile app updates have been submitted, but haven't made it to the respect

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 1:24 PM, Lubomir I. Ivanov wrote: >> >> In the meantime, I completed a compile of Qt 5.11.2 from source, added >> your wip/win qtconnectivity and did a make install to make sure that ALL >> of the files are copied to the right place. >> >> I created an installer from that

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 1:30 PM, Lubomir I. Ivanov wrote: > if such a helper is to be built: > - it has to be built using the Windows SDK and MSVC as standalone app > and not as a library. > - if we get it to work with an older dot-net version it's going to be > OK, if not we need to force users to

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 00:07, Steve wrote: > > I found a minute to test with the petrel2 and could not get it to work. > I also deleted the pairing with the pc and re-paired without success. > See attached screenshot and log files. > I don't have a lot of time to test for till Tuesday but might be

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 00:25, Steve wrote: > > Ok another test but this time even though I paired with Windows settings > properly twice and it said it was setup it looked to me as if it was not > paired correctly so I tried with Bluetooth LE Explorer and paired with that > (as I did for the OS

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 2:29 PM, Lubomir I. Ivanov wrote: >> >> Subsurface v4.8.2-74-g110fbbf7dbb3, >> built with libdivecomputer v0.7.0 >> built with Qt Version 5.9.5, runtime from Qt Version 5.10.1 So these tests are still with an older binary. Would it make sense to start testing with newer bi

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 00:43, Dirk Hohndel wrote: > > > > On Sep 29, 2018, at 2:29 PM, Lubomir I. Ivanov wrote: > >> > >> Subsurface v4.8.2-74-g110fbbf7dbb3, > >> built with libdivecomputer v0.7.0 > >> built with Qt Version 5.9.5, runtime from Qt Version 5.10.1 > > So these tests are still with a

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Linus Torvalds
On Sat, Sep 29, 2018 at 2:25 PM Steve wrote: > > Ok another test but this time even though I paired with Windows settings > properly twice and it said it was setup it looked to me as if it was not > paired correctly so I tried with Bluetooth LE Explorer and paired with that > (as I did for the

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 00:47, Lubomir I. Ivanov wrote: > > On Sun, 30 Sep 2018 at 00:43, Dirk Hohndel wrote: > > > > > > > On Sep 29, 2018, at 2:29 PM, Lubomir I. Ivanov > > > wrote: > > >> > > >> Subsurface v4.8.2-74-g110fbbf7dbb3, > > >> built with libdivecomputer v0.7.0 > > >> built with Qt

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Linus Torvalds
On Sat, Sep 29, 2018 at 2:47 PM Lubomir I. Ivanov wrote: > > random addresses should not be used on Win32. Afaik, the dive computers that need random addresses will simply not respond to the static ones. It's not a "choice" you can make. It's the other end that says that they need a random addre

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 00:57, Linus Torvalds wrote: > > On Sat, Sep 29, 2018 at 2:47 PM Lubomir I. Ivanov wrote: > > > > random addresses should not be used on Win32. > > Afaik, the dive computers that need random addresses will simply not > respond to the static ones. > > It's not a "choice" you

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 2:57 PM, Linus Torvalds > wrote: > > On Sat, Sep 29, 2018 at 2:47 PM Lubomir I. Ivanov wrote: >> >> random addresses should not be used on Win32. > > Afaik, the dive computers that need random addresses will simply not > respond to the static ones. > > It's not a "choi

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 3:07 PM, Lubomir I. Ivanov wrote: > >> >> Interestingly enough, the two BLE dive computers I tried with are >> both Shearwaters who AFAIK require random addresses. I don't >> see, however, how that would cause the error pairing. >> >> The third one (Suunto EON Steel) I co

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 00:07, Steve wrote: > Steve, if you have a minute could you please test this installer again (the link is the same): https://www.dropbox.com/s/zslq3ughx9ciehj/_deploy_win32_ble.zip?dl=0 has a minor update. this is just a shot in the dark but it disables explicit random add

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Linus Torvalds
On Sat, Sep 29, 2018 at 3:03 PM Dirk Hohndel wrote: > > Interestingly enough, the two BLE dive computers I tried with are > both Shearwaters who AFAIK require random addresses. I don't > see, however, how that would cause the error pairing. Yeah, the pairing should work at the Windows side, but t

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 3:23 PM, Linus Torvalds > wrote: > >> The third one (Suunto EON Steel) I couldn't figure out how to even >> pair with Windows 10... > > Yes, the EON Steel and Core are hard to pair to begin with. It's black > magic under Linux too, you need to do special things with bluet

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Linus Torvalds
On Sat, Sep 29, 2018 at 3:26 PM Dirk Hohndel wrote: > > But I do care about the Perdix AI and the Teric, because BLE is the only > way to download from them... Oh, agreed. And it might indeed be about that random address thing, for all we know. It *is* one of the things that is special about the

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 01:14, Dirk Hohndel wrote: > > > > On Sep 29, 2018, at 3:07 PM, Lubomir I. Ivanov wrote: > > > >> > >> Interestingly enough, the two BLE dive computers I tried with are > >> both Shearwaters who AFAIK require random addresses. I don't > >> see, however, how that would cause

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 01:41, Lubomir I. Ivanov wrote: > > On Sun, 30 Sep 2018 at 01:14, Dirk Hohndel wrote: > > > > > > > On Sep 29, 2018, at 3:07 PM, Lubomir I. Ivanov > > > wrote: > > > > > >> > > >> Interestingly enough, the two BLE dive computers I tried with are > > >> both Shearwaters wh

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 01:14, Dirk Hohndel wrote: > > > > On Sep 29, 2018, at 3:07 PM, Lubomir I. Ivanov wrote: > > > >> > >> Interestingly enough, the two BLE dive computers I tried with are > >> both Shearwaters who AFAIK require random addresses. I don't > >> see, however, how that would cause

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 6:28 PM, Lubomir I. Ivanov wrote: > > could you please download the following zip when you have a minute: > https://www.dropbox.com/s/dem58v91bk6qcjj/qt-bt-discovery.zip?dl=0 > I get a 404 with that link /D ___ subsurface mail

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 04:34, Dirk Hohndel wrote: > > > > On Sep 29, 2018, at 6:28 PM, Lubomir I. Ivanov wrote: > > > > could you please download the following zip when you have a minute: > > https://www.dropbox.com/s/dem58v91bk6qcjj/qt-bt-discovery.zip?dl=0 > > > sorry, copy pasted a WIP link.

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 3:58 PM, Lubomir I. Ivanov wrote: > oh, our discovery seems to happen in the front end. > https://github.com/Subsurface-divelog/subsurface/blob/master/desktop-widgets/btdeviceselectiondialog.cpp > > with the custom WinBluetoothDeviceDiscoveryAgent > i remembered now. > http

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Lubomir I. Ivanov
On Sun, 30 Sep 2018 at 04:40, Dirk Hohndel wrote: > > > > On Sep 29, 2018, at 3:58 PM, Lubomir I. Ivanov wrote: > > oh, our discovery seems to happen in the front end. > > https://github.com/Subsurface-divelog/subsurface/blob/master/desktop-widgets/btdeviceselectiondialog.cpp > > > > with the cus

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
> On Sep 29, 2018, at 6:28 PM, Lubomir I. Ivanov wrote: > > this is a minimal Qt application that includes BT device discovery. > > 1) it will first ask you to press enter to start > make sure the BTLE devices are turned on / have battery. > 2) it might take a while... It sits there, nothing h

RE: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
Using the dreadful Windows Mail client… but hey, I get to copy and paste :-) press to start discovery... discovery started... entering main loop... qt.bluetooth.windows: Emit: "DB:3B:75:83:D8:6E" discovery finished enumerate devices --- device # 0 addr: "DB:3B:75:83

RE: [TEST REQUEST] Windows Bluetooth LE build

2018-09-29 Thread Dirk Hohndel
Latest test binary: http://subsurface-divelog.org/downloads/test/WINBLE-subsurface-4.8.3-12-g2952cd818617.exe This basically removes all the Q_OS_WIN code and uses the Linux path for Windows: Emit: "DB:3B:75:83:D8:6E" Starting download from BT qt_ble_open( DB:3B:75:83:D8:6E ) connected to the