public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Network Access Point - pairing problem
@ 2004-11-04 10:22 D.W.
  2004-11-04 11:05 ` Marcel Holtmann
  2004-11-04 12:59 ` [Bluez-users] Network Access Point - pairing problem D.W.
  0 siblings, 2 replies; 21+ messages in thread
From: D.W. @ 2004-11-04 10:22 UTC (permalink / raw)
  To: bluez-users

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 2550 bytes --]

Hi Marcel,
this is the output when I execute hciconfig -a.
hci0:	Type: USB 
	BD Address: 00:02:5B:01:21:14 ACL MTU: 192:8  SCO MTU: 64:8
	UP RUNNING PSCAN ISCAN 
	RX bytes:936 acl:0 sco:0 events:23 errors:0
	TX bytes:327 acl:0 sco:0 commands:22 errors:0
	Features: 0xff 0xff 0x0f 0x00
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: HOLD SNIFF PARK 
	Link mode: ACCEPT MASTER 
	Name: 'BlueZ (0)'
	Class: 0x000100
	Service Classes: Unspecified
	Device Class: Computer, Uncategorized
	HCI Ver: 1.1 (0x1) HCI Rev: 0x110 LMP Ver: 1.1 (0x1) LMP Subver: 0x110
	Manufacturer: Cambridge Silicon Radio (10)



This is the output while trying to connect to the NAP at first contact:

HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
> HCI Event: Connect Request(0x04) plen 10
  B0 3A 4C 3D 0F 00 04 01 52 01 
< HCI Command: Accept Connection Request(0x01|0x0009) plen 7
  B0 3A 4C 3D 0F 00 00 
> HCI Event: Command Status(0x0f) plen 4
  00 01 09 04 
> HCI Event: Role Change(0x12) plen 8
  00 B0 3A 4C 3D 0F 00 00 
> HCI Event: Connect Complete(0x03) plen 11
  00 28 00 B0 3A 4C 3D 0F 00 01 00 
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
  28 00 0E 00 
> HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
  B0 3A 4C 3D 0F 00 01 
> HCI Event: Max Slots Change(0x1b) plen 3
  28 00 05 
> HCI Event: Command Complete(0x0e) plen 6
  01 0D 08 00 28 00 
< HCI Command: Change Connection Packet Type(0x01|0x000f) plen 4
  28 00 18 CC 
> HCI Event: Command Status(0x0f) plen 4
  00 01 0F 04 
> HCI Event: Connection Packet Type Changed(0x1d) plen 5
  00 28 00 18 CC 
> HCI Event: PIN Code Request(0x16) plen 6
  B0 3A 4C 3D 0F 00 
< HCI Command: PIN Code Request Reply(0x01|0x000d) plen 23
  B0 3A 4C 3D 0F 00 05 42 6C 75 65 5A 00 00 00 00 00 00 00 00 
  00 00 00 
> HCI Event: Command Complete(0x0e) plen 10
  01 0D 04 00 B0 3A 4C 3D 0F 00 
> HCI Event: Disconn Complete(0x05) plen 4
  00 28 00 05 

Regards Daniel



-- 
NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl
GMX DSL-Netzanschluss + Tarif zum supergünstigen Komplett-Preis!



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [Bluez-users] Network Access Point - pairing problem
@ 2004-11-03 19:24 D.W.
  2004-11-03 20:15 ` Marcel Holtmann
  0 siblings, 1 reply; 21+ messages in thread
From: D.W. @ 2004-11-03 19:24 UTC (permalink / raw)
  To: bluez-users

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

Hi Marcel,
Thank you for your reply.
I use kernel 2.4.22 on an axis devboard82. The bluez stack is not the latest(PAN, SDP, utils, libs are still seperate packages), because I had problems porting later versions to the devboard.
But except the pairing problem at first contact it works perfectly.
Except the PIN (it's a static one at server side) there is no further authentification necessary.
Security mode 2 or 3? What do you mean? Can I check it?
When I try to connect to the server at first contact, I have to enter the PIN(client side) and after entering the right pin I get the message :"Authentification failed." 
Regards Daniel


 
> Hi Daniel,
> 
> > I want to use bluez for a standalone network access point. All works
> > fine(pand or dund), the thing is that the pairing doesn't work at
> > first contact (client is a windows-pc). 
> > 
> > So I have to establish a rfcomm-connection manually(from the server
> > side rfcomm connect 0 btad) first. This pairing works,  I disconnect
> > and then I am able to connect the client to the NAT.
> > 
> > Does anybody know what's wrong and what I can do to make the pairing
> > work without this manually initiated rfcomm-connnection ?
> 
> are we talking about security mode 2 or security mode 3? What kernel do
> you use?
> 
> Regards
> 
> Marcel
> 
> 

[-- Attachment #2: Type: text/html, Size: 2350 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [Bluez-users] Network Access Point - pairing problem
@ 2004-11-02 22:07 D.W.
  2004-11-03  0:07 ` Marcel Holtmann
  0 siblings, 1 reply; 21+ messages in thread
From: D.W. @ 2004-11-02 22:07 UTC (permalink / raw)
  To: bluez-users

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

Hello,

I want to use bluez for a standalone network access point. All works fine(pand or dund), the thing is that the pairing doesn't work at first contact (client is a windows-pc). 

So I have to establish a rfcomm-connection manually(from the server side rfcomm connect 0 btad) first. This pairing works,  I disconnect and then I am able to connect the client to the NAT.

Does anybody know what's wrong and what I can do to make the pairing work without this manually initiated rfcomm-connnection ?

Thanks in advance,

Daniel



[-- Attachment #2: Type: text/html, Size: 925 bytes --]

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

end of thread, other threads:[~2004-11-09  9:01 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-04 10:22 [Bluez-users] Network Access Point - pairing problem D.W.
2004-11-04 11:05 ` Marcel Holtmann
2004-11-04 13:43   ` Jouni.Lohikoski@iki.fi
2004-11-04 14:22     ` Marcel Holtmann
2004-11-05 14:00       ` [Bluez-users] AW: Re: Again dund Peter K. Martin
2004-11-05 14:27         ` Marcel Holtmann
2004-11-05 17:46           ` AW: [Bluez-users] " Peter K. Martin
2004-11-05 20:18             ` Marcel Holtmann
2004-11-08  8:50               ` AW: " Peter K. Martin
2004-11-08 11:29                 ` Marcel Holtmann
2004-11-08 14:37                   ` AW: " Peter K. Martin
2004-11-08 14:54                     ` Marcel Holtmann
2004-11-08 18:09                       ` AW: " Peter K. Martin
2004-11-08 18:38                         ` Marcel Holtmann
2004-11-09  9:01                           ` AW: " Peter K. Martin
2004-11-04 12:59 ` [Bluez-users] Network Access Point - pairing problem D.W.
2004-11-04 13:36   ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2004-11-03 19:24 D.W.
2004-11-03 20:15 ` Marcel Holtmann
2004-11-02 22:07 D.W.
2004-11-03  0: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