[Tinyos Core WG] [Tinyos-devel] tep comments

Miklos Maroti mmaroti at math.u-szeged.hu
Wed May 14 13:57:55 PDT 2008


>> "Packet timestamping related metadata fields
>> SHOULD NOT be accessed directly by higher-level
>> application components, only through the PacketTimeStamp
>> interface(s)."
>> Why SHOULD NOT? (timestamping TEP)
>
> Because the implementer of the radio stack may store the timestamps in a
> different form (e.g. different precision, width, etc.) than what a
> particular PacketTimeStamp interface offers. E.g. the iris
> implementation uses microsecond precision timestamping internally, and
> converts them on the fly to TMilli, when a
> PacketTimeStamp<TMilli,uint32_t> call comes. This is restriction on
> directly accessing the timestamping related metadata fields is
> particularly important when a particular radio stack implements higher
> precision timestamping (beside the TMilli precision).
>
> We may want to drop this message_t section altogether. Is anybody
> against dropping it?

This can be removed because it is an implementation detail.

Miklos


More information about the Tinyos-2.0wg mailing list