Bluetooth Headset (Only for MONO test)
attaboyu <[email protected]> Mon, 4 Aug 2008 14:41:06 +0800 (CST)
| Newsgroups | gmane.linux.bluez.user |
|---|---|
| Message-ID | <16515303.641251217832066401.JavaMail.coremail@bj163app113.163.com> |
hi everyone
I'm experimenting with the i-tech BlueBAND headset with bluez, this headset support HS,HF,A2DP and AVRCP profile, But for me, I only want to test the MONO for telephoning. it doesnt work well now.
toolchain: kernel 2.6.10, bluez-libs/utils-3.12, CSR BC4 UART interface
(the version of the toolchain is old, but I must work on that)
I will definitely test HeadSet profile, so btsco/snd-bt-sco are not included. and I use the hstest in bluez-utils. hcid,hciattach,sdpd are always work well.
when send audio to headset:
[root@root bin]$hstest play 1.wav 00:0D:3C:E8:1A:AC 2 &
Voice setting: 0x0060
RFCOMM channel connected
SCO audio channel connected (handle 45, mtu 64)
AT+VGS=11
AT+CKPD=200
AT+CKPD=200
AT+CKPD=200
AT+VGS=12
AT+VGS=11
AT+VGS=10
AT+VGS=11
AT+VGS=12
AT+CKPD=200
Here the headset beeps (it does that everytime a connection is initiated) and I can hear only some noise through it. By pressing one of the buttons on the headset I even see the AT-comands which are submitteted via the rfcomm channel. But no audio. A hcidump during the connection procedure shows just a normal looking bunch of hci and acl commands and events, but no sco packets whatsoever.
here the SCO is connected
[root@root bin]$hcitool con
Connections:
< SCO 00:0D:3C:E8:1A:AC handle 45 state 1 lm SLAVE
< ACL 00:0D:3C:E8:1A:AC handle 43 state 1 lm MASTER ENCRYPT
Am I doing something wrong or missing a step?
Thanks for your help and best regards
Tony
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users