linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unable to get AT+CKPD=200 (key press command )
@ 2010-01-18 10:05 nirav rabara
  2010-01-18 11:04 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: nirav rabara @ 2010-01-18 10:05 UTC (permalink / raw)
  To: linux-bluetooth

Hi,
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.

-- 
With Regards,
Nirav Rabara

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Unable to get AT+CKPD=200 (key press command )
  2010-01-18 10:05 Unable to get AT+CKPD=200 (key press command ) nirav rabara
@ 2010-01-18 11:04 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2010-01-18 11:04 UTC (permalink / raw)
  To: nirav rabara; +Cc: linux-bluetooth

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-18 11:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 10:05 Unable to get AT+CKPD=200 (key press command ) nirav rabara
2010-01-18 11:04 ` Johan Hedberg

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).