The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Re: Serial protocol questions


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

config.response messages




Hi all,

(well, this is really aimed at either Ian or Tony I guess)

If I send a device a message like:

config.response
{
newconf=my_instance
}

I would have thought that all the other config items (interval, filters,
groups) should remain unchanged.
Is this the case?
I'm sure this is the way xpl.ocx works, and it was certainly the way xpllib
v2.x worked.

The reason I ask is that if you send the above message to a xpllib v3
device, it will drop all other config values - interval, filters, groups -
they all just disappear!

The protocol spec doesn't make it clear what will happen if not all config
items are specified, but I'm pretty sure that you're just supposed to leave
the existing value in place if a new value isn't specified in the
config.response.

Thanks,

John



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.