Pairing event in a module
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Fernando,
Quoted 12 lines
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_notifyshows when a device have paired with me, but how can I "listen" until the launch of this method?
How I can listen theEVT_LINK_KEY_NOTIFYevent?
Quoted 6 lines
Which method launch this events??
I have seen that
io_security_eventdo 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Marcel,
El Lunes, 12 de Febrero de 2007 20:44, Marcel Holtmann escribi=F3:
Quoted 20 lines
Hi Fernando,
Quoted 18 lines
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_notifyshows when a device have paired with me, but how can I "listen" until the launch of this method?
How I can listen theEVT_LINK_KEY_NOTIFYevent?Which method launch this events??
I have seen that
io_security_eventdo something with this events when they are launched, but..., Who launch them?
Quoted 8 lines
Quoted 1 line
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Fernando,
Quoted 7 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
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:
Quoted 19 lines
Hi Fernando,
Quoted 7 lines
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
Quoted 5 lines
-------------------------------------------------------------------------
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
Quoted 4 lines
_______________________________________________
Bluez-devel mailing list
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel