Re: [Tinyos-help] send simulator o/p to file?

2008-05-18 Thread funofnet Funofnet
Hi, to save your debug msg in a file simply: $ export DBG=usr1 (for example) $ ./build/pc/main.exe 10 > output.txt Hope that helps you __ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messag

Re: [Tinyos-help] send simulator o/p to file?

2008-05-17 Thread Paul Stickney
I do not know about TinyOS 1.x, but from TOSSIM/T2 (TinyOS 2.x), that is handled inside the TOSSIM simulation environment, NOT from the TinyOS code you are simulating. For TOSSIM T2, follow the tutorial at http://docs.tinyos.net/index.php/TOSSIM. For TOSSIM/T1, try http://www.tinyos.net/tinyos-1.

[Tinyos-help] send simulator o/p to file?

2008-05-17 Thread Jitender ahuja
Hi all, I am new to dbg, and want to send simulation o/p for a particular mode e.g. usr1 to a file. What modification need be made in the dbg statement in the module(s) for that. Currently I know only of dbg(mode, "", variables); //e.g. mode1==usr1 Kindly tell where to specify