Hi I did some tests a while ago with a couple of MICAz nodes when putting some time sync into my code and came across a 10ms randomness in the delay between my code calling .Send() and the .sendDone() event being signalled. The delay seemed to vary pretty randomly between 3ms and 13ms. Is there some reason for this (large?) delay? I based the timing on the difference in value of a millisecond timer for matched send and senddone pairings and used that to achieve decent enough (hopefully about +-1ms) sync for some small-scale controlled tests but it was a bit of a rushed (and rather roundabout) way to achieve accurate sync and not really practical in a proper deployment.
I saw the discussion on time sync in the devel forum and people seem to indicate rather better sync in the order of (micro seconds) us or better and I was wondering where the option to stick a timestamp in the outgoing messages at the actual time of transmission rather than the time of calling the send event as the latter is not very accurate requiring a more complex sync proceedure? the TEP I read indicated that the timestamp in the message_t is not transmitted but is local to the node? cheers, Ben ******************************************************************************* Please consider the environment before printing this email. ******************************************************************************* This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and may not be divulged to any third party without the express permission of the originator. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thales Research & Technology (UK) Limited. ******************************************************************************* _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
