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: Protocol questions



> I have a couple of things I'd like to clarify.

Sure, happy to help.

>  the names of name/value pairs must contain only the following
characters:
A-Z, a-z and 0-9

That's been updated since - the name section (and indeed all sturctural
elements of the message) must be lowercase. That doesn't change your point,
however :

> However, the "hbeat.app" and "hbeat.end" messages
both contain the name
"remote-ip" which would seem > to be invalid since it contains
'-'?

Indeed. Consider the document incorrect '-' has been used widely, so the
protocol document should reflect that.


> Is it expected that name/value pairs be in the specific order as
specified
in the docs - e.g. hop,
> source, target - or can they be in any order?

The order is significant - elements should be present in the order
specified. That being said - as you suggest, being liberal in receipt is a
good idea.

> In "Example Two: A PC Media Application", the class is
sometimes "mediapl"
and sometimes it is "audio".  Similarly the class type in the
second part is
"winamp" in some places and "custom" in some others.  I
assume these
inconsistencies are mistakes.

Hmm. I wrote that. ;)

It's a combination of mistakes and unclear explanatory text actually:

Under the section you highlight, mediapl.basic should be
"audio.basic", the
use of "audio.winamp" is correct, but the explanatory text should
read
"audio.winamp" rather than "mediapl.custom".

I'll endeavour to get that fixed, however the documentation is in the
process of being moved across to the new Wiki - wiki.xplorject.org.uk

Hope that helps.

Ian.

Ps> so - the big question - what are you going to be developing then
Mark?





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.