>
>Hello!
>I’m using Tossim tutorial
>in http://docs.tinyos.net/tinywiki/index.php/TOSSIM#Injecting_Packets
>I write injection packet code and run it, every things is
ok!
>But I have some question!
>1- If I block this part of
code no things happen then why we use this?
> f = open("topo.txt",
"r")
> for line in f:
> s = line.split()
> if s:
> if s[0] == "gain":
> r.add(int(s[1]), int(s[2]), float(s[3]))
>
>
>2- msg = RadioCountMsg()
>msg.set_counter(7) //
what the meaning of this code? send data 7ths?
>
>
>3- How I can send my data
between node? Should I change RadioCountMsg.py file or msg.data in packet.py?
>4- There is no way no measure power consumption in Tossim?
>
>
> So Thanks
>
>
>
>
>
>
>_______________________________________________
>Tinyos-help mailing list
>[email protected]
>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help