The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xPLHubs (again!)


  • Subject: Re: xPLHubs (again!)
  • From: "Mal Lansell" <mlansell@xxxxxxxxxxxxxx>
  • Date: Sun, 13 Mar 2005 17:04:38 -0000



--- 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

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.