Active Topics

 


Reply
Thread Tools
Posts: 5 | Thanked: 5 times | Joined on Dec 2008 @ Thailand/Switzerland
#1
Has anybody some experience with openobex and bluetooth?

I have some weird problems when using BtOBEX_TransportConnect. When I use this function on the tablet it can not connect and returns an error (negative value). Using the same code on my Ubuntu box connects just fine.

Can it be that the openobex version on the tablet (libopenobex1-1.3osso5) doesn't support the same functionality than the library on other distros?
Has anybody encountered similar behavior? Any other programs using libopenobex with bluetooth and got it working?

Any help is much appreciated.
 
Posts: 5 | Thanked: 5 times | Joined on Dec 2008 @ Thailand/Switzerland
#2
Ok, solved the problem. Maybe somebody else will come to this problem so I quote what Johan Hedberg wrote me (thanks Johan!):

"You can use the maemo libopenobex with Bluetooth but you need to use FdOBEX_TransportSetup and give it a connected RFCOMM socket. The BtOBEX* functions are not available in the maemo version of openobex since including them would mean linking with libbluetooth wich in turn would mean that libopenobex (and all applications linked to it) would become GPL (instead of LGPL which is its intended license)."

This works now for me.
 

The Following 4 Users Say Thank You to chrisk For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Apr 2010
#3
Hi Chris,

I am working on a project on N810 using the same library.

I am wonder if you were able to register the server without using BtOBER_ServerRegister()? I got a -94 (socket not supported).
Is there a work around?

Thank you in advance.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:33.