All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rolf E. Thorup" <rolft@daimi.au.dk>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] SDP problems on embedded device
Date: Wed, 21 Jul 2004 14:30:42 +0200	[thread overview]
Message-ID: <40FE61F2.3080407@daimi.au.dk> (raw)
In-Reply-To: <1090412310.21683.87.camel@pegasus>

Hi Marcel

>>The other dongle I have available has HCI 16.4 firmware. If it is of any 
>>help here's the output from "hcidump -x -t" from the laptop (browsing 
>>the Cerfcube using the HCI 16.4 firmware dongle). I'm still using the 
>>mh14 kernel patch.
> 
> and it is still the same problem. One side sends the config request, but
> the other don't receives it. Try to browse from the Cerfcube a service
> on your laptop's SDP database.

Cerfcube searching for SP on laptop.

[root@xscale3 /root]# sdptool search --bdaddr 00:0A:94:00:20:2A SP
Searching for SP on 00:0A:94:00:20:2A ...
Service Search failed: Connection timed out

[root@xscale3 /root]# hcidump -x -t
HCIDump - HCI packet analyzer ver 1.9
device: hci0 snap_len: 1028 filter: 0xffffffff
1090413342.564243 < HCI Command: Create Connection (0x01|0x0005) plen 13
   2A 20 00 94 0A 00 18 CC 02 00 00 00 01
1090413342.574362 > HCI Event: Command Status (0x0f) plen 4
   00 01 05 04
1090413345.877738 > HCI Event: Connect Complete (0x03) plen 11
   00 29 00 2A 20 00 94 0A 00 01 00
1090413345.878922 < ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Connect req: psm 1 scid 0x0040
1090413345.879079 < HCI Command: Write Link Policy Settings 
(0x02|0x000d) plen 4
   29 00 0F 00
1090413345.885720 > HCI Event: Number of Completed Packets (0x13) plen 5
   01 29 00 01 00
1090413345.889737 > HCI Event: Command Complete (0x0e) plen 6
   01 0D 08 00 29 00
1090413345.897742 > HCI Event: Page Scan Repetition Mode Change (0x20) 
plen 7
   2A 20 00 94 0A 00 01
1090413345.905741 > HCI Event: Max Slots Change (0x1b) plen 3
   29 00 05
1090413345.944735 > ACL data: handle 0x0029 flags 0x02 dlen 16
     L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
1090413345.945942 < ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
1090413345.953719 > HCI Event: Number of Completed Packets (0x13) plen 5
   01 29 00 01 00
1090413345.973735 > ACL data: handle 0x0029 flags 0x02 dlen 14
     L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
1090413345.975736 > ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
1090413345.975970 < ACL data: handle 0x0029 flags 0x02 dlen 14
     L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
1090413345.977202 < ACL data: handle 0x0029 flags 0x02 dlen 24
     L2CAP(d): cid 0x40 len 20 [psm 1]
         SDP SSA Req: tid 0x0 len 0xf
           pat uuid-16 0x1101 (SP)
           max 0xffff
           aid(s) 0x0000 - 0xffff
           cont 00
1090413345.983741 > HCI Event: Number of Completed Packets (0x13) plen 5
   01 29 00 01 00
1090413365.970806 < ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
1090413365.987893 > HCI Event: Number of Completed Packets (0x13) plen 5
   01 29 00 01 00
1090413366.010892 > ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
1090413368.008993 < HCI Command: Disconnect (0x01|0x0006) plen 3
   29 00 13
1090413368.015481 > HCI Event: Command Status (0x0f) plen 4
   00 01 06 04
1090413368.039499 > HCI Event: Disconn Complete (0x05) plen 4
   00 29 00 16
	

Laptop's hcidump:

[root@tux012 root]# hcidump -x -t
HCIDump - HCI packet analyzer ver 1.9
device: hci0 snap_len: 1028 filter: 0xffffffff
1090412930.648961 > HCI Event: Connect Request (0x04) plen 10
   74 05 B1 76 0C 00 00 01 00 01
1090412930.657137 < HCI Command: Accept Connection Request (0x01|0x0009) 
plen 7
   74 05 B1 76 0C 00 01
1090412930.670802 > HCI Event: Command Status (0x0f) plen 4
   00 01 09 04
1090412930.688229 > HCI Event: Connect Complete (0x03) plen 11
   00 29 00 74 05 B1 76 0C 00 01 00
1090412930.688562 < HCI Command: Write Link Policy Settings 
(0x02|0x000d) plen 4
   29 00 0F 00
1090412930.689859 > HCI Event: Page Scan Repetition Mode Change (0x20) 
plen 7
   74 05 B1 76 0C 00 01
1090412930.714781 > HCI Event: Command Complete (0x0e) plen 6
   01 0D 08 00 29 00
1090412930.715032 < HCI Command: Change Connection Packet Type 
(0x01|0x000f) plen 4
   29 00 18 CC
1090412930.732785 > HCI Event: Max Slots Change (0x1b) plen 3
   29 00 05
1090412930.733440 > HCI Event: Command Status (0x0f) plen 4
   00 01 0F 04
1090412930.737560 > HCI Event: Connection Packet Type Changed (0x1d) plen 5
   00 29 00 18 CC
1090412930.757320 > ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Connect req: psm 1 scid 0x0040
1090412930.757744 < ACL data: handle 0x0029 flags 0x02 dlen 16
     L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
1090412930.769604 > HCI Event: Number of Completed Packets (0x13) plen 5
   01 29 00 01 00
1090412930.776498 > ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
1090412930.776791 < ACL data: handle 0x0029 flags 0x02 dlen 14
     L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
1090412930.776816 < ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
1090412930.800513 > HCI Event: Number of Completed Packets (0x13) plen 5
   01 29 00 01 00
1090412930.802459 > HCI Event: Number of Completed Packets (0x13) plen 5
   01 29 00 01 00
1090412930.806407 > ACL data: handle 0x0029 flags 0x02 dlen 14
     L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
1090412950.810971 > ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
1090412950.811536 < ACL data: handle 0x0029 flags 0x02 dlen 12
     L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
1090412950.857907 > HCI Event: Number of Completed Packets (0x13) plen 5
   01 29 00 01 00
1090412952.930571 > HCI Event: Disconn Complete (0x05) plen 4
   00 29 00 13


I'm going away for an extended weekend right now, so I won't be back to 
continue this thread until Monday next week.

Regards

Rolf

  reply	other threads:[~2004-07-21 12:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-19 19:38 [Bluez-users] SDP problems on embedded device Rolf E. Thorup
2004-07-19 20:53 ` Marcel Holtmann
2004-07-20 10:31   ` Rolf E. Thorup
2004-07-20 14:47     ` Marcel Holtmann
2004-07-20 17:10       ` Rolf E. Thorup
2004-07-20 17:43         ` Marcel Holtmann
2004-07-21  9:43           ` Rolf E. Thorup
2004-07-21 10:04             ` Marcel Holtmann
2004-07-21 10:56               ` Rolf E. Thorup
2004-07-21 12:18                 ` Marcel Holtmann
2004-07-21 12:30                   ` Rolf E. Thorup [this message]
2004-07-28 14:05                     ` Rolf E. Thorup
2004-07-28 18:57                       ` Marcel Holtmann

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=40FE61F2.3080407@daimi.au.dk \
    --to=rolft@daimi.au.dk \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=marcel@holtmann.org \
    /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.