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 ActiveX question




Kevin Hawkins wrote:

>  I have a schema that I am trying tp receive that uses the same
> *class* but maybe 4 different named bodies could be sent. Each body
> has exactly the same parameters. How do I find the name of the body
> that contains parameter 'phone' say ?
>
> Do I have to check them all until I find a value that isn't
"Unknown"
> ??    This requires me to know the body names in advance of course.

We encountered this with xAPlogger, which, obviously, doesn't know
anything about the classes/schema it will get.

This parses the message lexically into a collection of collections. The
"inner collection" is key/value pairs, the "outer
collection" is
bodyparts (if you see what I mean.)

Do you have the source code for xAPlogger? If not let me know, and I'll
send it to you.

M.


>     Kevin
>
>
>
------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/xAP_developer/
>
>     * To unsubscribe from this group, send an email to:
>       xAP_developer-unsubscribe@xxxxxxx
>       <mailto:xAP_developer-unsubscribe@xxxxxxx?subject=Unsubscribe>
>
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>





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.