public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Doug Moeller <dmoeller@autonetmobile.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: "org.bluez.Adapter" doesn't exist
Date: Sat, 25 Jul 2009 07:27:46 -0300	[thread overview]
Message-ID: <2d5a2c100907250327i4430ecc6qcfd668168192cfcb@mail.gmail.com> (raw)
In-Reply-To: <4A6A59F6.5000102@autonetmobile.com>

Hi,

On Fri, Jul 24, 2009 at 10:03 PM, Doug
Moeller<dmoeller@autonetmobile.com> wrote:
> # dbus-send --system --type=method_call --print-reply --dest=org.bluez
> /org/bluez/hci0 org.bluez.Adapter.GetMode
> Error org.freedesktop.DBus.Error.UnknownMethod: Method "GetMode" with
> signature "" on interface "org.bluez.Adapter" doesn't exist
>
>
> Bluetoothd output
>
>
> # bluetoothd -dn
> bluetoothd[18625]: Bluetooth daemon 4.38

There is no GetMode on Adapter interface, I suggest you to read the
documentation under doc/ directory, there is also some python scripts
which are useful for testing under tests/ directory. Another problem
is that you are using  hardcoded path /org/bluez/hci0, this won't work
anymore.

ps: The directories are relative to BlueZ repository:
git://git.kernel.org/pub/scm/bluetooth/bluez.git
ps2: http://git.kernel.org/?p=bluetooth/bluez.git;a=blob;f=doc/adapter-api.txt;h=1e03b4e2785e33d37c9579238e6a49ac719047de;hb=HEAD

-- 
Luiz Augusto von Dentz
Engenheiro de Computação

      parent reply	other threads:[~2009-07-25 10:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-22  9:29 [PATCH 0/3] Initial support for ERTM Gustavo F. Padovan
2009-07-22  9:29 ` [PATCH 1/3] Bluetooth: Add initial support for ERTM packets transfers Gustavo F. Padovan
2009-07-22  9:29   ` [PATCH 2/3] Bluetooth: Create l2cap_send_disconn_req() Gustavo F. Padovan
2009-07-22  9:29     ` [PATCH 3/3] Bluetooth: add support for Segmentation and Reassembly of SDUs Gustavo F. Padovan
2009-07-22  9:50     ` [PATCH 2/3] Bluetooth: Create l2cap_send_disconn_req() Marcel Holtmann
2009-07-22  9:51   ` [PATCH 1/3] Bluetooth: Add initial support for ERTM packets transfers Marcel Holtmann
2009-07-25  1:03     ` "org.bluez.Adapter" doesn't exist Doug Moeller
2009-07-25  2:19       ` David Stockwell
2009-07-25  6:52         ` Bastien Nocera
2009-07-25 11:05           ` Marcel Holtmann
2009-07-25 22:20           ` Doug Moeller
2009-07-25 10:27       ` Luiz Augusto von Dentz [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=2d5a2c100907250327i4430ecc6qcfd668168192cfcb@mail.gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=dmoeller@autonetmobile.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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