Re: [Bluez-users] ACL connection handle

Marcel Holtmann
2008-03-27T15:10:32Z

Hi Brad,

>> shouldn't be a big problem, but in general this belongs into the
>> kernel since userspace is not dealing with ACL and SCO/eSCO
>> connection
>> handling.
>
> I'll agree it would be cleaner in kernel. If it's to be handled in the
> kernel then I think we need some way like an ioctl so the userspace
> app can tell the kernel, before opening the sco connection, whether it
> should happen on pcm or hci. It would be handy to have a way for the
> app to ask the kernel where sco is going, in case the preferred
> transport wasn't available.

we would need to push the actual code into the drivers since the core
has to stay vendor free. For selecting the routing we could use a
socket option.

Regards