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

Marcel Holtmann marcel at holtmann.org
Fri Jan 30 18:26:07 GMT 2004


Hi Fredrik,

> Similar to the idea with /etc/bluetooth/keytab.socket, additional
> sockets can be created for other Bluetooth interface services such
> as name scans, lookups etc. Regular users have access to these
> capabilities based on socket file permissions.

the best place for Unix sockets is /tmp

> Example:
> 
>    /etc/bluetooth/names          # The device name cache
>    /etc/bluetooth/names.conf     # The device name configuration file
>    /etc/bluetooth/names.socket   # The command socket
> 
> Command examples:
> 
>    SCAN            - Returns something similar to "hcitool scan"
>    LOOKUP <bdaddr> - Returns the name if available in the names file
>    DELETE <bdaddr> - Removes the name from the names file
>    LIST            - Lists all names in the names file
> 
> The hcitool utility can be extended with these features too.

If we do it, this should be part of the Bluetooth library itself, so
programmers don't have to worry about it.

Regards

Marcel





More information about the gnome-bluetooth mailing list