This is going to be a great addition to the Girder suite. I have installed the plug-in as well and will experiment more when I get home this evening. Below is what I have noticed so far.
I am using the HubGUI from http://www.xapframework.net/, to view active connections and the messages on the xAP network. When the xAP plugin loads I see the following error messages within HubGUI.
Code:
Error Message: Invalid name/value pairing. The length of the UID value is incorrect
Message Line#: 5 - uid=FF4300
Received From: 10.50.0.6:4815
xap-hbeat
{
v=12
hop=1
uid=FF4300
class=xap-hbeat.alive
source=promixis.girder
interval=60
port=3640
}
The error that was generated is as follows:
Problem reading xAP message.
Source: xAPMessage
Problem reading xAP message.
Invalid name/value pairing
The length of the UID value is incorrect.
KCS.xAP.Framework.xAPMessageReaderException: Problem reading xAP message. ---> KCS.xAP.Framework.xAPInvalidMessageException: Invalid name/value pairing
The length of the UID value is incorrect
at KCS.xAP.Framework.Message.xAPMessageReader.ReadHeaderPair(xAPMessage message, String line)
at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()
--- End of inner exception stack trace ---
at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()
at KCS.xAP.Framework.Transport.xAPListener.OnReceive(IAsyncResult ar)
In the xap.lua file, if I change the line
Code:
xApGirderDev = xap.NewDevice('promixis.girder','promixis.girder','FF4300')
to
Code:
xApGirderDev = xap.NewDevice('promixis.girder','promixis.girder.testpc','FF430000')
it likes the heartbeat, however an immediate hbeat.stop message is then sent, disconnecting the device from the hub.