[Tinyos Core WG] TEP 109

Jan Hauer hauer at tkn.tu-berlin.de
Wed Dec 6 08:15:34 PST 2006


> 109 either needs to do one of things things:
>   1) state that sensor readings are left-shifted
>   2) state that the sensor readings are right shifted (no padding on
> the right)
>   3) Add a call to the DeviceMetadata interface that tells you the
> most significant bit in addition to the number of significant bits.

TEP 109 currently "takes no position on the meaning of the values
returned by sensor drivers" on HIL and I thought this also was our
last agreement. On the other hand for some of the applications (Sense,
Oscilloscope...) it would be quite useful to have a DeviceMetadata
interface. I suggest to put one more sentence in the TEP saying that
all (but only) DemoSensor[Now|Stream]C components SHOULD provide
DeviceMetadata, and then the demo apps could show the most significant
bits.

Jan


More information about the Tinyos-2.0wg mailing list