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: xPL Progress


  • Subject: Re: xPL Progress
  • From: Ian Lowe
  • Date: Sun, 19 Oct 2003 13:49:00 +0000

> Today i did some xpl work on the pic/osd and *think* im
making
> some progress although i get the feeling im going down the wrong track
> again....Im hoping what i have done is compliant....

Let's find out :)

> At the moment im
> checking the source = xpl-xplhal.mainpc..but im going to ignore this
as
its
> not required...My message structure is as follows....

Yep, as Tony has pinted out, you really don't have to bother about the
source of the message: the important bit is the target.

> xpl-cmnd
> source=
> target=aec-sunroom.tv.......or target=*
> osd.basic
> command = clear/write
> text =mytext........one line only
> row=...........can be 1 to 11 or just row=.....default = row 6....if
value
=
> say 14 ..line 11 is true..
> column=....can be 1 to 28 or just column=........default =1

yep, that's spot on.

> All of the above must be present and in the order listed.......i hope
this
> isnt a problem although i get the feeling its not correct......

well..

row and column are optional, so may not be present in a message, but if
they
are there, they will always be in this order, so as long as you use your
default values if row or column are not present, all will be well..

Another thing worth considering (but not needed):

because of the way schemas can be extended, you can actually match against
osd.* (in other words, osd.mine, osd.tivo, osd.anything) because the
required osd.basic elements (command= text= ) will be there in the right
place...

Ian.

PS> I'm having a wee think about the Alert command... there's two ways
to do
it: either we can add a new command into the osd.basic spec, or we can use
"extend=" for the new command type..

Right now, however, I'm going back to bed. My mate's housewarming was last
night, and we were up till 4am drinking shots. I have the hangover from
hell, and the room is spinning...







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.