Re: Cached friendly names never updated when changed

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
Hi Pierre-Yves,

> It seems that once a friendly name has been cached to /var/lib/ 
> bluetooth/*/names, RemoteNameUpdated signals contain this cached  
> name forever, and user is never informed of a name change unless  
> those "names" files are deleted.

the names are never updated once retrieved. At least not via an  
inquiry run. If you connect to a remote device, it will update the  
name. Another option is Extended Inquiry support if you have the  
hardware for it.

The reason behind this is that the remote name operation is too  
expensive if you don't have an ACL link between two devices. And a lot  
of times the name doesn't change so often or it is unimportant anyway.

Regards

Marcel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.