public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] role change not allowed when connecting with PAND
@ 2004-12-13 19:25 wim delvaux
  2004-12-13 20:07 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: wim delvaux @ 2004-12-13 19:25 UTC (permalink / raw)
  To: bluez-users

Hi,

When I run

pand --connect XXXX --persist

and my server runs 

pand --listen --role NAP

and hciconfig -a on the client shows (Had to type this over)

link policy : RSWITCH, HOLD PARK SNIFF
link mode : SLAVE ACCEPT
Features : 0xff 0xff 0x05 0x00

and on the server it shows

hci0:   Type: USB
        BD Address: 00:60:57:02:71:A2 ACL MTU: 192:8  SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:4704 acl:33 sco:0 events:445 errors:0
        TX bytes:12193 acl:111 sco:0 commands:128 errors:0
        Features: 0xff 0xff 0x09 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: ACCEPT MASTER
        Name: 'buro-0'
        Class: 0x100000
        Service Classes: Object Transfer
        Device Class: Miscellaneous,
        HCI Ver: 1.1 (0x1) HCI Rev: 0xbc LMP Ver: 1.1 (0x1) LMP Subver: 0xbc
        Manufacturer: Cambridge Silicon Radio (10)

I get the following HCIDUMP -x output

HCIDump - HCI packet analyzer ver 1.12
device: hci0 snap_len: 1028 filter: 0xffffffff
> 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 00
> HCI Event: Command Status (0x0f) plen 4
  00 01 09 04
> HCI Event: Role Change (0x12) plen 8
  21 96 85 0D C7 02 00 01
> 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 72 97 A4 D0 A0 3A D3 4E E8 50 A4 46 46 F0
  8A A1
> HCI Event: Command Complete (0x0e) plen 10
  01 0B 04 0C 96 85 0D C7 02 00
> HCI Event: Connect Complete (0x03) plen 11
  21 28 00 96 85 0D C7 02 00 01 00
> 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 00
> HCI Event: Command Status (0x0f) plen 4
  00 01 09 04
> HCI Event: Role Change (0x12) plen 8
  21 96 85 0D C7 02 00 01
> 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 72 97 A4 D0 A0 3A D3 4E E8 50 A4 46 46 F0
  8A A1
> HCI Event: Command Complete (0x0e) plen 10
  01 0B 04 0C 96 85 0D C7 02 00
> HCI Event: Connect Complete (0x03) plen 11
  21 29 00 96 85 0D C7 02 00 01 00
> 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 00
> HCI Event: Command Status (0x0f) plen 4
  00 01 09 04
> HCI Event: Role Change (0x12) plen 8
  21 96 85 0D C7 02 00 01
> 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 72 97 A4 D0 A0 3A D3 4E E8 50 A4 46 46 F0
  8A A1
> HCI Event: Command Complete (0x0e) plen 10
  01 0B 04 0C 96 85 0D C7 02 00
> HCI Event: Connect Complete (0x03) plen 11
  21 28 00 96 85 0D C7 02 00 01 00


Why don't I get a connection ?


-------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-13 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-13 19:25 [Bluez-users] role change not allowed when connecting with PAND wim delvaux
2004-12-13 20:07 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox