All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Pairing event in a module
@ 2007-02-07 15:44 Fernando Unzu
  2007-02-12 19:44 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Fernando Unzu @ 2007-02-07 15:44 UTC (permalink / raw)
  To: bluez-devel

Hello,
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.

Thanks


-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] Pairing event in a module
  2007-02-07 15:44 [Bluez-devel] Pairing event in a module Fernando Unzu
@ 2007-02-12 19:44 ` Marcel Holtmann
  2007-02-14 10:36   ` Fernando Unzu
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-02-12 19:44 UTC (permalink / raw)
  To: BlueZ development

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] Pairing event in a module
  2007-02-12 19:44 ` Marcel Holtmann
@ 2007-02-14 10:36   ` Fernando Unzu
  2007-02-14 10:45     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Fernando Unzu @ 2007-02-14 10:36 UTC (permalink / raw)
  To: BlueZ development

Hi Marcel,


El Lunes, 12 de Febrero de 2007 20:44, Marcel Holtmann escribi=F3:
> 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

You have all the reason saying that works with low-level HCI is not a good =

idea, jejej (although I have develop a non perfect solution).

But if you inform me something about where I can find information about D-B=
us, =

and where I can see the api, the code or the functions that uses...., I wou=
ld =

be thankfull and try to understand and learn about it.
Now, I don't know a lot about D-Bus.

Thank you very much,

Fernando

-------------------------------------------------------------------------
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=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] Pairing event in a module
  2007-02-14 10:36   ` Fernando Unzu
@ 2007-02-14 10:45     ` Marcel Holtmann
  2007-02-15  9:20       ` Fernando Unzu
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-02-14 10:45 UTC (permalink / raw)
  To: BlueZ development

Hi Fernando,

> You have all the reason saying that works with low-level HCI is not a good 
> idea, jejej (although I have develop a non perfect solution).
> 
> But if you inform me something about where I can find information about D-Bus, 
> and where I can see the api, the code or the functions that uses...., I would 
> be thankfull and try to understand and learn about it.
> Now, I don't know a lot about D-Bus.

the source contains a dbus-api.txt document that lists all methods and
signals.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] Pairing event in a module
  2007-02-14 10:45     ` Marcel Holtmann
@ 2007-02-15  9:20       ` Fernando Unzu
  0 siblings, 0 replies; 5+ messages in thread
From: Fernando Unzu @ 2007-02-15  9:20 UTC (permalink / raw)
  To: BlueZ development

Hi Marcel,

Thanks for the fast response.

I have realized that i'm using an old version of bluez, because of that, I =

don't have knowledge about this signals and functions.

Now, I have the newest version, and I look the signals you told me.

Thank you very much, I wish to advance faster now.

Thanks

Fernando


El Mi=E9rcoles, 14 de Febrero de 2007 11:45, Marcel Holtmann escribi=F3:
> Hi Fernando,
>
> > You have all the reason saying that works with low-level HCI is not a
> > good idea, jejej (although I have develop a non perfect solution).
> >
> > But if you inform me something about where I can find information about
> > D-Bus, and where I can see the api, the code or the functions that
> > uses...., I would be thankfull and try to understand and learn about it.
> > Now, I don't know a lot about D-Bus.
>
> the source contains a dbus-api.txt document that lists all methods and
> signals.
>
> 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=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------------------------
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=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-02-15  9:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07 15:44 [Bluez-devel] Pairing event in a module Fernando Unzu
2007-02-12 19:44 ` Marcel Holtmann
2007-02-14 10:36   ` Fernando Unzu
2007-02-14 10:45     ` Marcel Holtmann
2007-02-15  9:20       ` Fernando Unzu

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.