From: Pierre-Yves Paulus <py@idlum.be>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] API documentation?
Date: Thu, 10 May 2007 11:49:29 +0200 [thread overview]
Message-ID: <4642EAA9.4060604@idlum.be> (raw)
In-Reply-To: <be976db60705092103r60702f19hbbafe4c5534777b4@mail.gmail.com>
Hello,
I suppose your hcid is running as root, and you checked its output to
ensure it can properly "grab" the org.bluez names for himself, and that
there is no error at that point.
Regards,
Pierre-Yves
Mark S. Townsley wrote:
> Hi Johan:
>
> If you have a DBUS client that is working making use of some Bluez-DBUS
> API, can I take a look at it as example?
>
> I am using C and just to confirm, I also went to the Python-Bluez
> binding making use of the DBUS API. And I got the same error message.
>
> If it is a config issue, I would like to know what I should be putting
> into my dbus.conf and hcid.conf?
> Thanks
>
>
> On 5/9/07, *Johan Hedberg* <johan.hedberg@gmail.com
> <mailto:johan.hedberg@gmail.com>> wrote:
>
> Hi Mark,
>
> On May 9, 2007, at 19:27, Mark S. Townsley wrote:
> > I am trying to follow your advice and use the D-BUS API instead of
> > the low-level HCI API.
> > However, no matter which D-BUS method I issued, I got back this
> error:
> >
> > The name org.bluez was not provided by any .service files
> >
> > I tried to search online but could not find any answer. I searched
> > the archive, nothing comes up. Can you provide your expertise on
> > this one? What are these .service files? How can I make one for
> > org.bluez?
>
> I'm kind of surprised you haven't figured this out already. All you
> need is a running hcid process, and you need to use the system bus
> (it's not clear from your description whether you used the session or
> the system bus). hcid provides the D-Bus well known name org.bluez on
> the system bus. Because your D-Bus client doesn't find org.bluez
> (i.e. hcid is not running) it tries to see if it is activatable but
> does not find any .service file which would describe how to activate
> it (because hcid is not meant to be activated by D-Bus, but should
> e.g. be run from an init script).
>
> Johan
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> <mailto:Bluez-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2007-05-10 9:49 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 14:27 [Bluez-users] API documentation? David Given
2007-05-09 14:52 ` Marcel Holtmann
2007-05-09 15:18 ` David Given
2007-05-09 15:27 ` Marcel Holtmann
2007-05-09 15:36 ` David Given
2007-05-09 16:02 ` Marcel Holtmann
2007-05-09 16:27 ` Mark S. Townsley
2007-05-09 17:21 ` David Given
2007-05-09 20:32 ` Choi Sonim
2007-05-10 7:09 ` Marcel Holtmann
2007-05-10 8:01 ` Erwin Authried
2007-05-10 9:32 ` Marcel Holtmann
2007-05-10 11:19 ` Andrew Kohlsmith
2007-05-10 12:57 ` Marcel Holtmann
2007-05-10 13:44 ` Andrew Kohlsmith
2007-05-10 13:51 ` Marcel Holtmann
2007-05-10 9:34 ` David Given
2007-05-10 9:40 ` Marcel Holtmann
2007-05-09 22:29 ` Johan Hedberg
2007-05-10 3:58 ` Mark S. Townsley
2007-05-10 4:03 ` Mark S. Townsley
2007-05-10 9:49 ` Pierre-Yves Paulus [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-05-10 12:23 Voni Hakau
2007-05-10 13:10 ` Marcel Holtmann
2007-05-10 13:47 ` Andrew Kohlsmith
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=4642EAA9.4060604@idlum.be \
--to=py@idlum.be \
--cc=bluez-users@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.