Hi everyone,

I obtain RSSI of an incoming packet from by calling CC2420Packet.getRssi
and then the noise floor by calling ReadRssi.read. Both are in dBm. Let us
denote (S + N) with x dBm and N with y dBm. Then S = 10 lg(10 ^ (x / 10) -
10 ^ (y / 10)) dBm. The problem is this computation necessitates float
point, which is intensive on my TelosB motes. Is there any way to compute S
(in dBm) more efficiently, preferably in integer only? Thanks in advance.

p.s.
S: signal
N: noise

-- 
-Xiaohui Liu
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to