On Aug 4, 2007, at 4:26 PM, Tal Rusak wrote:

Hi,
     In the sim_noise.h file of Tossim
(/tinyos-2.x/tos/lib/tossim/sim_noise.h), the NOISE_BIN_SIZE is
defined as follows:

NOISE_BIN_SIZE = (NOISE_MAX - NOISE_MIN)/NOISE_QUANTIZE_INTERVAL

This appears to capture the number of bins, not their size. Size is
stored in NOISE_QUANTIZE_INTERVAL. Can anyone confirm?

That's correct.

There's also a potential bug, in the numerator is not evenly divisible by the denominator. I'll fix it in CVS.

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

Reply via email to