Network-wide synchronization for SP-enabled devices. NetSyncC enables and maintains network synchronization for devices running the SP link-layer abstraction (exposed by the SPC configuration).
To use NetSyncC, simply make your application with the following
command using the Moteiv make system for TinyOS:
make <platform> lowpower
NetSyncC will automatically be included.
The network coordinator of the synchronized network is determined by
two things:
(1) if the TOS_LOCAL_ADDRESS of the node == 0
(2) if the node is connected to a PC and UartDetect has established
a connection
NetSyncC includes NetWakeC, a global network wakeup protocol based on Trickle. NetWakeC is always included, so no component should ever include or wire to NetWakeC other than NetSyncC.
IMPORTANT NOTE: Always use NetSyncC by compiling with make <platform> lowpower. Directly wiring to NetSyncC or to NetWakeC can adversely alter the order of system initialization and produce unpredictable results.