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: Config protocol -- when do config values reset?


  • Subject: Re: Config protocol -- when do config values reset?
  • From: "Mal Lansell" <mlansell@xxxxxxxxxxxxxx>
  • Date: Sun, 05 Dec 2004 22:55:34 -0000



--- In ukha_xpl@xxxxxxx, Gerry Duprey <gerry@c...> wrote:
> Howdy,
>
> So one way of reading this is -- it really doesn't matter whether I
use plan
> #1 or #2 because in the end, they'll be the same thing.  Right now,
I'm
> doing #2, but it's a bit more overhead and for efficiancy sake, I'd
prefer
> to use #1.
>

In my C++ code, the config items are only created when the
application starts.  When a config.response is received, the values
of all the config items are erased, and then I fetch the new values
from the message.  This way, if the message contains old config
items, they just get ignored.

Mal







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.