From: wim delvaux <wim.delvaux@adaptiveplanet.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] role change not allowed when connecting with PAND
Date: Mon, 13 Dec 2004 20:25:29 +0100 [thread overview]
Message-ID: <200412132025.29208.wim.delvaux@adaptiveplanet.com> (raw)
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
next reply other threads:[~2004-12-13 19:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-13 19:25 wim delvaux [this message]
2004-12-13 20:07 ` [Bluez-users] role change not allowed when connecting with PAND 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=200412132025.29208.wim.delvaux@adaptiveplanet.com \
--to=wim.delvaux@adaptiveplanet.com \
--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