[Tinyos-help] timer .getNow()

wafa jaballah wafa.jaballah at gmail.com
Thu Apr 22 09:22:14 PDT 2010


hi all,

I have a problem related to the current time in a mote.
More Specially, If a sender wants to send a packet , I want to mention the
time of receiving a packet.
printf ("message was received at time %u\n", call Timer.getNow())?

What I install  the code on a mote , I have :
 message was received at time 0.
This indicated that call Timer.getNow() gives me all the time the value 0.
What is the problem? although in simulation it works fine.

best regards,

-- 
Wafa Ben Jaballah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100422/8a135bc1/attachment.htm 


More information about the Tinyos-help mailing list