Hi,
On Fri, Mar 18, 2011, Denis Kenzior wrote:
> ---
> plugins/bluetooth.c | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++
> plugins/bluetooth.h | 7 +++
> 2 files changed, 129 insertions(+), 0 deletions(-)
So before you run too far with this I suggest you speak to Marcel and
Johan on whether handling SCO audio inside oFono is a good idea.
Personally I'd rather see this piece remain inside BlueZ, but I'm no
longer an expert in this area.
AFAIK the plan is still to have only one interface towards PulseAudio as
far as Bluetooth audio is concerned, and that's the Media interface in
BlueZ. So oFono shouldn't need any SCO support as such. What will be
needed though is for oFono to indicate to BlueZ once the SLC
establishment signaling commands are complete (so SCO connections are
neither accepted nor initiated before that) as well as for BlueZ to
indicate to oFono when SCO has been established (so e.g. RING
indications aren't sent prematurely in the case of in-band ring tone).
Johan