According to the TOSSIM Documentation:
*****
The serial port mode ("tossim-serial" in the "Mote Communications"
field or "-comm tossim-serial" at the command line) interacts with
mote 0 over its serial port. Programs connecting to SerialForwarder
can read messages mote 0 sends to its serial port, and send messages
to mote 0 over its serial port.
*****
I think that this may be wrong, particularly when using FramerM for
serial communication. Looking through the code, FramerM needs
rxByteReady signaled by its ByteComm in order to receive packets.
Using UARTM as FramerM's ByteComm, rxByteReady get signaled when
HPLUART signals "get". If tos/platform/pc/HPLUARTC.nc is used as the
HPLUART, as is the case for TOSSIM, "get" is never signaled in this
file, so FramerM will never receive any packets. Sending via FramerM
doesn't seem to work either in TOSSIM.
-Matt
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help