public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: "Wilson, Scott" <SCOTT.WILSON@CUBIC.COM>
Cc: linux-bluetooth@vger.kernel.org
Subject: RE: Passkey-Agent for bluez 4.xx
Date: Mon, 18 May 2009 15:16:10 -0700	[thread overview]
Message-ID: <1242684970.17495.3.camel@localhost.localdomain> (raw)
In-Reply-To: <88BAD6A2A6AF68449DBBF80948806AC9014F56F0@bb-corp-ex1.corp.cubic.cub>

Hi Scott,

> >> My question is, how hard would it be to fix the agent.c code myself?
> 
> >Most of the work has been done, I believe. You should speak to Alan
> >Carvalho de Assis at acassis@gmail.com.
> 
> >James
> 
> I have some additional questions:
> 
> While on the "full" Linux operating system (on a PC), some type of agent
> is installed and executed for me in that environment.  Where is this
> agent coming from?  How is it being executed for me? To my knowledge, I
> have never installed an agent or configured one.
> 
> I can't seem to find many agent interactions in the Bluez code -
> although I find references to it.  Not surprisingly, the main agent
> reference is in test/agent.c.
> 
> When I go to execute my project on my embedded device, there is no
> agent.  From all other aspects that I am aware of, the other things
> (dbus, bluez, etc) seem to be similar (my team has already tackled those
> challenges - although some may still remain).
> 
> Is it possible that this agent is not included with the dbus that runs
> on the embedded device, but is on the PC?  Does Gnome include this
> agent?  Does it come from the bluetooth-applet?

the simple answer is yes. The agent is part of bluetooth-applet. Either
from bluez-gnome package or nowadays from gnome-bluetooth.

The agent is running in a userspace session, while bluetoothd running at
system level as root.

Other example agents are test/agent.c or simple-agent. Also KDE has its
own agent and so does the Maemo based devices.

Regards

Marcel



  reply	other threads:[~2009-05-18 22:16 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 19:21 Passkey-Agent for bluez 4.xx Wilson, Scott
2009-05-18 19:52 ` James Le Cuirot
2009-05-18 21:53   ` Wilson, Scott
2009-05-18 22:16     ` Marcel Holtmann [this message]
2009-05-18 22:20     ` tmm
  -- strict thread matches above, loose matches on Subject: below --
2009-05-13 15:55 Artem Makhutov
2009-05-13 15:48 Artem Makhutov
2009-05-14  4:46 ` Brad Midgley
2009-05-16 14:52   ` Artem Makhutov
2009-06-16 13:07   ` John Frankish
2009-06-16 14:30     ` Timothy Murphy
2009-06-17  7:38       ` Johan Hedberg
2009-06-17 12:17         ` Simon Kenyon
2009-06-16 19:21     ` Artem Makhutov
2009-06-17  4:14       ` John Frankish
2009-06-17  7:12         ` Johan Hedberg
2009-06-17 14:15           ` John Frankish
2009-06-17 15:35             ` Brad Midgley
2009-06-17  6:27     ` Brad Midgley
2009-06-17 14:15       ` John Frankish

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=1242684970.17495.3.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=SCOTT.WILSON@CUBIC.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