pand connection to XP SP2 fails
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.
-Erwin
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Erwin,
Quoted 8 lines
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:
Quoted 6 lines
...
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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Am Die, den 14.12.2004 schrieb Marcel Holtmann um 12:48:
Quoted 15 lines
Hi Erwin,
Quoted 13 lines
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)
Quoted 8 lines
Quoted 1 line
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
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)
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
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 01 05 04
Quoted 1 line
HCI Event: Role Change (
0x12) plen 8
00 4D 5D 48 76 0C 00 01
Quoted 1 line
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
Quoted 1 line
HCI Event: Page Scan Repetition Mode Change (
0x20) plen 7
4D 5D 48 76 0C 00 01
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6
01 0D 08 00 29 00
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 29 00 01 00
Quoted 1 line
HCI Event: Max Slots Change (
0x1b) plen 3
29 00 05
Quoted 1 line
ACL data: handle
0x0029flags0x02dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 1 status 0
Quoted 1 line
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
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 10
01 0C 04 00 4D 5D 48 76 0C 00
Quoted 1 line
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
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 10
01 0D 04 00 4D 5D 48 76 0C 00
Quoted 1 line
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
Quoted 1 line
HCI Event: Encrypt Change (
0x08) plen 4
00 29 00 01
Quoted 1 line
ACL data: handle
0x0029flags0x02dlen 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 Quoted 1 line
ACL data: handle
0x0029flags0x02dlen 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 0Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 29 00 01 00
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 29 00 01 00
Quoted 1 line
ACL data: handle
0x0029flags0x02dlen 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)Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 29 00 01 00
Quoted 1 line
ACL data: handle
0x0029flags0x02dlen 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 0x0040Quoted 1 line
ACL data: handle
0x0029flags0x02dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
< ACL data: handle 0x0029 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 29 00 01 00
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 29 00 01 00
Quoted 1 line
ACL data: handle
0x0029flags0x02dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
< HCI Command: Disconnect (0x01|0x0006) plen 3
29 00 13
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 01 06 04
Quoted 1 line
HCI Event: Disconn Complete (
0x05) plen 4
00 29 00 16
Hi Erwin,
...
< 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)Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 29 00 01 00
Quoted 1 line
ACL data: handle
0x0029flags0x02dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 15]
BNEP: Control(0x01|0)
Setup Rsp(0x02) res 0x0001...
The linux box is asking for a connection but the windows box respondes with 0x0001 (Operation Failed: Invalid Destination Service UUID)
http://grouper.ieee.org/groups/802/15/Bluetooth/BNEP.pdf (page 22)
So I guess the windows bluetooth stack doesn't provide this service. Discover the services it provides with this command:
hcitool info <bdaddr>
Best regards,
Sebastian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Am Die, den 14.12.2004 schrieb Sebastian Roth um 13:55:
Quoted 21 lines
Hi Erwin,
...
< ACL data: handle0x0029flags0x02dlen 11L2CAP(d): cid 0x0040 len 7 [psm 15] BNEP: Control(0x01|0) Setup Req(0x01) size 0x02 dst 0x1116(NAP) src 0x1115(PANU)Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 501 29 00 01 00
Quoted 1 line
ACL data: handle
0x0029flags0x02dlen 8L2CAP(d): cid 0x0040 len 4 [psm 15] BNEP: Control(0x01|0) Setup Rsp(0x02) res 0x0001...
The linux box is asking for a connection but the windows box respondes with
0x0001(Operation Failed: Invalid Destination Service UUID)
http://grouper.ieee.org/groups/802/15/Bluetooth/BNEP.pdf (page 22)
Quoted 9 lines
So I guess the windows bluetooth stack doesn't provide this service. Discover the services it provides with this command:
hcitool info <bdaddr>
Best regards,
Sebastian
Thanks a lot, I found out now that XP SP2 is obviously always configured as PANU, I didn't find any way to change that. Maybe a different driver would help to be able to configure it as NAP, I don't know.
Regards,
Erwin
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Erwin,
Quoted 3 lines
Thanks a lot, I found out now that XP SP2 is obviously always configured as PANU, I didn't find any way to change that. Maybe a different driver would help to be able to configure it as NAP, I don't know.
so doing a PANU (Linux) <-> PANU (XP SP2) connection works?
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Am Mit, den 15.12.2004 schrieb Marcel Holtmann um 11:42:
Quoted 6 lines
Hi Erwin,
Quoted 3 lines
Thanks a lot, I found out now that XP SP2 is obviously always configured as PANU, I didn't find any way to change that. Maybe a different driver would help to be able to configure it as NAP, I don't know.
Quoted 6 lines
so doing a PANU (Linux) <-> PANU (XP SP2) connection works?
Regards
Marcel
Hello Marcel,
yes, this works fine (with pand --service PANU ...).
Regards,
Erwin
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Erwin,
Quoted 1 line
yes, this works fine (with pand --service PANU ...).
please do a "sdptool browse|search ..." with the --tree option. May we can get the service from the SDP record and use a good default. Does a simple "pand --connect ..." without any extra options work for you?
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Am Mit, den 15.12.2004 schrieb Marcel Holtmann um 12:36:
Quoted 11 lines
Hi Erwin,
Quoted 1 line
yes, this works fine (with pand --service PANU ...).
please do a "sdptool browse|search ..." with the --tree option. May we can get the service from the SDP record and use a good default. Does a simple "pand --connect ..." without any extra options work for you?
Regards
Marcel
this is the output of "sdptool browse --tree <adr>" from XP home/SP2.
Regards,
Erwin
Browsing 00:0C:76:48:5D:4D ...
Attribute Identifier : 0x0 - ServiceRecordHandle
Integer : 0x0
Attribute Identifier : 0x1 - ServiceClassIDList
Data Sequence
UUID16 : 0x1000 - ServiceDiscoveryServerServiceClassID (SDP)
Attribute Identifier : 0x4 - ProtocolDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x0100 - L2CAP
Channel/Port (Integer) : 0x1
Data Sequence
UUID16 : 0x0001 - SDP (Service Discovery Protocol)
Attribute Identifier : 0x5 - BrowseGroupList
Data Sequence
UUID16 : 0x1002 - PublicBrowseGroup (SDP)
Attribute Identifier : 0x6 - LanguageBaseAttributeIDList
Data Sequence
Code ISO639 (Integer) : 0x656e
Encoding (Integer) : 0x6a
Base Offset (Integer) : 0x100Attribute Identifier : 0x100
Data : 53 65 72 76 69 63 65 20 44 69 73 63 6f 76 65 72 79 00
Attribute Identifier : 0x101
Data : 50 75 62 6c 69 73 68 65 73 20 73 65 72 76 69 63 65 73 20 74 6f 20 72 65 6d 6f 74 65 20 64 65 76 69 63 65 73 00
Attribute Identifier : 0x102
Data : 4d 69 63 72 6f 73 6f 66 74 00
Attribute Identifier : 0x200 - VersionNumberList
Data Sequence
Integer : 0x100
Attribute Identifier : 0x201 - ServiceDatabaseState
Integer : 0x1
Attribute Identifier : 0x0 - ServiceRecordHandle
Integer : 0x10000
Attribute Identifier : 0x1 - ServiceClassIDList
Data Sequence
UUID16 : 0x1115 - PANU (PAN/BNEP)
Attribute Identifier : 0x4 - ProtocolDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x0100 - L2CAP
Channel/Port (Integer) : 0xf
Data Sequence
UUID16 : 0x000f - BNEP (PAN/BNEP)
Channel/Port (Integer) : 0x100
Data Sequence
Broken dataseq link
Attribute Identifier : 0x5 - BrowseGroupList
Data Sequence
UUID16 : 0x1002 - PublicBrowseGroup (SDP)
Attribute Identifier : 0x6 - LanguageBaseAttributeIDList
Data Sequence
Code ISO639 (Integer) : 0x6465
Encoding (Integer) : 0x3f7
Base Offset (Integer) : 0x100
Attribute Identifier : 0x9 - BluetoothProfileDescriptorList
Data Sequence
Data Sequence
UUID16 : 0x1115 - PANU (PAN/BNEP)
Version (Integer) : 0x100Attribute Identifier : 0x100
Data : 50 00 65 00 72 00 73 00 f6 00 6e 00 6c 00 69 00 63 00 68 00 65 00 72 00 20 00 41 00 64 00 2d 00 68 00 6f 00 63 00 2d 00 42 00 65 00 6e 00 75 00 74 00 7a 00 65 00 72 00 64 00 69 00 65 00 6e 00 73 00 74 00
Attribute Identifier : 0x101
Data : 50 00 65 00 72 00 73 00 f6 00 6e 00 6c 00 69 00 63 00 68 00 65 00 72 00 20 00 41 00 64 00 2d 00 68 00 6f 00 63 00 2d 00 42 00 65 00 6e 00 75 00 74 00 7a 00 65 00 72 00 64 00 69 00 65 00 6e 00 73 00 74 00
Attribute Identifier : 0x30a - SecurityDescription
Integer : 0x0
Am Mit, den 15.12.2004 schrieb Marcel Holtmann um 12:36:
Quoted 11 lines
Hi Erwin,
Quoted 1 line
yes, this works fine (with pand --service PANU ...).
please do a "sdptool browse|search ..." with the --tree option. May we can get the service from the SDP record and use a good default. Does a simple "pand --connect ..." without any extra options work for you?
Regards
Marcel
a simple "pand --connect ..." doesn't work, it results in the "Protocol error(71)" from pand. It seems that pand defaults to remote service "NAP", I wonder if there is (or should be) some kind of fallback mechanism that tries GN and PANU as well.
Regards,
Erwin
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Erwin,
Quoted 4 lines
a simple "pand --connect ..." doesn't work, it results in the "Protocol error(71)" from pand. It seems that pand defaults to remote service "NAP", I wonder if there is (or should be) some kind of fallback mechanism that tries GN and PANU as well.
there is no need for a fallback. We should simply use the information from the SDP search if nothing else is specified on the command line. Will anyone volunteer to look at this and create a patch?
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Look what MS stack knows:
http://qualweb.bluetooth.org/Template2.cfm?LinkQualified=3DQualifiedProduct=
s&Details=3DYes&ProductID=3D956
It should work with our pand
Michal
Dne =FAt 14. prosince 2004 12:46 Erwin Authried napsal(a):
Quoted 20 lines
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=3D..., dab=3D...) pand[15249]: Connect to <ADR> failed. Protocol error(71)I'm able to connect to a PC running Bluez with the same setup.
-Erwin
Quoted 9 lines
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users