check out this thread:
http://www.mail-archive.com/[email protected]/msg23056.html
it's more or less your problem. 
anyway i don't know if my code will work in tinyos 1.x (as i guess you're 
using, starting from the fact that you're using tinyviz)

hope this helps!
regards

On Tuesday 16 September 2008 04:53:47 Ling Zhu wrote:
> Hi, I want to simulate the attacker and the normal nodes' traffic, but I
> don't know how I could simulate both attacker and normal nodes in one
> simulation.I already wrote the code for the attacker node(it's also a
> sensor node). I'm using tinyviz, and I simulated the normal nodes before,
> but I don't know how to add the attacker.
>
> Thanks.


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to