Hey thanks... Yes, I found out what I was looking for..But I have one more query..when serialforwarder increments the packets counter is it doing for every sent and received packet or just for packets received by node with id 0 ? Can we change these settings too ?
just mentioning whatver I came across here assuming it might help someone else too.. We can check all the valid sources with which serialforwarder can connect using the command java net.tinyos.packet.BuildSource from ../tools/java directory. Now what we are interested in either tossim-radio / tossim-serial depending on what application you are working with. Accordingly type in the following command to start serialforwarder java net.tinyos.sf.SerialForwarder –comm tossim-radio On 9/10/09, Michael Schippling <[email protected]> wrote: > Rummage around in the documentation -- most often the source -- > I believe there is a MOTECOM setting that talks to the simulator > instead of a serial port. Actually, I'll bet this is really > documented someplace because it would be the same setting for > all host side applications. Maybe search for MOTECOM? > > MS > > Kiraneet sharma wrote: >> Hello friends.. >> >> 1 As of my understanding of serialforwarder, it is used only when we >> are using mote(gateway) connected to the serial port of PC. I have >> tested it this way and it works fine.Also we can interface any other >> application like GUI developed in Matlab with serialforwarder.Even >> this is working fine. >> >> 2 But what if I want to do the same during simulation i.e. I want >> somehow that the values of packets sent are displayed on a GUI >> developed in Java or Matlab even during simulation? >> >> Can Serialforwarder still be used in the way we do in 1? >> >> Regards, >> Kiraneet >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
