public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: lan zhu <zhu.lan.cn@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: question on A2DP sink suspend/resume
Date: Thu, 25 Jun 2009 14:26:09 +0800	[thread overview]
Message-ID: <113d36d80906242326g3f2ce8e3h6c779aa01d776b04@mail.gmail.com> (raw)
In-Reply-To: <113d36d80906242033p134edf27t12bda1d0359c4134@mail.gmail.com>

If we want to create SCO link when A2DP is in streaming state, we
shall suspend A2DP first and then establish SCO link. Conversely, we
shall resume A2DP link when we drop SCO link. The entire description
can be found in the Simultaneous use of HFP, A2DP, and AVRCP Profiles
Whitepaper on bluetooth org web site.
(https://www.bluetooth.org/Technical/Specifications/whitepapers.htm).

My question is,  I found there is no such sink_suspend or sink_resume
method in D-BUS API while these functions are all implemented in Bluez
audio module. I would like to know why don't put them to D-BUS API?
If we need to call these functions we have to expand the D-BUS API.

One more question is, is there a formal way to test SCO/A2DP
simultaneous case? we can't find a proper headset to test it because
those headsets are all well implemented with the simultaneous logic,
so there is no way to enter ourselves' code that handle this logic.
Can we test it by configurating some test tool such as PTS?


 Thanks,
 Zhu Lan

       reply	other threads:[~2009-06-25  6:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <113d36d80906242033p134edf27t12bda1d0359c4134@mail.gmail.com>
2009-06-25  6:26 ` lan zhu [this message]
2009-06-25  8:29   ` question on A2DP sink suspend/resume Johan Hedberg
2009-07-06 11:11     ` Lan Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=113d36d80906242326g3f2ce8e3h6c779aa01d776b04@mail.gmail.com \
    --to=zhu.lan.cn@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox