[TEST REQUEST] Windows Bluetooth LE build

Dirk Hohndel dirk at hohndel.org
Sat Jun 9 17:26:04 PDT 2018


> On Jun 9, 2018, at 4:59 PM, Linus Torvalds <torvalds at linux-foundation.org> wrote:
> 
> On Sat, Jun 9, 2018 at 4:44 PM Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>> 
>> @DC_VERSION@ = e97a47cca55973199715df0f818b4955e60d3a31
>> that's due to dodging autotools on Windows.
> 
> Hmm. You're missing the "Re-instate the lack of handshaking for the
> Scubapro Aladin Sport Matrix" commit, but it doesn't matter for
> anything else.
> 
> I don't think the "echo" thing is from any serial line echo, I think
> it's just that the dive computer is supposed to echo back the commands
> to you as a kind of "ack" (well, _some_ dive computers do that, the
> protocols are all different).

Yes, I believe that is indeed the case. I no longer have a working OSTC,
so I can't test that, but I will test my other BLE dive computers this afternoon.

> So this is not a "you have to implement echo in the LE stack" issue.
> 
> Your debug log doesn't actually have the IO that is done. That seems
> to be a Qt issue. We ask for debug output, and some versions of Qt
> will give that:
> 
>        QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth*
> = true"));
> 
> and others will apparently just ignore it.

IIRC that depends on how Qt is built. Since Lubomir builds his own
Qt for this purpose, we should be able to adjust this behavior

> I wonder if we should just add data debugging to our
> characteristcStateChanged() and characteristicWritten() functions,
> just so that we'd get that packet output even when Qt doesn't do it.

I think that would be smart especially for new BLE devices

/D


More information about the subsurface mailing list