[Tinyos-devel] Re: [Tinyos Core WG] time sync interfaces

Janos Sallai sallai at isis.vanderbilt.edu
Tue Dec 18 13:32:29 PST 2007


> All I use is an accessor interface, like:
> setCreationTime, getCreationTime.
> (currently using the meta field directly).
> Using receivedSFD/transmittedSFD the radio stack computes the
intra-stack
> delay and sends just that. I currently use 32.768kHz with 32bit width.

This is pretty much in line with what's being discussed here.

The component in the radio stack which provides the PacketTimeSync
interface writes the time of the TX SFD interrupt into the payload.
(Actually, what Miklos was suggesting is that it writes the difference of
the time of the TX SFD and the value already there. If the value that's
already there is zero, then it's going to be the time of the SFD.)

I briefly looked at the tda5250/RedMac and SpeckMac code. As far as I can
tell, you are doing even a bit more than what's being proposed here. The
same functionality could be achieved through the use of the
PacketTimeStamp and PacketTimeSync interfaces.

Janos

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3096 bytes
Desc: not available
Url : https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20071218/48eaa841/smime.bin


More information about the Tinyos-devel mailing list