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
[email protected]
https://lists.sourceforge.net/lists/listinfo/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
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users