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: Hub Bug?



Yeah, got a little more detail -

If the hub receives a message that is malformed in a specific way
(others may cause the problem, but I have confirmed this one) - that the
last elemnt of the message body is missing the chr(10) character, that
is:

tag=value}

Rather than:

Tag=value
}

Then the hub locks up and will not pass any further xPL messages. I have
confirmed this, as the rogue application on my desktop caused the xPL
hubs on three other machines to stop pasing packets in the same way -
one on server 2k3, one on NT4, one on Windows XP.

Restarting the hubs resolves the problem, re-running my app brings it
back as soon as a button is pressed. (I have now fixed my app)

Ian.

-----Original Message-----
From: ukha_xpl@xxxxxxx [mailto:ukha_xpl@xxxxxxx] On
Behalf Of Ian Lowe
Sent: 24 September 2005 11:24
To: ukha_xpl@xxxxxxx
Subject: [ukha_xpl] Hub Bug?

Mal, I might have a bug in the new hub code - it doesn't seem to form
malformed xPL packets. (obviously, I'm not expecting it to correct
malformed packets, but a dodgy packet going through (in this case, the
app I am working on) seems to cause it to lock up.

It happens repeatably.

Ian.



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.