Very timid beginning framework for BLE communication

Linus Torvalds torvalds at linux-foundation.org
Wed Apr 19 15:45:09 PDT 2017


On Wed, Apr 19, 2017 at 12:17 PM, Linus Torvalds
<torvalds at linux-foundation.org> wrote:
> Dirk, Anton, (and possibly others who currently use RFCOMM),

Side note: does the bluetooth code actually work on MacOS at all?

Because as part of reading the Qt Bluetooth docs (I'm resigned to
having to look at this myself), I noticed that the docs clearly say
that the "QBluetoothDeviceInfo::address()" data is invalid on MacOS
and iOS, and that you should use deviceUuid() instead.

I have a patch that tries to abstract the address use (attached), but
maybe the docs are just wrong. I have neither a mac nor a rfcomm dive
computer to test with.

So this patch may be pure garbage. Throwing it out here for comments
just in case.

                  Linus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-QtBluetooth-Use-deviceUuid-instead-of-address-on-Mac.patch
Type: text/x-patch
Size: 4434 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170419/25213832/attachment.bin>


More information about the subsurface mailing list