On Friday 05 September 2008 18:35:14 you wrote: > Tanks for you answer. > If i had understand it I can simulate a base station with tossim!!? > > I 've written a application in which N sensors send messages to > a base station. But my base station is a sensor with a particular > node id and which don't have the same behaviour than the others. > > So my sensors send messages to the base station via wireless waves. > > I wanted to know if I can simulate a serial communication beetween the > sensors and the base station so that I have a serial module which emulate > a serial link. > > thanks > > > tossim can run only one tinyos application at time, on as many as you > > want simulated nodes (motes) but nothing else. in tossim you can simulate > > communication directly sending fake radio message. > > so if you want to simulate the base station app you need to setup that > > way: put some dbg msg in the base station app > > compile it for tossim > > build a tossim execution file in python or in c++ in which you inject > > randomly radio message > > (see http://docs.tinyos.net/index.php/TOSSIM#Injecting_Packets) > > > > otherwise, there's tossim-live, that's a modified tossim version, not > > well documented that can do a lot more things like run different > > application, but i can't swear it.
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
