[TEST REQUEST] Windows Bluetooth LE build

Lubomir I. Ivanov neolit123 at gmail.com
Sat Sep 29 14:56:23 PDT 2018


On Sun, 30 Sep 2018 at 00:47, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>
> On Sun, 30 Sep 2018 at 00:43, Dirk Hohndel <dirk at hohndel.org> wrote:
> >
> >
> > > On Sep 29, 2018, at 2:29 PM, Lubomir I. Ivanov <neolit123 at gmail.com> 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 binaries?
> >
> > http://subsurface-divelog.org/downloads/test/WINBLE-subsurface-4.8.3-6-g4486c66f498a.exe
> >
> > I tried to enable the BLE discovery logging, but that didn't quite work, it seems.
> > You mentioned that this needs a debug build (which doesn't appear to be the case on other OSs)...
> > so this will need more tinkering :-/
> >
>
> i'm seeing one problem with our source code. this should be wrapped in:
>
> #if !defined(Q_OS_WIN)
> ...
> #endif
>
> https://github.com/Subsurface-divelog/subsurface/blob/master/core/qt-ble.cpp#L408-L409
>
> random addresses should not be used on Win32.
>

but it feels like the function is a NOP on Windows, we need to test if
that's the case by disabling it:
http://doc.qt.io/qt-5/qlowenergycontroller.html#setRemoteAddressType

lubomir
--


More information about the subsurface mailing list