public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Alan Carvalho de Assis" <acassis@gmail.com>
To: "Johan Hedberg" <johan.hedberg@nokia.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Simple-agent in C
Date: Thu, 20 Nov 2008 23:45:11 +0000	[thread overview]
Message-ID: <37367b3a0811201545q519404c1y3189a15907e5b2fe@mail.gmail.com> (raw)
In-Reply-To: <20081120153258.GA31342@localhost>

Sorry my mistake, I replied onf to Johan...

On Thu, Nov 20, 2008 at 3:32 PM, Johan Hedberg <johan.hedberg@nokia.com> wrote:
>
> Yes, as I said you'll need to fill in the proper agent callbacks (right
> now there's something called "Request" which does not exist in the API)
> as well as make it get the adapter path using e.g. DefaultAdapter().

All right. Thank you again!

When I run this agent it is reporting here is not org.bluez DBUS
service, then I verified bluetoothd is is starting correctly:

# bluetoothd -nd
bluetoothd[1888]: Bluetooth daemon
bluetoothd[1888]: Enabling debug information
bluetoothd[1888]: parsing main.conf
bluetoothd[1888]: offmode=NoScan
bluetoothd[1888]: discovto=0
bluetoothd[1888]: pageto=8192
bluetoothd[1888]: name=%h-%d
bluetoothd[1888]: class=0x000100
bluetoothd[1888]: inqmode=0
bluetoothd[1888]: Unable to get on D-Bus

This is the very same error reported here:
https://lists.ubuntu.com/archives/ubuntu-bluetooth/2008-November/002629.html

I am starting dbus this way:
# dbus-daemon --system

I tried to strace bluetoothd but it doesn't helped much, none suspect
problem. Is this some specific problem of this version (4.18)?

Some idea about how to solve this problem?
I think "Unable to get on D-Bus" means bluetoothd are not listening to
same d-bus socket started by dbus-daemon. Isn't it?

> Johan

Best Regards,

Alan

      reply	other threads:[~2008-11-20 23:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20 13:16 Simple-agent in C Alan Carvalho de Assis
2008-11-20 13:34 ` Johan Hedberg
2008-11-20 15:22   ` Alan Carvalho de Assis
2008-11-20 15:32     ` Johan Hedberg
2008-11-20 23:45       ` Alan Carvalho de Assis [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=37367b3a0811201545q519404c1y3189a15907e5b2fe@mail.gmail.com \
    --to=acassis@gmail.com \
    --cc=johan.hedberg@nokia.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