1)Using dbg messages in your code, then print them as output with ./build/pc/main.exe ...options... > print.txt for example and then, you might use grep for extracting what u need
2)i think there is an explanation throgh the tutorial, or consider "TOSSIM: a simulator for tinyOS Networks" by P.Levis and N.Lee i found it really useful On Wed, 2007-05-09 at 05:20 -0700, Boushra MAALA wrote: > i use Tossim (tinyos 1, windows XP ): > i have two questions: > > First: > > I want to know ,for an application which is simulated with Tossim , > how can i save the sent and received messages, because i need to do > some statistics about these messages,and is there a way for doing > these statistcs within Tossim. > > Second: > how can i can use plug-in plot in Tossim? i did not find any > reference that helps me. > > > > > ______________________________________________________________________ > Get your own web address. > Have a HUGE year through Yahoo! Small Business. > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@Millennium.Berkeley.EDU > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help