Dear David and Henri,
Thanks for your answer.
First about debugging information. If I start a SerialForwarder with the
-debug option, I do not get any message when the SerialForwarder stops
forwarding.
I also tried to use the C SerialForwarder, but I must be doing something
wrong because I do not receive any message after I start it. Do I make
an error witht the parameters?
$ ./sf 9001 COM1 57600 tinynode
However, the thread must still be active, because the message counter
keeps incrementing even after the client stopped receiving them.
By the way, did I mention this happened on a Windows XP machine?
Best,
Jacques
David Gay wrote:
On 5/18/06, Jacques Panchard <[EMAIL PROTECTED]> wrote:
I am facing a peculiar problem with MoteIF.
The setting is the following.
A distant machine is connected to a sensor network via a base station.
On the distant machine, I use a SerialForwarder to forward the messages
received on the COM port.
On my local machine, I am connecting to the distant machine using either
a SerialForwarder or the MOTECOM variable, with the following parameter:
[EMAIL PROTECTED]:9001
I receive the relayed packets for about an hour, and then no more
packets anymore.
No error message is displayed. If I restart the local java application,
I receive the packets again (the remote SerialForwarder works just
fine).
Note that it could actually be the thread on the serial forwarder
handling your client that hangs (i.e., the fact that restarting the
client fixes the problem doesn't mean the problem wasn't in the
server).
Can you try using the C serial forwarder (in tools/src/sf) on the
remote machine and see if you still get the problem?
David Gay
--
Jacques Panchard – PhD Student
Ecole Polytechnique Fédérale de Lausanne
Mailing address:
EPFL - IC - LCA
Bâtiment BC (BC 201)
Station 14
CH-1015 Lausanne, Switzerland
Tel: +4121 693 56 13
Fax: +4121 693 66 10
http://lcawww.epfl.ch/panchard
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help