Re: [Bluez-devel] DBus interface - determining whether a device exists

Marcel Holtmann
2006-08-18T18:06:12Z

Hi Frederic,

> >we also store the last seen (inquiry) and last used (connected) time of
> >any device. This can be also used to populate the HAL list. For example
> >it should include all bonded devices and additionally devices that have
> >been connected in the last 7 days or so.
> >
> In this case, I think it can be usefull to have same APIs in DBus for
> "used devices" than for "paired devices". You can find in attachement a
> patch that add ListUsed and RemovedUsed methods to hcid.
> Hope this helps.

I am not happy about the RemoveUsed method. I am not sure if one
application should be able to say when a used device will be removed
from the list. I think this should be application specific.

I also might prefer to name the method ListRemoteDevices to list all
paired, seen and used remote devices. We can then have special versions
of this method for specific tasks. For example ListRecentRemoteDevices
with a date parameter that will only list paired and used devices in
that time frame.

Regards

Marcel