All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Pairing event in a module
Date: Mon, 12 Feb 2007 20:44:21 +0100	[thread overview]
Message-ID: <1171309461.11774.22.camel@violet> (raw)
In-Reply-To: <200702071644.02277.fernando@bluexare.org>

Hi Fernando,

> I'm trying to develop an application that works with mobil devices.
> 
> I want to caugth the pairing event to do some things...
> 
> Only I need the device address of it, when the device pairs to me.
> 
> I have been seen the code, but I don't know how I can integrate to my module.
> 
> The link_key_notify shows when a device have paired with me, but how can 
> I "listen" until the launch of this method?
> How I can listen the EVT_LINK_KEY_NOTIFY event?
> 
> Which method launch this events??
> 
> I have seen that io_security_event do something with this events when they are 
> launched, but..., Who launch them?
> 
> Or, if i can listen these envets, It would be sufficient for me.

use the D-Bus API and listend to BondingCreated signals. Playing on the
low-level HCI is not a good idea at all.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2007-02-12 19:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 15:44 [Bluez-devel] Pairing event in a module Fernando Unzu
2007-02-12 19:44 ` Marcel Holtmann [this message]
2007-02-14 10:36   ` Fernando Unzu
2007-02-14 10:45     ` Marcel Holtmann
2007-02-15  9:20       ` Fernando Unzu

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=1171309461.11774.22.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 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.