[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: xPLHubs (again!)
--- In ukha_xpl@xxxxxxx, "John B" <home-automation@j...>
wrote:
> Hi Mal,
>
> > > Maybe we should considder an XML file format for the shared
hub
> > clients
> > > list? That way every V3-aware hub can share the file,
regardless of
> > > development environment.
> > >
> >
> > Even XML seems overkill to me for something as straightforward
as a
> > client list. Whatever happened to good old .txt ascii files ;-)
>
> Good point!
>
> OK, how about a CSV file, called xplhubclients.txt, located in the
> Windows system32 directory, with the following format:
>
> <portnum>,<interval>,<last_refreshed_date>
>
> So each line in the file would represent a hub client, e.g.
>
> 50000,5,2005-03-13 15:04:44
> 50001,9,2005-03-13 15:09:31
>
> Etc.
>
> Any thoughts?
>
> Regards,
>
> John
Looks good to me - simple and easy to parse (although it could be
simpler still if we just stored the refresh date as a 64bit time
value - like the Windows FILETIME.
Mal
Mal
xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe: ukha_xpl-subscribe@xxxxxxx
To Unsubscribe: ukha_xpl-unsubscribe@xxxxxxx
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|