[Tinyos-help] TOSSIM : simulate a base station / running BaseStation*.nc
De-MonHell
damonhill82 at gmail.com
Wed Sep 3 07:51:26 PDT 2008
On Monday 01 September 2008 21:17:00 nartessos nartessos wrote:
> Goodmorning everybody,
>
>
> I want to simulate a base station using tossim (tinyos 2.x), I try to
> run the BaseStation example.
> It works fine but there is no communication.
>
> Where is the problem? Where the first message is sended in the source
> code? Have I to use the
> java program (net.tinyos.tools.Listen) to run this example?
>
> Is there somewhere where I can learn how to completely run this example ?
>
>
> best regards
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
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.
More information about the Tinyos-help
mailing list