Re: [Tinyos-help] TOSSIM and link quality

2009-05-18 Thread Alban Hessler
Hi, Take a look at CpmModelC in the tos/lib/tossim. That's where the packets are dropped according to the SNR. You could replace this file with yours (instead of wiring to CpmModelC, you wire to your custom-made file), and then use the gain attribute in a dirty way to decide if you should drop x

[Tinyos-help] TOSSIM and link quality

2009-05-18 Thread Rémi Villé
Hi, I am wondering how to simulate with TOSSIM a link quality of 50% (1 msg received for 2 send) between two nodes ? As I understand there's a loss of connection between two nodes, for an event step, when we have gain - noise >= 0 Whereas it seems to be possible to apply a quality link to the whol