LinuxMCE Forums

General => Developers => Topic started by: bulek on February 07, 2008, 11:58:47 pm

Title: Strange DCE message: does anyone know what it means ?
Post by: bulek on February 07, 2008, 11:58:47 pm
Hi,

occasionaly I receive weird DCE message from DCERouter. I have home automation driver written in Perl that has a lot of child devices under LMCE. All messages, events are processed in parent interface device.

Weird DCE message is : 0 290 9 0 "&" 316 -1000 2 9 25 "0"

290 ID of my interface
9 obviously something new (beside command,event...)
316 -1000 2 9 25 "0"   .. is first message that was sent from my interface to DCERouter.

At the same time this is in DCERouter's log :
01      02/08/08 0:00:21.813            Socket::ReceiveData-a 0x8ddae00 failed ret 0 <0x92ea2b90>
01      02/08/08 0:00:21.814            Socket 0x8ddae00 failure waiting for response to message from device 290 type 9 id 0 <0x92ea2b90>
07      02/08/08 0:00:26.886            Event #9 has no handlers <0x92ea2b90>

I suspect this is somekind of rejection DCE message, cause it happens when my device can't register with DCERouter (it says non-registered on WebAdmin) and first message being sent to DCERouter is repeated...

Although this could also be the result of some stupidity in my code  ;D

Anyone know more about this message or knows if it is real ?

Thanks in advance,

regards,

Bulek.




Title: Re: Strange DCE message: does anyone know what it means ?
Post by: bulek on February 08, 2008, 12:54:19 am
Hi,

please disregard my question : found explanation here http://wiki.linuxmce.org/index.php/Plain_Text_DCE_Messages (http://wiki.linuxmce.org/index.php/Plain_Text_DCE_Messages)

I've registered also message interceptor and DCE router was sending me first intercepted message which I sent....

Regards,

Bulek.