From: Johan Hedberg <johan.hedberg@gmail.com>
To: nirav rabara <niravrabara@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Unable to get AT+CKPD=200 (key press command )
Date: Mon, 18 Jan 2010 13:04:31 +0200 [thread overview]
Message-ID: <20100118110431.GA7547@jh-x301> (raw)
In-Reply-To: <912bb79a1001180205y18dee28dj628d0187f90e4ceb@mail.gmail.com>
Hi,
On Mon, Jan 18, 2010, nirav rabara wrote:
> I am connection HS by using "Connect" DBUS API of headset interface, I
> am able to connect with device, but when I press key single time on HS
> it's not showing AT+CKPD=200 (I kept debugg in source).
>
> But when I press HS key two times it show me,
>
> bluetoothd[815]: Received AT+BLDN
> bluetoothd[815]: Telephone indicator "callsetup" 0 -> 2
> bluetoothd[815]: Telephone indicator "callsetup" 2 -> 3
>
> and then when I press HS key single time it show following,
>
> bluetoothd[815]: Received AT+CHUP
> bluetoothd[815]: Telephone indicator "callsetup" 3 -> 0
> bluetoothd[815]: Received AT+BTRH?
>
> But I am not able to get AT+CKPD=200, It would be really appreciable
> if somebody guide/suggest me what should I do to get AT+CKPD=200 when
> connected through API "Connect" on DBUS.
AT+CKPD=200 is a feature of the Headset Profile (HSP). It seems like
you're connected using the Handsfree Profile (HFP) which would explain
why you are not getting AT+CKPD=200. You can toggle BlueZ HFP support
through /etc/bluetooth/audio.conf.
Johan
prev parent reply other threads:[~2010-01-18 11:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 10:05 Unable to get AT+CKPD=200 (key press command ) nirav rabara
2010-01-18 11:04 ` Johan Hedberg [this message]
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=20100118110431.GA7547@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=niravrabara@gmail.com \
/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).