public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Erwin Authried <eauth@softsys.co.at>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] pand connection to XP SP2 fails
Date: Tue, 14 Dec 2004 12:57:39 +0100	[thread overview]
Message-ID: <1103025459.4095.68.camel@justakiss> (raw)
In-Reply-To: <1103024932.2143.156.camel@pegasus>

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

Am Die, den 14.12.2004 schrieb Marcel Holtmann um 12:48:
> Hi Erwin,
> 
> > I want to establish a pand connection to XP/SP2 with a MSI-6967 dongle.
> > I have installed the MSI driver for WinXP with SP2. The client is a
> > Laptop with a CBT100C card, Linux 2.4.22-mh7, bluez-libs+utils 2.12.
> > When I try to connect to the XP box with 
> >   pand --role PANU -c <ADR>
> > Windows is asking for the Pin. After entering the correct pin, I'm
> > always getting the following pand error:
> > 
> > ...
> > pand[15249]: Connecting to <ADR>
> > hcid[15183]: link_key_request (sba=..., dab=...)
> > pand[15249]: Connect to <ADR> failed. Protocol error(71)
> > 
> > I'm able to connect to a PC running Bluez with the same setup.
> 
> show us the output of "hcidump -X" (as root) while your are connecting.
> 
> Regards
> 
> Marcel
> 
I have attached the output of "hciconfig -a" and "hcidump -x"

Regards,
Erwin



[-- Attachment #2: hciconfig.txt --]
[-- Type: text/plain, Size: 610 bytes --]

hci0:	Type: UART
	BD Address: 00:80:5A:20:F1:5B ACL MTU: 192:8  SCO MTU: 64:8
	UP RUNNING PSCAN ISCAN 
	RX bytes:5644 acl:48 sco:0 events:202 errors:0
	TX bytes:5169 acl:42 sco:0 commands:89 errors:0
	Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
	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.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: 0x20d
	Manufacturer: Cambridge Silicon Radio (10)


[-- Attachment #3: dump.txt --]
[-- Type: text/plain, Size: 3463 bytes --]

HCIDump - HCI packet analyzer ver 1.16
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
  4D 5D 48 76 0C 00 18 CC 02 00 00 00 01 
> HCI Event: Command Status (0x0f) plen 4
  00 01 05 04 
> HCI Event: Role Change (0x12) plen 8
  00 4D 5D 48 76 0C 00 01 
> HCI Event: Connect Complete (0x03) plen 11
  00 29 00 4D 5D 48 76 0C 00 01 00 
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 15 scid 0x0040
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
  29 00 0F 00 
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
  4D 5D 48 76 0C 00 01 
> HCI Event: Command Complete (0x0e) plen 6
  01 0D 08 00 29 00 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 29 00 01 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 0x0000 scid 0x0040 result 1 status 0
> HCI Event: Link Key Request (0x17) plen 6
  4D 5D 48 76 0C 00 
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
  4D 5D 48 76 0C 00 
> HCI Event: Command Complete (0x0e) plen 10
  01 0C 04 00 4D 5D 48 76 0C 00 
> HCI Event: PIN Code Request (0x16) plen 6
  4D 5D 48 76 0C 00 
< HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
  4D 5D 48 76 0C 00 04 31 32 33 34 00 00 00 00 00 00 00 00 00 
  00 00 00 
> HCI Event: Command Complete (0x0e) plen 10
  01 0D 04 00 4D 5D 48 76 0C 00 
> HCI Event: Link Key Notification (0x18) plen 23
  4D 5D 48 76 0C 00 97 24 3F 6E DA 91 C1 4F C5 62 6B 11 0B 27 
  38 3A 00 
> HCI Event: Encrypt Change (0x08) plen 4
  00 29 00 01 
> 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 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
    MTU 1691 
> ACL data: handle 0x0029 flags 0x02 dlen 16
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4
    MTU 1691 
< 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 
> 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 11
    L2CAP(d): cid 0x0040 len 7 [psm 15]
      BNEP: Control(0x01|0)
        Setup Req(0x01) size 0x02 dst 0x1116(NAP) src 0x1115(PANU)
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 29 00 01 00 
> ACL data: handle 0x0029 flags 0x02 dlen 8
    L2CAP(d): cid 0x0040 len 4 [psm 15]
      BNEP: Control(0x01|0)
        Setup Rsp(0x02) res 0x0001
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
> ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
< ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 29 00 01 00 
> HCI Event: Number of Completed Packets (0x13) plen 5
  01 29 00 01 00 
> ACL data: handle 0x0029 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
< HCI Command: Disconnect (0x01|0x0006) plen 3
  29 00 13 
> HCI Event: Command Status (0x0f) plen 4
  00 01 06 04 
> HCI Event: Disconn Complete (0x05) plen 4
  00 29 00 16 

  reply	other threads:[~2004-12-14 11:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-14 11:46 [Bluez-users] pand connection to XP SP2 fails Erwin Authried
2004-12-14 11:48 ` Marcel Holtmann
2004-12-14 11:57   ` Erwin Authried [this message]
2004-12-14 12:55     ` [Bluez-users] " Sebastian Roth
2004-12-14 14:54       ` Erwin Authried
2004-12-15 10:42         ` Marcel Holtmann
2004-12-15 11:31           ` Erwin Authried
2004-12-15 11:36             ` Marcel Holtmann
2004-12-15 12:16               ` Erwin Authried
2004-12-15 12:21               ` Erwin Authried
2004-12-15 12:28                 ` Marcel Holtmann
2004-12-14 21:39 ` [Bluez-users] " Michal Semler

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=1103025459.4095.68.camel@justakiss \
    --to=eauth@softsys.co.at \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox