[Tinyos-help] tossim link gain value

2009-12-15 Thread Viktor Zsoldos
Hi, http://docs.tinyos.net/index.php/TOSSIM#Configuring_a_Network says *|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. How can I decide/calculate the "normal", "common" gain values? For examp

Re: [Tinyos-help] tossim link gain value

2009-12-16 Thread Paul Johnson
Viktor, You should look up some resources on free space loss/propagation models. They will give you a starting place on modeling "gain" or in reality, attenuation as a result of distance. The basic calculations will be something like this: Gain(dB) = TX Antenna/Power Gain(dB) + DistanceLoss(in