On Sat, Jul 01, 2017 at 02:32:36PM -0700, Linus Torvalds wrote:
> On Sat, Jul 1, 2017 at 2:02 PM, Lubomir I. Ivanov <[email protected]> wrote:
> >
> > i don't own a BLE device yet, but maybe this can provide some
> > directions if BLE is to be supported on Windows eventually.
>
> Qt will have support for it eventually. Apparently there's already
> something for Win-RT in 5.9, and it's supposed to be expanded to
> support desktop Win10. So I think that's coming, it's just not there
> now.
>
> We had some issues with Bluez on the Linux desktop, but looking at the
> Perdix thing, it seems to be the case that the Linux desktop support
> is actually the best of the bunch in Qt right now.
So let me try to summarize my current state of BT/BLE support:
Linux with Qt 5.9.1
- BT should work fine
- BLE should work for G2 and the Shearwater dive computers
-- the EON Steel needs an additional Qt patch that will be in 5.10
(but for some reason neither Linus nor I understand can't be added
for 5.9.2)
- I haven't figured out how to build an AppImage with Qt 5.9.1
- none of the distros for which we build distro specific binaries is even
on 5.9, let alone 5.9.1
Windows (haven't built Qt 5.9.1 for that, yet)
- BT should work fine
- BLE not supported at all
Mac (ten hours into trying to build Qt 5.9.1 with QWebKit - no luck yet)
- BT works for Robert, doesn't work for me AT ALL
-- Qt documentation says that Qt gets no addresses from the Bt stack and
will always return 00:00:00:00:00:00
-- Robert says he gets addresses if he "waits long enough"
-- Qt documentation tells you to use the UUID instead of the address
-- paringStatus and other functions that we need can only be called with
an address, not with a UUID
-- when I try using the UUID instead of an address I get all-zeroes
UUIDs for some (but not all) devices - and have no idea how to use
the non-zero UUIDs throughout Subsurface to try to make the rest of
it work
I know that at some point (read about a year ago) BT worked for me on
the Mac as well - but right now on three different Macs I get zero
successful downloads from three different BT dive computers
- BLE compiles but is otherwise in the same state as the above
Android with Qt 5.9.1
- BT seems to work fine for me
- BLE works for the EON Steel
BLE doesn't work for the Perdix AI
I haven't had a chance to try it with the G2
iOS
- BT isn't supported
- BLE is on my todo list, but haven't had a chance to try it (given that
we have something like 200 users on iOS this isn't all that high as far
as priority goes)
Overall the state is pretty sad, TBH. We could use a LOT more help with
this, especially as the merge window will open tomorrow which means that
Linus will have no time for Subsurface for a while.
/D
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface