Thread (6 messages) flat view 6 messages, 3 authors, 2015-06-15

Re: bluez/android

From: Prabhu Chawandi <hidden>
Date: 2015-06-15 13:41:32

Hi Szymon,

   Thanks for your reply. I was debugging further, I noticed that
while connecting at service level, there is CIND callback
(cind_cmd_cb) is coming which is for Call Indicator AT CMD.
I am curious to know, how it is happening, which can help me to
understand and  try for other call backs.

MayThanks,
Prabhu

On Mon, Jun 15, 2015 at 5:42 PM, Szymon Janc [off-list ref] wrote:
Hi Prabhu,

On Monday 15 of June 2015 17:06:41 Prabhu Chawandi wrote:
quoted
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help