public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Kohlsmith <akohlsmith-bluez@benshaw.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] bluez and dbus - how to turn on discovery?
Date: Mon, 15 Jan 2007 11:08:14 -0500	[thread overview]
Message-ID: <200701151108.14727.akohlsmith-bluez@benshaw.com> (raw)
In-Reply-To: <1168867454.5728.8.camel@violet>

On Monday 15 January 2007 8:24 am, Marcel Holtmann wrote:
> I never used kdbus and so I can't tell you if that would work or not. I
> always use the native interface from C or from Python. Some people use
> dbus-send, but I can't remember the syntax.

For the archives, this is how you do it with dbus-send:

$ dbus-send --system --dest=org.bluez --print-reply=1 /org/bluez/hci0 
org.bluez.Adapter.SetMode string:discoverable

Howver... I see no hci0, I see no methods (i.e. Adapter isn't there, SetMode 
isn't there)...  it looks like the bluez 3.7 release does not have any kind 
of introspection or way of seeing what it provides programmatically.  Is this 
true?

-A.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      parent reply	other threads:[~2007-01-15 16:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-15 13:02 [Bluez-users] bluez and dbus - how to turn on discovery? Andrew Kohlsmith
2007-01-15 13:24 ` Marcel Holtmann
2007-01-15 15:33   ` Andrew Kohlsmith
2007-01-16 13:02     ` Ulisses Furquim
2007-01-16 13:28       ` Andrew Kohlsmith
2007-01-16 13:59         ` Marcel Holtmann
2007-01-16 14:04         ` Pierre-Yves Paulus
2007-01-15 16:08   ` Andrew Kohlsmith [this message]

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=200701151108.14727.akohlsmith-bluez@benshaw.com \
    --to=akohlsmith-bluez@benshaw.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox