Can anyone tell how to use the timestamp correctly? I am working on MicaZ and I try to get the localtime when every time I transmit a packet. So I use “msg -> time” which was provided by TOS_Msg structure in AM.h file. The value I got is base on the 16 bits value Since the Clock is running in 32kHz. The value would “rollback” about every 2 sec. My question is how to measure the timestamp according form this function. Have any calculation or some other component I need? The resolution I need is in microsecond
Pleas give me some advice or example. Thanks in advance

Wu

_________________________________________________________________
免費部落格 Windows Live Spaces:和親朋好友分享心情點滴 http://spaces.msn.com/?mkt=zh-tw
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to