From: "Germán Pedrosa" <german.pedrosa@fundacionctic.org>
To: Claudio Takahasi <claudio.takahasi@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: bluetooth-agent
Date: Wed, 28 Oct 2009 15:43:19 +0100 [thread overview]
Message-ID: <1256740999.6820.23.camel@german-desktop> (raw)
In-Reply-To: <f9d4bd30910280621u2f2102afq4d363b5722ff285@mail.gmail.com>
Dear Claudio,
thanks for your quick answer.
But I'm not using BlueZ's API from a C program. We're using Java, so I'd
like to run bluetooh-agent directly from the shell. Is there any way to
handle requests for all dongles using the command line tool?
I tried using --path, but I didn't get any result. Probably because I'm
not sure how the mapping between bluetooth and unix devices work.
Thanks in advance.
Best,
El mié, 28-10-2009 a las 11:21 -0200, Claudio Takahasi escribió:
>
> Hi German,
>
> you can register the same bluetooth-agent to handle requests for all dongles.
>
> See simple-agent code under test directory, there is an example how to
> register agent.
> Basically you need to call:
> adapter0.RegisterAgent(path, "DisplayYesNo")
> adapter1.RegisterAgent(path, "DisplayYesNo")
> ...
>
> There isn't man pages for bluetooth-agent, see agent-api.txt under doc
> directory.
>
> Cheers,
> krau
On Wed, Oct 28, 2009 at 9:55 AM, Germán Pedrosa
> <german.pedrosa@fundacionctic.org> wrote:
> > Hi,
> >
> > I am newbie with bluez and I'm developing a research project where I
> > need to use various Bluetooth USB-dongles.
> >
> > I need to deploy an automatic bluetooth pairing by command line (it is a
> > project requirement), but the problem is that bluetooth-agent does only
> > listen to hci0 device (I mean, if in any case I need to pair with any
> > other dongle, bluetooth-agent does not reply).
> >
> > Is there any possibility where bluetooth-agent could respond to the
> > other devices? The man page for bluetooth-agent is missing, and I have
> > not found any way to get it.
> >
> > Thanks a lot and best regards.
> >
> >
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
--
Germán Pedrosa <german.pedrosa@fundacionctic.org>
next prev parent reply other threads:[~2009-10-28 14:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 11:55 bluetooth-agent Germán Pedrosa
2009-10-28 13:21 ` bluetooth-agent Claudio Takahasi
2009-10-28 14:43 ` Germán Pedrosa [this message]
[not found] ` <4CAA0D07-C612-4AA6-A5D8-1143F8B252AF@gmail.com>
2009-10-28 15:23 ` bluetooth-agent Germán Pedrosa
2009-10-28 15:37 ` bluetooth-agent alok barsode
2009-10-29 12:47 ` bluetooth-agent Germán Pedrosa
2009-10-29 12:55 ` bluetooth-agent alok barsode
2009-10-29 13:09 ` bluetooth-agent Germán Pedrosa
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=1256740999.6820.23.camel@german-desktop \
--to=german.pedrosa@fundacionctic.org \
--cc=claudio.takahasi@openbossa.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.