public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Connect Error - Function not implemented
@ 2004-09-02 17:54 George
  2004-09-06  8:26 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: George @ 2004-09-02 17:54 UTC (permalink / raw)
  To: bluez-users

Hi all.

I'm developing under kernel 2.4.21 an application that involves dealing 
with bluetooth devices.
In order to make the application I have taken part of the code of the pand 
(it's opensource great!!!). My application is very similar to that. It's a 
daemon that firstly look for Bluetooth devices, if any found it tries to 
establish a bnep connection and then it runs as a server in order to be 
able to attend connection request. As you can see it's more or less all the 
stuff in pand. I have also automate the bridge creation, ...

Well I have been checking the correct behaviour by running my application 
and then connecting using pand. This way everything works ok.

However when running my application on two PC I get the following error 
from the connect statement: Function not implemented (38)
Then if I try again with pand I still get the error.

What is the reason for this error?

Any help is really welcomed.

TA



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Connect Error - Function not implemented
  2004-09-02 17:54 [Bluez-users] Connect Error - Function not implemented George
@ 2004-09-06  8:26 ` Marcel Holtmann
  2004-09-06  9:07   ` George
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2004-09-06  8:26 UTC (permalink / raw)
  To: George; +Cc: bluez-users

Hi George,

> I'm developing under kernel 2.4.21 an application that involves dealing 
> with bluetooth devices.
> In order to make the application I have taken part of the code of the pand 
> (it's opensource great!!!). My application is very similar to that. It's a 
> daemon that firstly look for Bluetooth devices, if any found it tries to 
> establish a bnep connection and then it runs as a server in order to be 
> able to attend connection request. As you can see it's more or less all the 
> stuff in pand. I have also automate the bridge creation, ...
> 
> Well I have been checking the correct behaviour by running my application 
> and then connecting using pand. This way everything works ok.
> 
> However when running my application on two PC I get the following error 
> from the connect statement: Function not implemented (38)
> Then if I try again with pand I still get the error.
> 
> What is the reason for this error?

check your role switch and master/slave settings and make sure that you
are not using security mode 3.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Connect Error - Function not implemented
  2004-09-06  8:26 ` Marcel Holtmann
@ 2004-09-06  9:07   ` George
  0 siblings, 0 replies; 3+ messages in thread
From: George @ 2004-09-06  9:07 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: bluez-users

Hi. I solve the problem. The reason was that I have the two peers 
configured as master and this way it's impossible to interconnect them, as 
my BT devices doesn't support that. I was trying something like an scatternet.

Thanks.

At 10:26 06/09/2004, Marcel Holtmann wrote:
 >Hi George,
 >
 >> I'm developing under kernel 2.4.21 an application that involves dealing
 >> with bluetooth devices.
 >> In order to make the application I have taken part of the code of the pand
 >> (it's opensource great!!!). My application is very similar to that. It's a
 >> daemon that firstly look for Bluetooth devices, if any found it tries to
 >> establish a bnep connection and then it runs as a server in order to be
 >> able to attend connection request. As you can see it's more or less all 
the
 >> stuff in pand. I have also automate the bridge creation, ...
 >>
 >> Well I have been checking the correct behaviour by running my application
 >> and then connecting using pand. This way everything works ok.
 >>
 >> However when running my application on two PC I get the following error
 >> from the connect statement: Function not implemented (38)
 >> Then if I try again with pand I still get the error.
 >>
 >> What is the reason for this error?
 >
 >check your role switch and master/slave settings and make sure that you
 >are not using security mode 3.
 >
 >Regards
 >
 >Marcel

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-02 17:54 [Bluez-users] Connect Error - Function not implemented George
2004-09-06  8:26 ` Marcel Holtmann
2004-09-06  9:07   ` George

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