Hi, It take more than 50 or 60 ms to compute S using floating point! This is too computation-intensive for my program to run. Can anyone please share some experience dealing with this issue?
On Fri, Dec 30, 2011 at 12:27 AM, Xiaohui Liu <[email protected]> wrote: > 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 > -- -Xiaohui Liu
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
