[Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Lilia Paradis
Hi all, I can't seem to figure out how to model lossless environment in Tossim, i.e. 100% packet delivery rate and error-free. I've searched the archives and found a few messages on this subject, but they all refer to Tinyos-1.x. I am using Tinyos-2 Thanks, -- Lilia Paradis

Re: [Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Chad Metcalf
I imagine the best way is in the link specification. Tutorial 11 talks a little about this. The method you're looking for is: * add(src, dest, gain)*: Add a link from *src* to *dest* with *gain*. When * src* transmits, *dest* will receive a packet attenuated by the *gain* value. From the

[Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Lilia Paradis
Hi Chad, Thanks for quick response! That's what I've been doing too, but I still have weird inconsistencies. My grid network initializes and builds routing tree perfectly about 9 out of 10 times, but that one time some node somewhere never gets the message sent to it. I am thinking it must be

Re: [Tinyos-help] how do I model lossless environment in Tossim (Tinyos 2)?

2007-03-21 Thread Chad Metcalf
You're right even with a gain of 0 you'll still have the possibility of a collision. I might suggest looking into using the BinaryInterferenceModelC.nc instead of the UscGainInterferenceModelC.nc. You'll need to use a different ActiveMessageC.nc. Cheers Chad On 3/21/07, Lilia Paradis [EMAIL

Re: [Tinyos-help] how do I model lossless environment in Tossim

2007-03-21 Thread SANTOSH KUMAR
Hi, I am facing a similar problem on TOSSIM on tinyos 1.x. I have used the LossyBuilder to generate a grid topology. Say there are four nodes 0 to 3. A message sent by node 0 is not received by 1, 2, and 3 at the same time. There are instances that a message that is broadcasted by 0 is not