I'm gonna have the time when packet is received.
But, the timer.getNow() is not a timer command. Can you tell me more about how to use it? Or give me a document I can look through?
Sorry for bothering you again.Thank you.
Lei
On 11/10/06, Tie Luo <[EMAIL PROTECTED]> wrote:
Are you going to get the time when the msg being sent, or the time that you received it?For the former, you can use metadata defined in T2 (I think T1 has a corresponding part), for the latter, simple use a timer.getNow().
Tie--On 11/11/06, Lei Tang <[EMAIL PROTECTED] > wrote:Hi, Tie
I'm using TinyOS 1.1.7. Did you get the right TOS_Msg.time before? Could you please tell me some details or send me a sample?
Thanks a lot.
Lei
On 11/10/06, Tie Luo <[EMAIL PROTECTED]> wrote:Should not happen .... somewhere goes wrong :p
p.s. I am using T2; there is no TOS_Msg.
On 11/10/06, Lei Tang < [EMAIL PROTECTED] > wrote:Hi, everyone_______________________________________________
I'm working with MICAz now to mark received packet with a timestamp. This posting of Joe suggested the TOS_Msg.time could be used for this purpose. But, how to do that? I can have the value directly using the received packet's pointer just as I did to strength, lqi and other fields; but I always got zero. Anybody has clues?
Thank you all very much!
Best,
Lei
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Regards,
Tie
Regards,
Tie
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
