From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] intercept new authentication events
Date: Thu, 05 Apr 2007 11:29:51 +0200 [thread overview]
Message-ID: <1175765391.5815.595.camel@violet> (raw)
In-Reply-To: <BAY107-F1712202F8AB9BFB5AC45CBD8650@phx.gbl>
Hi Adolfo,
> Hi guys, I'm developing a java apps that exploits the BlueZ stack via JNI
> and some C functions.
> Now, I'd like that my app intercept the event that happens when a new remote
> device wants to authenticate itself with my bt dongle (i.e. wants to trigger
> the pair procedure).
> I've searched in the hcitool.c file and found and found the function:
> static int conn_list(int s, int dev_id, long arg)
> that prints all the active connections from and to my bt dongle. But this
> function is not what I'm looking for, since it is not a callback function
> and most important it prints out all the connections (including data ones).
> Does exist a way to know if a new remote device want to pair with my bt
> dongle? And if so, what are the functions I need to look at?
you can register a default passkey agent via D-Bus and then you know
when a device wants to pair. Otherwise there are no hooks.
Regards
Marcel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-04-05 9:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-05 8:05 [Bluez-devel] intercept new authentication events Adolfo Bulfoni
2007-04-05 9:29 ` Marcel Holtmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-05 15:07 Adolfo Bulfoni
2007-04-05 18:11 ` Claudio Takahasi
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=1175765391.5815.595.camel@violet \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
/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