From: Claudio Takahasi <cktakahasi@gmail.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] DBUS service support - Initial library
Date: Wed, 25 May 2005 19:20:34 -0300 [thread overview]
Message-ID: <e1effdeb050525152067a5cbd3@mail.gmail.com> (raw)
In-Reply-To: <1116925644.30044.140.camel@pegasus>
Hi Marcel,
A new patch is available in the link below:
http://www.indt.org.br/maemo/bluez/
The DBUS.TXT file contains information to run the sample and
how configure the service.
Suggestions and comments are welcome!
Regards,
Claudio.
On 5/24/05, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Claudio,
>=20
> > Regarding our suggestion about the service name. I consider the
> > following basic features essential to establish and control connections=
:
> > * Search for a service (provided by sdptool)
> > * Display local devices (provided by hcitool)
> > * Switch master/slave role (provided by hcitool)
> > * Listen for PAN connections (provided by pand)
> > * Connect (provided by pand)
> > * Disconnect (provided by pand)
> > * Display active connections (provided by pand)
> >
> > According to D-BUS specification when messages are received over a
> > D-BUS connection,
> > they are sent to a specific object, not to the application as a whole.
> > Each object supports
> > one or more interfaces.
> >
> > We have two options:
> > 1. define one object with only one interface
> > eg:
> > object:org.bluez.pand
> > interface:org.bluez.pand
> > 2. define one object with multiple interfaces
> > eg:
> > object:org.bluez.pand
> > interface: org.bluez.pand
> > interface: org.bluez.sdp
> > interface: org.bluez.hci
> >
> > For the both cases, pand will be the daemon responsible for
> > provide this interfaces/services.
> > What approach do you preffer?
> > The last alternative is better because it is possible define more
> > detailed rules in the dbus configuration file.
>=20
> this might be, but until we don't fully understand what functionality we
> need to provide over D-Bus I like to go with 1). In general the first
> version of an API sucks and I don't wanna spread it over different
> interfaces and have to deprecate them.
>=20
> > Another point is the header for dbus services, the client application
> > must know the message format, therefore the header file(dbus_services.h=
)
> > will be required. In the future, develop a library hidding D-BUS messag=
e
> > details is a better option.
>=20
> Then make it dbus.h for the service definitions and move the rest into
> dbus.c and the function declaration into pand.h. For now copy the dbus.h
> to the client application and we will sort out the details of it later.
>=20
> Regards
>=20
> Marcel
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=3D7412&alloc_id=3D16344&op=3Dclick
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2005-05-25 22:20 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 20:00 [Bluez-devel] DBUS service support - Initial library Claudio Takahasi
2005-04-29 9:47 ` Marcel Holtmann
2005-04-29 12:26 ` Claudio Takahasi
2005-04-29 12:43 ` Marcel Holtmann
2005-04-29 22:20 ` Claudio Takahasi
2005-04-30 0:04 ` Marcel Holtmann
2005-05-01 21:16 ` Claudio Takahasi
2005-05-01 23:18 ` Marcel Holtmann
2005-05-02 15:32 ` Claudio Takahasi
2005-05-02 16:24 ` Marcel Holtmann
2005-05-09 21:31 ` Claudio Takahasi
2005-05-11 18:27 ` Marcel Holtmann
2005-05-12 9:00 ` Peter Wippich
2005-05-12 12:41 ` Marcel Holtmann
2005-05-12 16:21 ` Peter Wippich
2005-05-20 21:04 ` Claudio Takahasi
2005-05-23 10:27 ` Marcel Holtmann
2005-05-23 15:02 ` Claudio Takahasi
2005-05-24 9:07 ` Marcel Holtmann
2005-05-25 22:20 ` Claudio Takahasi [this message]
2005-05-26 9:08 ` Marcel Holtmann
2005-05-26 21:22 ` Claudio Takahasi
2005-05-26 21:40 ` Marcel Holtmann
2005-05-30 22:42 ` Claudio Takahasi
2005-05-30 23:05 ` Marcel Holtmann
2005-06-03 20:34 ` [Bluez-devel] DBUS service support - poll patch Claudio Takahasi
2005-06-03 20:38 ` Marcel Holtmann
2005-06-03 21:31 ` Claudio Takahasi
2005-06-03 22:10 ` Marcel Holtmann
2005-06-06 13:18 ` Claudio Takahasi
2005-06-14 11:37 ` Claudio Takahasi
2005-06-17 21:59 ` Claudio Takahasi
2005-06-18 23:28 ` Marcel Holtmann
2005-05-12 12:45 ` [Bluez-devel] DBUS service support - Initial library Claudio Takahasi
2005-05-12 16:23 ` Peter Wippich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e1effdeb050525152067a5cbd3@mail.gmail.com \
--to=cktakahasi@gmail.com \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.