Hi All,

I got a problem to use the tossim-serial in the SerialForwarder tool. I
intend to view packets reception at Node 0 (root of the CTP) in the MViz
program. I confused how to use the SerialForwarder with the tossim-serial as
a source?, since I couldn't find any tutorial on it even in the 'Mote-PC
serial communication and serial forwarder'  and the 'TOSSIM' tutorials of
the TinyOS Tutorials.

I have issued several command such as:
$java net.tinyos.sf.SerialForwarder -comm tossim-serial
$java net.tinyos.sf.SerialForwarder -comm tossim-radio <at> hostname
$java net.tinyos.sf.SerialForwarder -comm tossim-serial <at> hostname
$java net.tinyos.sf.SerialForwarder -comm tossim-serial <at> hostname:9002

but all seems failed with the following error messages:

Couldn't instantiate tossim packet source
Did you compile tossim?
Serial Forwarder Exited Normally


In addition, I tried this combination:
1st: Running the MViz application with commands: $make micaz sim, $python
mviz.py (A script of my own created with 10000 seconds sim time)
2nd: While MViz simulation running, I ran the serial forwarder tool: $java
net.tinyos.sf.SerialForwarder -comm sf <at> localhost:9002
3rd: While both the MViz application is running and the SerialForwarder tool
also running (1st and 2nd steps above): I issue command: $ tos-mviz -comm sf
<at> localhost:9002 MVizMsg

What I got were an MViz window opened but with no packets reading, and the
sf window keep on listening the 9002 port but also with zero 'Pckts read'
and 'Pckts wrttn'...

I am so confused what port I need to open, or what is the proper steps to do
in order to view the data reception on Node 0 (root) in MViz?

Please help me...

thanks,
Vinodh
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to