[Tinyos-devel] packet level time synchronization TEP

Miklos Maroti mmaroti at math.u-szeged.hu
Thu Nov 20 08:12:50 PST 2008


Hi Geoffrey.

> a) moving metadata initailization higher so that SendNotifier can mark the
> message for timestamping (and change the size)

On the receiver side you cannot decide if you need to substract the
length (that is you have an embedded timestamp) or not. What do you do
with that?

> b) providing a aboutToTransmit() interface which provides an event in the
> SFD.captured() handler. This isn't all that beautiful though and I think
> that *that* portion of the functionality might be best left inside the
> stack.

Yes, and that portion is very platform specific. I think it is better
left inside the stack. With the callback approach you are going to
have people who abuse that interface and do more lengthy calculation
that might prevent the stack to update the message in time. In that
case you will get corrupted timestamps without notification.

Best,
Miklos


More information about the Tinyos-devel mailing list