On Thu, 2011-02-10 at 12:28 +0000, ext Mark Brown wrote:
On Thu, Feb 10, 2011 at 02:10:40PM +0200, Matti J. Aaltonen wrote:
But I got the following quick comment from a local BT expert: "No you cannot change line discipline if bt is already in use. And it's not uart interface but hci interface. uart can be replaced with sdio for example and you still have the same hci interface."
Yes, it only works when the device is idle - if your device needs to be shared with other bits of the system while doing this you'd need to present a virtual interface up the way.
And a comment to the above from the earlier mentioned local BT expert: "It would need some hack to generic hci code. Or maybe some kind of management api extension. That should be a few line only.. but getting it to upstream sounds like mission impossible."