2004-02-12 08:59:37

by DVornheder

[permalink] [raw]
Subject: [Bluez-users] Problem with connection between two pc using bluetooth


Hi !

I try to get a connection between two pc using bluetooth.

My hardware: AVM Fritz AP-X ISDN and two AVM BlueFritz USB Sticks.

At the first pc i start pand --search and get a connection to AP-X
without any problems.

At the second pc i start pand --search but the connection fails:

Feb 11 18:44:03 pclap hcid[1290]: link_key_request
(sba=00:04:0E:85:B2:C0, dba=0
0:04:0E:85:35:15)

Feb 11 18:44:03 pclap hcid[1290]: link_key_notify
(sba=00:04:0E:85:B2:C0)
Feb 11 18:44:03 pclap hcid[1290]: Replacing link key 00:04:0E:85:B2:C0
00:04:0E:
85:35:15

Feb 11 18:44:03 pclap kernel: Bluetooth: Found 1 CAPI controller(s) on
device 00
:04:0E:85:35:15

Feb 11 18:44:03 pclap kernel: kcapi: Controller 1: 00:04:0E:85:35:15
attached
Feb 11 18:44:03 pclap kernel: kcapi: card 1 "00:04:0E:85:35:15" ready.

Feb 11 18:44:03 pclap kernel: kcapi: notify up contr 1

Feb 11 18:44:03 pclap kernel: Bluetooth: BNEP (Ethernet Emulation) ver
1.0
Feb 11 18:44:03 pclap kernel: Bluetooth: BNEP filters: protocol
multicast
Feb 11 18:44:03 pclap pand[3561]: PAN daemon ver 1.1

Feb 11 18:44:03 pclap pand[3561]: Inquiring

Feb 11 18:44:03 pclap pand[3561]: Searching for NAP on 00:04:0E:85:2E:9A

Feb 11 18:44:43 pclap pand[3561]: Failed to connect to the SDP server.
Connectio
n timed out(110)

Feb 11 18:44:43 pclap pand[3561]: Searching for NAP on 00:04:0E:85:35:15

Feb 11 18:45:23 pclap pand[3561]: Failed to connect to the SDP server.
Connectio
n timed out(110)


Dirk




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-02-15 12:12:56

by DVornheder

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with connection between two pc using bluetooth


> Hi Dirk,
>
> > After using
> >
> > pand --connect 00:04:0E:85:35:15
> >
> > instead of
> >
> > pand --search
> >
> > on both pc's everything works fine.
>
> looks like a role switch or scatternet problem. If you are using
> connect, there is no inquiry and no SDP request. Is the firmware on the
> AP-ISDN the latest?
>
> Regards
>

Yes.

03.18.17 is the latest.

Dirk

2004-02-13 18:44:26

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with connection between two pc using bluetooth

Hi Dirk,

> After using
>
> pand --connect 00:04:0E:85:35:15
>
> instead of
>
> pand --search
>
> on both pc's everything works fine.

looks like a role switch or scatternet problem. If you are using
connect, there is no inquiry and no SDP request. Is the firmware on the
AP-ISDN the latest?

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2004-02-13 18:19:56

by DVornheder

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with connection between two pc using bluetooth


> > I try to get a connection between two pc using bluetooth.
> >
> > My hardware: AVM Fritz AP-X ISDN and two AVM BlueFritz USB Sticks.
> >
> > At the first pc i start pand --search and get a connection to AP-X
> > without any problems.
> >
> > At the second pc i start pand --search but the connection fails:
> >
> > Feb 11 18:44:03 pclap hcid[1290]: link_key_request
> > (sba=00:04:0E:85:B2:C0, dba=0
> > 0:04:0E:85:35:15)
> >
> > Feb 11 18:44:03 pclap hcid[1290]: link_key_notify
> > (sba=00:04:0E:85:B2:C0)
> > Feb 11 18:44:03 pclap hcid[1290]: Replacing link key 00:04:0E:85:B2:C0
> > 00:04:0E:
> > 85:35:15
> >
> > Feb 11 18:44:03 pclap kernel: Bluetooth: Found 1 CAPI controller(s) on
> > device 00
> >
> > :04:0E:85:35:15
> >
> > Feb 11 18:44:03 pclap kernel: kcapi: Controller 1: 00:04:0E:85:35:15
> > attached
> > Feb 11 18:44:03 pclap kernel: kcapi: card 1 "00:04:0E:85:35:15" ready.
> >
> > Feb 11 18:44:03 pclap kernel: kcapi: notify up contr 1
> >
> > Feb 11 18:44:03 pclap kernel: Bluetooth: BNEP (Ethernet Emulation) ver
> > 1.0
> > Feb 11 18:44:03 pclap kernel: Bluetooth: BNEP filters: protocol
> > multicast
> > Feb 11 18:44:03 pclap pand[3561]: PAN daemon ver 1.1
> >
> > Feb 11 18:44:03 pclap pand[3561]: Inquiring
> >
> > Feb 11 18:44:03 pclap pand[3561]: Searching for NAP on 00:04:0E:85:2E:9A
> >
> > Feb 11 18:44:43 pclap pand[3561]: Failed to connect to the SDP server.
> > Connectio
> > n timed out(110)
> >
> > Feb 11 18:44:43 pclap pand[3561]: Searching for NAP on 00:04:0E:85:35:15
> >
> > Feb 11 18:45:23 pclap pand[3561]: Failed to connect to the SDP server.
> > Connectio
> > n timed out(110)
>
> make a dump with "hcidump -w <file>".
>

After using

pand --connect 00:04:0E:85:35:15

instead of

pand --search

on both pc's everything works fine.

Dirk

2004-02-12 11:30:04

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Problem with connection between two pc using bluetooth

Hi Dirk,

> I try to get a connection between two pc using bluetooth.
>
> My hardware: AVM Fritz AP-X ISDN and two AVM BlueFritz USB Sticks.
>
> At the first pc i start pand --search and get a connection to AP-X
> without any problems.
>
> At the second pc i start pand --search but the connection fails:
>
> Feb 11 18:44:03 pclap hcid[1290]: link_key_request
> (sba=00:04:0E:85:B2:C0, dba=0
> 0:04:0E:85:35:15)
>
> Feb 11 18:44:03 pclap hcid[1290]: link_key_notify
> (sba=00:04:0E:85:B2:C0)
> Feb 11 18:44:03 pclap hcid[1290]: Replacing link key 00:04:0E:85:B2:C0
> 00:04:0E:
> 85:35:15
>
> Feb 11 18:44:03 pclap kernel: Bluetooth: Found 1 CAPI controller(s) on
> device 00
> :04:0E:85:35:15
>
> Feb 11 18:44:03 pclap kernel: kcapi: Controller 1: 00:04:0E:85:35:15
> attached
> Feb 11 18:44:03 pclap kernel: kcapi: card 1 "00:04:0E:85:35:15" ready.
>
> Feb 11 18:44:03 pclap kernel: kcapi: notify up contr 1
>
> Feb 11 18:44:03 pclap kernel: Bluetooth: BNEP (Ethernet Emulation) ver
> 1.0
> Feb 11 18:44:03 pclap kernel: Bluetooth: BNEP filters: protocol
> multicast
> Feb 11 18:44:03 pclap pand[3561]: PAN daemon ver 1.1
>
> Feb 11 18:44:03 pclap pand[3561]: Inquiring
>
> Feb 11 18:44:03 pclap pand[3561]: Searching for NAP on 00:04:0E:85:2E:9A
>
> Feb 11 18:44:43 pclap pand[3561]: Failed to connect to the SDP server.
> Connectio
> n timed out(110)
>
> Feb 11 18:44:43 pclap pand[3561]: Searching for NAP on 00:04:0E:85:35:15
>
> Feb 11 18:45:23 pclap pand[3561]: Failed to connect to the SDP server.
> Connectio
> n timed out(110)

make a dump with "hcidump -w <file>".

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users