Very timid beginning framework for BLE communication

Linus Torvalds torvalds at
Sun Apr 23 16:47:59 PDT 2017

On Sun, Apr 23, 2017 at 1:49 PM, Anton Lundin <glance at> wrote:
> As far as I've understood things, even the scan for devices are
> completely different, so is the reason that Qt merges the two scan
> results?

So as far as Qt seems to be concerned, "scan for devices" is all
exactly the same. Only after the scan does the whole LE vs RFCOMM come
into play.

So I'd rather share the scanning code, because I think that all can be common.

> That said, I would have liked to see that device pop up as two in the
> device list, so you can choose if you would like to talk rfcomm to it or
> btle.

I have no idea whether that is how it can actually work.

I *think* it shows up as one device as far as the Qt layer is
concerned, and then you can look at the device->coreConfigurations()
to see what different configurations it supports.


More information about the subsurface mailing list