* [Bluez-devel] Bonding methods only avaliable for present adapters
@ 2006-10-18 17:32 Daniel Gollub
2006-10-18 18:29 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Gollub @ 2006-10-18 17:32 UTC (permalink / raw)
To: bluez-devel
Hi,
i started porting the kcm_btpaired module (KDE controlcenter menu) to make use
of the BlueZ DBus API. The kcm_btpaired module is intended to
view/list/delete/export/... linkkeys of remote devices. The bonding methods
(and other adapter specifics methods ..) can only used when the adapter is
present. So the linkkey list in kcm_btpaired will be empty, when there is no
bluetooth dongle connected.
Is this intended in the DBus API? That methods, which are based on stored
data, not avaliable?
If not, maybe a new object path for known devices would be helpful.
Like: /org/bluez/FF:FF:FF:FF:FF or /org/bluez/adapters/FF:FF:FF:FF:FF
Which should provide near the same methods as a present adapter. At least the
function which based on stored stuff from /var/lib/bluetooth/*/*
Maybe this can also be done with the org.bluez.Adapter interface.
Other suggestions?
Or is direct access to linkkeys via filesystem the only way?
best regards,
Daniel
-------------------------------------------------------------------------
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] 2+ messages in thread
* Re: [Bluez-devel] Bonding methods only avaliable for present adapters
2006-10-18 17:32 [Bluez-devel] Bonding methods only avaliable for present adapters Daniel Gollub
@ 2006-10-18 18:29 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-10-18 18:29 UTC (permalink / raw)
To: BlueZ development; +Cc: bluez-devel
Hi Daniel,
> i started porting the kcm_btpaired module (KDE controlcenter menu) to make use
> of the BlueZ DBus API. The kcm_btpaired module is intended to
> view/list/delete/export/... linkkeys of remote devices. The bonding methods
> (and other adapter specifics methods ..) can only used when the adapter is
> present. So the linkkey list in kcm_btpaired will be empty, when there is no
> bluetooth dongle connected.
>
> Is this intended in the DBus API? That methods, which are based on stored
> data, not avaliable?
actually we never really thought about it. In most cases you only want
to modify device settings for attached devices.
> If not, maybe a new object path for known devices would be helpful.
> Like: /org/bluez/FF:FF:FF:FF:FF or /org/bluez/adapters/FF:FF:FF:FF:FF
>
> Which should provide near the same methods as a present adapter. At least the
> function which based on stored stuff from /var/lib/bluetooth/*/*
> Maybe this can also be done with the org.bluez.Adapter interface.
It would be an option to allow additional access for currently not
present adapters. I am not sure if that is really needed in the real
world.
> Or is direct access to linkkeys via filesystem the only way?
The storage and storage format should be hidden from all desktop
application. Remember that there should not even be any need to link
against the Bluetooth library.
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] 2+ messages in thread
end of thread, other threads:[~2006-10-18 18:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18 17:32 [Bluez-devel] Bonding methods only avaliable for present adapters Daniel Gollub
2006-10-18 18:29 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox