Hello,

I have implemented an application which communicates through serial port of
the mote, among other things.

I run this application in TOSSIM and it seems to work. I would like to be
able to sniff packets that are sent through the serial port simulated by
TOSSIM.

To that goal I try to use tools provided in the SDK of tinyos, such as
Listen and SerialForwarder (support/sdk/java/net/tinyos/tools/Listen.class
and support/sdk/java/net/tinyos/sf/SerialForwarder.class respectively).



When I try to use these tools to sniff packets, using the packet source
tossim-serial I get the error :

Couldn't instantiate tossim packet source
Did you compile tossim?

And I cannot sniff packets.

I have followed the error inside the source code, and it happens that
file /opt/tinyos-2.1.1/support/sdk/java/net/tinyos/packet/BuildSource.class
/ .java  is looking for a class
called net.tinyos.sim.packet.TossimSerialSource
But I do not have such a class, I have looked for it all around tinyos tree
but it seems to not exist.
What is wrong with this? Where is this missing class ?

I must remark that I have compiled everything in the sdk tree.

Thank you for your help.

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

Reply via email to