linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@tieto.com>
To: Prabhu Chawandi <foss.chaws@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: bluez/android
Date: Mon, 15 Jun 2015 14:12:47 +0200	[thread overview]
Message-ID: <4720167.a4B9p9nNG6@leonov> (raw)
In-Reply-To: <CAKafyqq_RN9syQgA3o8z0Wx_DN8O83i4A2S5Ns8N4-SWNyE4Mg@mail.gmail.com>

Hi Prabhu,

On Monday 15 of June 2015 17:06:41 Prabhu Chawandi wrote:
>  This is with respect to HFP profile.
> 
> While I pressed the Button on my HF device, service level connection
> is happening - BTHF_STATE_CONNECTED is coming.
> 
> But next callbacks are not coming on pressing of buttons - like voice
> recognition.
> 
> Can any body help me

HFP is a bit special since BfA provides only part of the implementation and 
rest is implemented in Android Framework. When HF device is connected SLC 
creation must happen. Most likely your HF device is sending some AT commands 
and you must response to those as per HFP specification. Only when all 
required SLC AT commands are handled state will be set to 
BTHF_STATE_SCL_CONNECTED. This is normally handled by Android Framework but if 
you are using haltest you must handle those on your own.

For details on how to setup SLC I recommend HFP specification lecture.

-- 
BR
Szymon Janc

  reply	other threads:[~2015-06-15 12:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 11:36 bluez/android Prabhu Chawandi
2015-06-15 12:12 ` Szymon Janc [this message]
2015-06-15 13:41   ` bluez/android Prabhu Chawandi
2015-06-15 14:15     ` bluez/android Szymon Janc
2015-06-15 14:59       ` bluez/android Prabhu Chawandi
2015-06-15 16:23         ` bluez/android Szymon Janc

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=4720167.a4B9p9nNG6@leonov \
    --to=szymon.janc@tieto.com \
    --cc=foss.chaws@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;
as well as URLs for NNTP newsgroup(s).