2008-08-25 10:49:04

by Voni Hakau

[permalink] [raw]
Subject: [Bluez-users] easiest way to get OBEX support (client/server) ?

Hi all,

What is the easiest way (/package?) to get OBEX support on top of Bluez ?

I saw that there are two obex servers in bluez.org - obexd-0.3 and
obex-data-server-0.3.2.

What's the difference between those two ? which one should I pick ?

And - where can I find OBEX client ?

Thank you all for the help
Voni

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2008-08-30 10:50:26

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] easiest way to get OBEX support (client/server) ?

Hi Voni,

> > The current assumption is it runs in the user session and hence
> > requiring a D-Bus session bus. However the end goal is to give the
> > choice to run it at system level if you don't have a fine grained
> > security model anyway.
> >
> > For these case it really helps if you just state what you wanna do with
> > it. Otherwise we will focus on our current plans and do everything else
> > when we have time. Also patches are always welcome.
>
> I need to be able to demonstrate OBEX profiles on a bluez-based
> embedded system which is very early in its development. No GUI
> whatsover. I only have the shell. I have DBUS obviously (although I
> only run system session currently). It's really important because this
> way managers here will be able to choose between bluez and other
> stacks.

just go into the code and replace SESSION with SYSTEM and create a D-Bus
security policy file for org.openobex.

> I guess that currently my only option is obexftp ? Unfortunately it
> doesn't cross compile cleanly.. (I did manage to cross compile
> openobex without a problem though).
>
> IIRC the obex project in the bluez cvs worked pretty nice on a PC.
> unfortunately we use expat and not libxml so I can't use it on my
> embedded system..

I am not touching that code anymore, but that could be easily fixed :)

You will have to do some development since you can't expect that you can
just take open source stuff without any integration work. And that is
exactly what you have to do, integrate it. If patches come up during
this, then send them upstream and we likely include them and then next
time (next product) the integration work goes down.

Regards

Marcel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-08-30 08:44:48

by Voni Hakau

[permalink] [raw]
Subject: Re: [Bluez-users] easiest way to get OBEX support (client/server) ?

Hi Marcel,

On Sat, Aug 30, 2008 at 12:34 PM, Marcel Holtmann <[email protected]> wrote:
> The current assumption is it runs in the user session and hence
> requiring a D-Bus session bus. However the end goal is to give the
> choice to run it at system level if you don't have a fine grained
> security model anyway.
>
> For these case it really helps if you just state what you wanna do with
> it. Otherwise we will focus on our current plans and do everything else
> when we have time. Also patches are always welcome.

I need to be able to demonstrate OBEX profiles on a bluez-based
embedded system which is very early in its development. No GUI
whatsover. I only have the shell. I have DBUS obviously (although I
only run system session currently). It's really important because this
way managers here will be able to choose between bluez and other
stacks.

I guess that currently my only option is obexftp ? Unfortunately it
doesn't cross compile cleanly.. (I did manage to cross compile
openobex without a problem though).

IIRC the obex project in the bluez cvs worked pretty nice on a PC.
unfortunately we use expat and not libxml so I can't use it on my
embedded system..

Thank you for all the help!
Voni

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-08-30 09:34:35

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] easiest way to get OBEX support (client/server) ?

Hi Voni,

> > I've tried obex-data-server and obexd, but I couldn't get either one working.
>
> maybe they only give dbus api ? and they are not meant to be used from
> the command line ?

obexd is only a server and it needs some interaction with the UI to some
degree for authorization callbacks and so on. Feel free to propose
patches since we can add switches for a fully command line based use
cases.

The current assumption is it runs in the user session and hence
requiring a D-Bus session bus. However the end goal is to give the
choice to run it at system level if you don't have a fine grained
security model anyway.

For these case it really helps if you just state what you wanna do with
it. Otherwise we will focus on our current plans and do everything else
when we have time. Also patches are always welcome.

> > I asked on the list but there wasn't a reply.
>
> I also tried on IRC but no one responded.. :(

Be patient. Even while some of us look online 24/7, we are not :)

> > I also use obexftp and obexfs.
>
> What is obexfs btw ?

OpenOBEX into FUSE integration.

Regards

Marcel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-08-30 09:30:04

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] easiest way to get OBEX support (client/server) ?

Hi Voni,

> > I've tried obex-data-server and obexd, but I couldn't get either one working.
> > I asked on the list but there wasn't a reply. The one I use currently is one I
>
> Also there is an 'obex' project in the bluez cvs, i think it is obex
> client, but i can't use it because it requires libxml and we use
> libexpat in our embedded system (libxml is bloated!)

I kept the repository there as an example. It is old and hasn't been
updated in a long time.

Regards

Marcel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-08-30 07:16:09

by Voni Hakau

[permalink] [raw]
Subject: Re: [Bluez-users] easiest way to get OBEX support (client/server) ?

On Fri, Aug 29, 2008 at 3:13 PM, jayjwa <[email protected]> wrote:
> I've tried obex-data-server and obexd, but I couldn't get either one working.
> I asked on the list but there wasn't a reply. The one I use currently is one I

Also there is an 'obex' project in the bluez cvs, i think it is obex
client, but i can't use it because it requires libxml and we use
libexpat in our embedded system (libxml is bloated!)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-08-30 07:11:32

by Voni Hakau

[permalink] [raw]
Subject: Re: [Bluez-users] easiest way to get OBEX support (client/server) ?

Thank you jayjwa !

On Fri, Aug 29, 2008 at 3:13 PM, jayjwa <[email protected]> wrote:
> I've tried obex-data-server and obexd, but I couldn't get either one working.

maybe they only give dbus api ? and they are not meant to be used from
the command line ?

> I asked on the list but there wasn't a reply.

I also tried on IRC but no one responded.. :(

> The one I use currently is one I
> found, made by someone, and patched a bit to compile here by myself. Credits
> are in the files, but I can't remember the author right now. It has both
> server and client. It is as it is, I can't say how functional or secure it is,
> but it meets my needs. You'll need openobex, glib, bluez, zlib, pcre and
> be able to compile stuff with it.

Thanks I will try it

> I also use obexftp and obexfs.

What is obexfs btw ?

Did you succeed to cross compile obexftp ? (I succeeded to 'make' it,
but when i tried to 'make install' it weirdly failed)

thank you
voni

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-08-29 12:13:03

by jayjwa

[permalink] [raw]
Subject: Re: [Bluez-users] easiest way to get OBEX support (client/server) ?



On Mon, 25 Aug 2008, Voni Hakau wrote:

->
-> Another question related - what about OpenOBEX ? is it recommended ?
-> how does it differ from the obex servers hosted on bluez website ?
->
-> Thanks!
->
-> On Mon, Aug 25, 2008 at 1:49 PM, Voni Hakau <[email protected]> wrote:
-> > Hi all,
-> >
-> > What is the easiest way (/package?) to get OBEX support on top of Bluez ?
-> >
-> > I saw that there are two obex servers in bluez.org - obexd-0.3 and
-> > obex-data-server-0.3.2.
-> >
-> > What's the difference between those two ? which one should I pick ?
-> >
-> > And - where can I find OBEX client ?


I've tried obex-data-server and obexd, but I couldn't get either one working.
I asked on the list but there wasn't a reply. The one I use currently is one I
found, made by someone, and patched a bit to compile here by myself. Credits
are in the files, but I can't remember the author right now. It has both
server and client. It is as it is, I can't say how functional or secure it is,
but it meets my needs. You'll need openobex, glib, bluez, zlib, pcre and
be able to compile stuff with it. I also use obexftp and obexfs.


ftp://atr2.ath.cx/pub/linux/source/src-3/obexpush-p1.tar.bz2


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2008-08-25 10:56:21

by Voni Hakau

[permalink] [raw]
Subject: Re: [Bluez-users] easiest way to get OBEX support (client/server) ?

Another question related - what about OpenOBEX ? is it recommended ?
how does it differ from the obex servers hosted on bluez website ?

Thanks!

On Mon, Aug 25, 2008 at 1:49 PM, Voni Hakau <[email protected]> wrote:
> Hi all,
>
> What is the easiest way (/package?) to get OBEX support on top of Bluez ?
>
> I saw that there are two obex servers in bluez.org - obexd-0.3 and
> obex-data-server-0.3.2.
>
> What's the difference between those two ? which one should I pick ?
>
> And - where can I find OBEX client ?
>
> Thank you all for the help
> Voni
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users