Hi,
We have a 64 bit millisecond counter. It works fine on the motes but not
in TOSSIM. I assume that it might not be implemented in TOSSIM. What
alternative we can use that work both in TOSSIM and on mote (i.e mica2,
micaz and Telosb).
Following is our current code in the counter configuration.
configuration TTMoteInfoAppC{
}
implementation{
components TTMoteInfoC;
components Counter32khz32C;
components new TransformCounterC(TMilli, uint64_t, T32khz, uint32_t,
5, uint64_t) as Transform;
Transform.CounterFrom -> Counter32khz32C;
TTMoteInfoC.Counter -> Transform;
}
Looking for your reply.
--
best regards,
Faisal Aslam
Ph.D. Candidate
University of Freiburg, Germany
http://cone.informatik.uni-freiburg.de/people/aslam/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help