public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexander H Deriziotis <deriziotis@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: non-blocking hci_inquiry()
Date: Wed, 12 Aug 2009 23:37:03 +0100	[thread overview]
Message-ID: <5eee8c670908121537j500e2883t30e726c10bb7ffef@mail.gmail.com> (raw)
In-Reply-To: <1248784304.28545.226.camel@violet>

Hi Marcel,

2009/7/28 Marcel Holtmann <marcel@holtmann.org>:
>
> use the D-Bus interface for non-blocking inquiry.

I'm following the GLib with C example in the following doc:
http://wiki.bluez.org/wiki/HOWTO/DiscoveringDevices and having
problems running the example code.

It compiles perfectly fine, however, when I run it, it gives me the
following error:

jackflap@genesis:~/Desktop/cwiid-0.6.00/new_test$ ./bluetooth
Failed to discover devices: Method "DiscoverDevices" with signature ""
on interface "org.bluez.Adapter" doesn't exist

I'm getting the impression that it's the following line in the code
that isn't working:

        obj = dbus_g_proxy_new_for_name(bus, "org.bluez",
"/org/bluez/hci0", "org.bluez.Adapter");

I'm certain my bluetooth adapter is recognized and is configured as hci0.

What am I missing?

Thanks,
Alex

  reply	other threads:[~2009-08-12 22:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5eee8c670907280453i76f4957fvcca9c3954576580d@mail.gmail.com>
2009-07-28 11:55 ` non-blocking hci_inquiry() Alexander H Deriziotis
2009-07-28 12:31   ` Marcel Holtmann
2009-08-12 22:37     ` Alexander H Deriziotis [this message]
2009-08-12 22:40       ` Marcel Holtmann

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=5eee8c670908121537j500e2883t30e726c10bb7ffef@mail.gmail.com \
    --to=deriziotis@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.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