2008-05-19 08:24:41

by Fritz Code

[permalink] [raw]
Subject: [Bluez-users] using bluez without the dbus-daemon, just dbus-lib as peer-to-peer connection

Hi,

dbus can be used in two modes, on the one hand just the dbus library in
order to establish a point-to-point communication between two processes,
on the other hand with the dbus-daemon which uses the library in order to
allow the communication of many different processes with each other.

In my specific scenario I have to safe system resources since I'm developing
for an embedded arm system and I only have one single application which has
to communicate with bluez.

Is it possible to use bluez only with the dbuslib (without dbus-daemon) in
order to establish a point-to-point communication between bluez and an
application which uses the bluez/bluetooth features?
If yes which part of bluez is responsible for doing that?
Are there any differences in the view of bluez-functionalities between this
two modes of communication besides the obvious that there can be only one
peer-to-peer connection?

thanks a lot.

--
Regards,
--Codefritz


Attachments:
(No filename) (948.00 B)
(No filename) (1.00 kB)
(No filename) (230.00 B)
(No filename) (164.00 B)
Download all attachments

2008-05-19 08:52:48

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] using bluez without the dbus-daemon, just dbus-lib as peer-to-peer connection

Hi Fritz,

> dbus can be used in two modes, on the one hand just the dbus library
> in order to establish a point-to-point communication between two
> processes,
> on the other hand with the dbus-daemon which uses the library in order
> to allow the communication of many different processes with each
> other.
>
> In my specific scenario I have to safe system resources since I'm
> developing for an embedded arm system and I only have one single
> application which has to communicate with bluez.
>
> Is it possible to use bluez only with the dbuslib (without
> dbus-daemon) in order to establish a point-to-point communication
> between bluez and an application which uses the bluez/bluetooth
> features?
> If yes which part of bluez is responsible for doing that?
> Are there any differences in the view of bluez-functionalities between
> this two modes of communication besides the obvious that there can be
> only one peer-to-peer connection?

the answer is no, you can't do that.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users