Hi Marcel,
On 2015.03.09. 18:21, Marcel Holtmann wrote:
Hi Andrejs,
If you do not need BR/EDR, you can switch that off and it might free the radio resources you need for the many LE connections.
Would someone please tell me how you do that? I haven't seen this
being done before. Is it an HCI command? ioctl command to the
kernel?
ControllerMode = le
in /etc/bluetooth/main.conf
which might at least need a 3.13.x kernel to actually work correctly. While the API is there, we have made significant fixes to the LE only mode in later kernels. Using a dual-mode controller in LE only mode actually needed some extra care.
As I said, if it is not 3.18.x or 3.19.x kernel, then personally I would not bet on it. We have made sure that bug fixes are put into the -stable kernels for these release. Anything older has no guarantee anymore.
Sure, I noticed that lots of work has been done lately in regard to LE,
so I'm indeed using 5.28 daemon@3.19.x kernel in LE-only mode and so far
so good.
One of the useful things which still seems to be missing is the control
over LE advertisements via D-Bus iface. "Discoverable" property change
does not affect LE advs. I'm currently using 'hciconfig hci0 leadv' to
make it work. But still, LE advs stop and do not re-start after adapter
is connected/disconnected to some peripheral.
Regards
Marcel
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html