From: Pedro Monjo Florit <pedro.monjo@futurlink.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Protocol errors
Date: Wed, 08 Jun 2005 17:48:51 +0200 [thread overview]
Message-ID: <42A71363.9050003@futurlink.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
Hi all:
I am running an application on a computer that has many handheld devices
withing range. Obviously, these devices all have bluetooth enabled and
the communication is done using bluetooth protocols. From time to time I
get some strange errors. I have run hcidump and I have attached the
results. These are only fragments, as the application is running
continuously.
* In hcidump1.txt, there is a response to an SDP query. Everything
goes well until "srv rec #5", when another SDP query is sent to
(apparently) a different device. At this point, the communication
aborts and the ERROR line is shown. Has anybody any idea why is
this happening? Has anybody seen this before?
* In hcidump2.txt, there is a line with "ERROR: Unknown PDU ID:
0x4b". As I understand it, this means that a device has sent an
illegal L2CAP message. If this is correct, then it means that the
device has a broken bluetooth implementation. Another possibility
would be that BlueZ does not handle all messages. Any ideas?
Thank you and regards,
Pedro
[-- Attachment #2: hcidump1.txt --]
[-- Type: text/plain, Size: 5452 bytes --]
> ACL data: handle 0x0029 flags 0x01 dlen 164
L2CAP(d): cid 0x0040 len 672 [psm 1]
SDP SSA Rsp: tid 0x0 len 0x29b
cnt 0x28e
srv rec #0
aid 0x0000 (SrvRecHndl)
uint 0x10000
aid 0x0001 (SrvClassIDList)
< uuid-16 0x1111 (Fax) uuid-16 0x1204 (Telephony) >
aid 0x0002 (SrvRecState)
uint 0x6
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) > <
uuid-16 0x0003 (RFCOMM) uint 0x1 > >
aid 0x0005 (BrwGrpList)
< uuid-16 0x1002 (PubBrwsGrp) >
aid 0x0006 (LangBaseAttrIDList)
< uint 0x656e uint 0x6a uint 0x100 >
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x1111 (Fax) uint 0x100 > >
aid 0x0100 (SrvName)
str "Fax"
srv rec #1
aid 0x0000 (SrvRecHndl)
uint 0x10001
aid 0x0001 (SrvClassIDList)
< uuid-16 0x1103 (DUN) uuid-16 0x1201 (Networking) >
aid 0x0002 (SrvRecState)
uint 0x6
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) > <
uuid-16 0x0003 (RFCOMM) uint 0x1 > >
aid 0x0005 (BrwGrpList)
< uuid-16 0x1002 (PubBrwsGrp) >
aid 0x0006 (LangBaseAttrIDList)
< uint 0x656e uint 0x6a uint 0x100 >
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x1103 (DUN) uint 0x100 > >
aid 0x0100 (SrvName)
str "Dial-up Networking"
srv rec #2
aid 0x0000 (SrvRecHndl)
uint 0x10002
aid 0x0001 (SrvClassIDList)
< uuid-16 0x1101 (SP) >
aid 0x0002 (SrvRecState)
uint 0x9
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) > <
uuid-16 0x0003 (RFCOMM) uint 0x2 > >
aid 0x0005 (BrwGrpList)
< uuid-16 0x1002 (PubBrwsGrp) >
aid 0x0006 (LangBaseAttrIDList)
< uint 0x656e uint 0x6a uint 0x100 >
aid 0x0007 (SrvInfoTimeToLive)
uint 0x4b0
aid 0x0008 (SrvAvail)
uint 0xff
aid 0x0100 (SrvName)
str "Bluetooth Serial Port"
aid 0x0101 (SrvDesc)
str "Bluetooth Serial Port"
aid 0x0102 (ProviderName)
str "Symbian Ltd."
srv rec #3
aid 0x0000 (SrvRecHndl)
uint 0x10003
aid 0x0001 (SrvClassIDList)
< uuid-16 0x1106 (OBEXObjTrnsf) >
aid 0x0002 (SrvRecState)
uint 0x6
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) > <
uuid-16 0x0003 (RFCOMM) uint 0xa > <
uuid-16 0x0008 (OBEX) > >
aid 0x0005 (BrwGrpList)
< uuid-16 0x1002 (PubBrwsGrp) >
aid 0x0006 (LangBaseAttrIDList)
< uint 0x656e uint 0x6a uint 0x100 >
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x1106 (OBEXObjTrnsf) uint 0x100 > >
aid 0x0100 (SrvName)
str "OBEX File Transfer"
srv rec #4
aid 0x0000 (SrvRecHndl)
uint 0x10004
aid 0x0001 (SrvClassIDList)
< uuid-16 0x1105 (OBEXObjPush) >
aid 0x0002 (SrvRecState)
uint 0x7
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) > <
uuid-16 0x0003 (RFCOMM) uint 0x9 > <
uuid-16 0x0008 (OBEX) > >
aid 0x0005 (BrwGrpList)
< uuid-16 0x1002 (PubBrwsGrp) >
aid 0x0006 (LangBaseAttrIDList)
< uint 0x656e uint 0x6a uint 0x100 >
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x1105 (OBEXObjPush) uint 0x100 > >
aid 0x0100 (SrvName)
str "OBEX Object Push"
aid 0x0303 (SuppFormatsList)
< uint 0xff >
srv rec #5
aid 0x0000 (SrvRecHndl)
uint 0x10005
aid 0x0001 (SrvClassIDList)
< uuid-16 0x111f uuid-16 0x1203 (Audio) >
aid 0x0002 (SrvRecState)
uint 0x8
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) > <
uuid-16 0x0003 (RFCOMM) uint 0x3 > >
aid 0x0005 (BrwGrpList)
< uuid-16 0x1002 (PubBrwsGrp) >
aid 0x0006 (LangBaseAttrIDList)
< uint 0x656e uint 0x6a uint 0x100 >
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x111e uint 0x101 > >
aid 0x0100 (SrvName)
str "Handsfre
"
cont
< ACL data: handle 0x0029 flags 0x02 dlen 34
L2CAP(d): cid 0x0042 len 30 [psm 1]
SDP SSA Req: tid 0x1 len 0x19
pat uuid-16 0x1002 (PubBrwsGrp)
max 0xffff
aid(s) 0x0000 - 0xffff
cont 0A 00 00 02 8E 00 00 02 A8 00 00
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 0x0029 flags 0x02 dlen 38
L2CAP(d): cid 0x0040 len 34 [psm 1]
SDP SSA Rsp: tid 0x1 len 0x1d
cnt 0x1a
ERROR: Unexpected syntax
cont 41 75 64 69 6F 20 47 61 74 65 77 61 79 09 03 01 08 01 09 03 11 09 00 0F 00
[-- Attachment #3: hcidump2.txt --]
[-- Type: text/plain, Size: 2304 bytes --]
< HCI Command: Create Connection (0x01|0x0005) plen 13
9B CF 82 3E 04 00 18 CC 02 00 00 00 01
> HCI Event: Command Status (0x0f) plen 4
00 01 05 04
< ACL data: handle 0x002f flags 0x02 dlen 8
L2CAP(d): cid 0x0068 len 4 [psm 0]
4B 53 01 D3
< ACL data: handle 0x002f flags 0x02 dlen 8
L2CAP(d): cid 0x0068 len 4 [psm 0]
03 53 01 FD
< ACL data: handle 0x002f flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0068 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
01 2F 00 01 00
> HCI Event: Number of Completed Packets (0x13) plen 5
01 2F 00 01 00
> HCI Event: Number of Completed Packets (0x13) plen 5
01 2F 00 01 00
> HCI Event: Mode Change (0x14) plen 6
00 2F 00 00 00 00
> HCI Event: Connect Complete (0x03) plen 11
00 29 00 9B CF 82 3E 04 00 01 00
< ACL data: handle 0x0029 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
29 00 0F 00
> HCI Event: Number of Completed Packets (0x13) plen 5
01 29 00 01 00
> HCI Event: Command Complete (0x0e) plen 6
01 0D 08 00 29 00
> HCI Event: Max Slots Change (0x1b) plen 3
29 00 05
> ACL data: handle 0x0029 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
< ACL data: handle 0x0029 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
> ACL data: handle 0x002f flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 1]
ERROR: Unknown PDU ID: 0x4b
> HCI Event: Number of Completed Packets (0x13) plen 5
01 29 00 01 00
> ACL data: handle 0x0029 flags 0x02 dlen 20
L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
MTU 512 FlushTO 65535
< ACL data: handle 0x0029 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> HCI Event: Number of Completed Packets (0x13) plen 5
01 29 00 01 00
> ACL data: handle 0x0029 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
< ACL data: handle 0x0029 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x0 len 0xf
pat uuid-16 0x1002 (PubBrwsGrp)
max 0xffff
aid(s) 0x0000 - 0xffff
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
01 29 00 01 00
reply other threads:[~2005-06-08 15:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=42A71363.9050003@futurlink.com \
--to=pedro.monjo@futurlink.com \
--cc=bluez-users@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.