what are you using to sync the clocks?
I found by accident, and posted a link to an analysis
of sync mechanisms a few days ago which might help.
MS


ke tian wrote:
Hi,all

I wrote a program that used to get different time between two
motes.But I wonder why the figures that i got are multiples of 32,
like 32,64, 96, 128, 160 ....

I get time with LogicalTime.Time.get(). And I adapt TimeM.nc, as follow
//return call Clock.setRate(mInterval, mScale) ;
return call Clock.setRate(TOS_I1PS, TOS_S1024PS) ;

Please tell me why! I wanna get more accurate time.In addition, I am
useing micaz with tinyos 1.15 ,can i usetimestamp()? How to do ?

Thanks in advance.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to