2005-06-04 13:19:15

by Frank Pieczynski

[permalink] [raw]
Subject: [Bluez-users] Protocol error in btsco

Hello,
I try to play a short wav file, it works. But after on of the next tries the
connection dies somehow with "Protocol error"
hcidump attached.
Thanks,
Frank

btsco v0.4a
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 6 connected
recieved AT+VGS=9
Sending up speaker change 9
driver is in use
connected SCO channel
Done setting sco fd
speaker volume: 9 mic volume: 14
driver is not in use
disconnected SCO channel
speaker volume: 9 mic volume: 14
driver is in use
Can't connect SCO audio channel
: Protocol error
driver is in use
Can't connect SCO audio channel
: Connection timed out


config data:
Dell TrueMobile 350 in Latitude X1
Head set BT201 (noname)

Gentoo Kernel 2.6.11-gentoo-r9
btsco 0.4a (gentoo ebuild)
bluetooth-alsa 1.6-r2
bluez-libs 2.16-r1
bluez-utils 2.16-r1

lati btsco-0.4a # hciconfig -a
hci0: Type: USB
BD Address: 00:10:C6:XX:XX:XX ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:146748 acl:19 sco:2845 events:89 errors:0
TX bytes:145295 acl:19 sco:2829 commands:46 errors:0
Features: 0xff 0xff 0x9f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'BlueZ (0)'
Class: 0x3e0100
Service Classes: Networking, Rendering, Capturing
Device Class: Computer, Uncategorized
HCI Ver: 1.2 (0x2) HCI Rev: 0x679 LMP Ver: 1.2 (0x2) LMP Subver: 0x679
Manufacturer: Cambridge Silicon Radio (10)


lati btsco-0.4a # hciconfig hci0 revision
hci0: Type: USB
BD Address: 00:10:C6:XX:XX:XX ACL MTU: 384:8 SCO MTU: 64:8
Build 1657
Chip version: BlueCore4-External
Max key size: 128 bit
SCO mapping: HCI
Panic code: 0x22


lati btsco-0.4a # hcitool info 00:0E:DA:XX:XX:XX
Requesting information ...
BD Address: 00:0E:DA:XX:XX:XX
Device Name: BT201
LMP Version: 1.1 (0x1) LMP Subversion: 0xc70
Manufacturer: Transilica, Inc. (24)
Features: 0xbf 0xf8 0x31 0x00 0x00 0x00 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <sniff mode> <SCO link>
<HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD>

lati btsco-0.4a # sdptool search --bdaddr 00:0E:DA:XX:XX:XX 0x1108
Class 0x1108
Searching for 0x1108 on 00:0E:DA:XX:XX:XX ...
Service Name: Headset
Service RecHandle: 0x20000
Service Class ID List:
"Headset" (0x1108)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 6
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Headset" (0x1108)
Version: 0x0100


Attachments:
(No filename) (2.74 kB)
bt-trc.txt (17.52 kB)
Download all attachments

2005-06-04 13:49:11

by Frank Pieczynski

[permalink] [raw]
Subject: Re: [Bluez-users] Protocol error in btsco

On Saturday 04 June 2005 15:19, Frank Pieczynski wrote:
> I try to play a short wav file, it works. But after on of the next tries
> the connection dies somehow with "Protocol error"
some addtitional info (I discovered the -V of hcidump):

< HCI Command: Add SCO Connection (0x01|0x0007) plen 4
handle 47 ptype 0x00e0
Packet type: HV1 HV2 HV3
> HCI Event: Command Status (0x0f) plen 4
Add SCO Connection (0x01|0x0007) status 0x00 ncmd 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 47 slots 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x24 handle 47 bdaddr 00:0E:DA:XX:XX:XX type SCO encrypt 0x00
Error: LMP PDU Not Allowed
> HCI Event: Max Slots Change (0x1b) plen 3
handle 47 slots 5

What is wrong here?
Frank


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users