From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4ABCA9F3.8050001@maht0x0r.net> Date: Fri, 25 Sep 2009 12:30:59 +0100 From: matt User-Agent: Mozilla Thunderbird 1.0.6 (X11/20060326) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <41a391df79ec4b38e87f44639329143d@hamnavoe.com> In-Reply-To: <41a391df79ec4b38e87f44639329143d@hamnavoe.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] bluetooth Topicbox-Message-UUID: 77796c74-ead5-11e9-9d60-3106f5b1d025 you could just set the mtime to the time of the last successful operation on that device >>>What do you mean exactly by "sees"? ... >>> >>> >>all devices that are listening on inquiry scan channels and respond to >>inquiry requests. >> >> > >It looks like your requirement might be satisfied by one or >the other of these things in the /net/bt/devices record: > >- a discoverable (ie "responded to most recent inquiry") flag >- a timestamp for last inquiry response received (1 second resolution?) > >I'm reluctant to remove devices altogether when they don't >respond to inquiry, because it may still be possible to >connect to a non-discoverable device by paging its address. > > > >