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: Communicatiing with xplHal



Hi Mal,

> Actually I sorted it last night - hooray :-)

Cool.

> I just had to bind the receiving socket to ADDR_ANY rather than the
> local IP - I'm guessing this is something to do with the hub
> broadcasting messages rather than sending them to my specific address?
>
> Anyway, all the config communication is now working.  There was just
one
> received message that I wasn't expecting - my own config.app
heartbeat!
> I suppose since the target is * that makes sense...
>
> I was thinking of storing the device config in the registry - is there
> any good reason not to do this?  Is there a defined structure for
> placing keys under HKEY_LOCAL_MACHINE/SOFTWARE/xPl?  By Vendor/Device
> perhaps?

Yep, Tony's ActiveX does exactly this - I'll let Tony describe his
structure for storing config info.

> And finally - I mentioned needing a vendor ID, and suggested MAL -
> anyone know if this is OK?

I've not heard back from Ian Lowe - who manages the vendor assignment
database - I'm guessing he's on holiday.
I'll try and follow this up for you.

Regards,

John




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.