Skip to contentSkip to conversation

can no longer connect with pand

Bluez-users wim delvaux 2 participants 2 messages Dec 9, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I had to reboot and now my pand tries but seems unable to connect to the server.

Here is the hcidump -a output To me it looks like the link_key (which should exist since devices are paired) is still OK. However connection fails

What might be wrong ?

device: hci0 snap_len: 1028 filter: 0xffffffff

Quoted 1 line

HCI Event: Connect Request (0x04) plen 10

96 85 0D C7 02 00 12 01 12 01
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
96 85 0D C7 02 00 01

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 09 04

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

96 85 0D C7 02 00
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
96 85 0D C7 02 00 83 82 FF 06 0B 83 05 4F 15 E0 05 C5 A0 1C 2A 30

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

01 0B 04 00 96 85 0D C7 02 00

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

00 29 00 96 85 0D C7 02 00 01 00
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
29 00 18 CC

Quoted 1 line

HCI Event: Max Slots Change (0x1b) plen 3

29 00 05

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 0F 04

Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

00 29 00 18 CC

Quoted 1 line

ACL data: handle 0x0029 flags 0x02 dlen 12

    L2CAP(s): Connect req: psm 15 scid 0x0040
< ACL data: handle 0x0029 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 2 status 0
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

01 29 00 01 00

Quoted 1 line

HCI Event: Disconn Complete (0x05) plen 4

00 29 00 13

Quoted 1 line

HCI Event: Connect Request (0x04) plen 10

96 85 0D C7 02 00 12 01 12 01
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
96 85 0D C7 02 00 01

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 09 04

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

96 85 0D C7 02 00
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
96 85 0D C7 02 00 83 82 FF 06 0B 83 05 4F 15 E0 05 C5 A0 1C 2A 30

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

01 0B 04 00 96 85 0D C7 02 00

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

00 2A 00 96 85 0D C7 02 00 01 00
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
2A 00 18 CC

Quoted 1 line

HCI Event: Max Slots Change (0x1b) plen 3

2A 00 05

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 0F 04

Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

00 2A 00 18 CC

Quoted 1 line

ACL data: handle 0x002a flags 0x02 dlen 12

    L2CAP(s): Connect req: psm 15 scid 0x0040
< ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 2 status 0
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

01 2A 00 01 00

-------------------------------------------------------
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

maintainer
#1 lore raw

Hi Wim,

Quoted 58 lines

Here is the hcidump -a output To me it looks like the link_key (which should exist since devices are paired) is still OK. However connection fails

What might be wrong ?

device: hci0 snap_len: 1028 filter: 0xffffffff

Quoted 1 line

HCI Event: Connect Request (0x04) plen 10

96 85 0D C7 02 00 12 01 12 01
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
96 85 0D C7 02 00 01

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 09 04

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

96 85 0D C7 02 00
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
96 85 0D C7 02 00 83 82 FF 06 0B 83 05 4F 15 E0 05 C5 A0 1C 2A 30

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

01 0B 04 00 96 85 0D C7 02 00

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

00 29 00 96 85 0D C7 02 00 01 00
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
29 00 18 CC

Quoted 1 line

HCI Event: Max Slots Change (0x1b) plen 3

29 00 05

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 0F 04

Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

00 29 00 18 CC

Quoted 1 line

ACL data: handle 0x0029 flags 0x02 dlen 12

    L2CAP(s): Connect req: psm 15 scid 0x0040
< ACL data: handle 0x0029 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 2 status 0
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

01 29 00 01 00

Quoted 1 line

HCI Event: Disconn Complete (0x05) plen 4

00 29 00 13

Quoted 1 line

HCI Event: Connect Request (0x04) plen 10

96 85 0D C7 02 00 12 01 12 01
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
96 85 0D C7 02 00 01

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 09 04

Quoted 1 line

HCI Event: Link Key Request (0x17) plen 6

96 85 0D C7 02 00
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
96 85 0D C7 02 00 83 82 FF 06 0B 83 05 4F 15 E0 05 C5 A0 1C 2A 30

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

01 0B 04 00 96 85 0D C7 02 00

Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

00 2A 00 96 85 0D C7 02 00 01 00
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
2A 00 18 CC

Quoted 1 line

HCI Event: Max Slots Change (0x1b) plen 3

2A 00 05

Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

00 01 0F 04

Quoted 8 lines
Quoted 1 line

HCI Event: Connection Packet Type Changed (0x1d) plen 5

00 2A 00 18 CC

Quoted 1 line

ACL data: handle 0x002a flags 0x02 dlen 12

    L2CAP(s): Connect req: psm 15 scid 0x0040
< ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0040 result 2 status 0
Quoted 1 line

HCI Event: Number of Completed Packets (0x13) plen 5

01 2A 00 01 00

the result 2 means connection refused, because the PSM is not supported and this is mostly because no pand is running.

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