Hi all,
With reference to the following code from TimeSyncP.nc, what do 'sync
period' and 'send period' mean??
I would also like to know how the values of the parameters affect the
working of FTSP.
enum {
MAX_ENTRIES = 8, // number of entries in the table
BEACON_RATE = TIMESYNC_RATE,// how often send the beacon msg (in seconds)
ROOT_TIMEOUT = 5, //time to declare itself the root if no msg was
received (in sync periods)
IGNORE_ROOT_MSG = 4,// after becoming the root ignore other roots messages
(in send period)
ENTRY_VALID_LIMIT = 4, // number of entries to become synchronized
ENTRY_SEND_LIMIT = 3, // number of entries to send sync messages
ENTRY_THROWOUT_LIMIT = 100, // if time sync error is bigger than this
clear the table
};
Thanks,
Deeksha
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help