[Tinyos Core WG] TEP102 and binary vs decimal units

David Gay dgay42 at gmail.com
Mon May 21 16:05:24 PDT 2007


I'm finally getting to some final revisions for TEP 102, and the only
real open issue is the "binary vs decimal" milli and micro second one.
There's been a bunch of discussion on this, but I'm not clear we
really reached consensus. Two options:

- Leave the current TEP 102 more or less as is, i.e., our units are
defined as 1/1024s, 1/32768s and 1/1048576s (TMilli, T32khz, TMicro)

- Switch to the correspondiong decimal units (1/1000s, 1/32000s, 1/1000000s)

In practice, no implementations need change, as there's verbiage about
accuracy being loose.

FWIW, on mica platforms the actual units (w/o drift or temperature
effects) are 1/1024s, 1/28800s and 7.37/8000000s. On telos, I believe
it's 1/1024s, 1/32768s and 1/1000000s.

If nobody answers this week, I'll switch TEP102 to the decimal units.

David


More information about the Tinyos-2.0wg mailing list