I used this function to compute gain from distance between A and B :

Gain = -10*n*log(dist(A,B))

with n (Path loss exponent) = 4 (indoor)

It's very rough, it takes only into account path loss (partly), maybe it
should more look like this :

Gain = T + R + A + -10*n*log(dist(A,B)) - C

where T is the Transmitter power, R the receiver sensitivity, A the gain
added by the antenna and C a constant to be added in the path loss.

My knowledge in  physics of radio communication is close to zero, so I
really don't know how to compute gain attenuation well. If someone could
help me on this subject I would be grateful.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to