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: xAP BSC



On Sun, 05 Jun 2005 13:18:37 +0100, Kevin Hawkins
<lists@xxxxxxx> wrote:

>I think what you're saying is that your reflecting the state of the
>application as a BSC endpoint ??

Yes. I have multiple s/w endpoints. Each of which can be independently
on or off, so it maps onto BSC perfectly.

>    I think finding what and how we can apply BSC  is an evolving
>exercise.  Devices shouldn't be shoehorned into BSC if they don't
>naturally fit. For such devices other richer schema are more
>approriate.

Oh, it has both. I just needed an On/Off state change message. BSC
supports that. I'm definitely not applying Text or Level to anything,
although I could massage Level into a "new emails/total emails"
type
thing if I applied enough force on the crowbar!

If I don't use BSC I end up with a schema that looks very similar but
lives in a different class. No point, I thought.

> Perhaps in some devices limited functionality is reported
>via BSC and the more intricate control available via another schema.

That's what I chose to do.

>>If it had been disabled at startup, remained disabled during its
>>lifetime, then was shutdown, it would pump out a xAPBSC.Info
message
>>upon termination, which seems somewhat odd if essentially correct.
>>
>>
>    That seems sensible to me ...  the 'info' messages are just
periodic
>state messages ... do you also allow for a periodic update here ?

Sure do.

>C-Bus and Netiom for example send them every xx minutes (configurable)
>for all nodes .

Well it's hard-coded with yet another "// ToDo:" comment to
expose the
setting through xFx.

> They can also be disabled totally if wanted.

In theory setting it to 0 (were it not a hard-coded constant in the
code) would achieve the same effect.

> xAP Netiom
>can either cycle through all it's 102 nodes individually sending an
info
>for the current node every xx seconds or it can send all the 102 infos
>in one burst every xx mins.

I've set it for a single burst.

S
--
Stuart Booth <stuart@xxxxxxx>
xAPFramework.NET - a xAP software development framework for .NET

http://www.xapautomation.org/ 
     http://www.xapframework.net/




xAP_Development Main Index | xAP_Development Thread Index | xAP_Development 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.