[Bluez-devel] Re: [gnome-bluetooth] What stuff in gnome-bluetooth does, and ideas for its future

Fred Schättgen bluez-devel at schaettgen.de
Thu Jan 29 11:30:00 GMT 2004

On Thursday 29 January 2004 01:50, Fredrik Noring wrote:
> I'm also thinking about the possibility of making a device name cache
> in /etc/bluetooth/names, somewhat similar to /etc/hosts. And so whenever
> someone requests a scan this table can be updated:
> # /etc/bluetooth/names
> #
> # Bluetooth address	Last updated	Device name
> 00:11:22:33:44:55	1075337039	Some Bluetooth device name
> 66:77:88:99:00:11	1075337039	Some other Bluetooth device name
> The configuration for this service can for example be located in
> /etc/bluetooth/names.conf.
> Having a device name cache makes it a lot easier to display the names
> associated with the addresses in the /etc/bluetooth/keytab file.
> Comments?

A device name cache makes it not only easier to display names more quickly, 
but also can you use it the other way round to resolve device names. We use 
both for our sdp kioslave for KDE. The nice thing (for us) is that everything 
can be done as a regular user, so the daemon can be started along with KDE 
without suid'ing or similar.
Apart from the date of last name request, we also log when a device was last 
discovered and when we were last connected to it (even though this 
information is not used for anything yet ;)

I wasn't able to follow your whole discussion.. do you think this 
functionality should go into bluez itself or into gnome-bluetooth only? If 
it's the latter, it might be a good idea to use the same data store for both 
gnome and kde.. not sure if it's worth the effort, just a thought.


More information about the gnome-bluetooth mailing list