I wrote device driver that connects to DCERouter via 2 tcp ports (one for receiving command and other one for sending events to DCErouter). I've created template for that device driver and added name of binary file that actually runs the driver. I've added driver to Interface category - it has several child devices....
I have problems when I want the device driver to be started by LMCE. From log I write in device driver I can see that app was started, but the problem is that on web page it says that it hasn't registered with DCErouter, so I suppose that all messages/events it sends are ignored by DCERouter. The funny thing is that if I kill that LMCE started app and start it from command line it registers immediately...
I see nothing suspicious in DCERouter's logs. I have this :
========== NEW LOG SECTION ==========
1 02/12/08 09:21:52 290 (spawning-device) [1;00mStarting... 1[1;00m
1 02/12/08 09:21:52 290 (spawning-device) [1;00mFound /usr/pluto/bin/Cybrotech_Integra_BM[1;00m
/var/log/pluto/LaunchManager.log (it reports timeout waiting for device registration ):
05 02/12/08 9:21:52.370 [33;1mStarting device 290 Cybrotech Automation[0m <0xb68388e0>
05 02/12/08 9:21:52.370 [33;1mStarting device 290 Cybrotech Automation: /usr/bin/screen -d -m -S Cybrotech_Automation-290 /usr/pluto/bin/Spawn_Device.sh 290 localhost Cybrotech_Integra_BM[0m <0xb68388e0>
05 02/12/08 9:22:05.631 [33;1mTimeout waiting for device registration[0m <0xb68388e0>
Any hint, what might be going wrong ?
Thanks in advance,