And, as this is a communication system. Different nodes have different
timing. How to syncronize them?
I cannot say I precisely syncronized all testing nodes. But, only in
a rough way.
Each slave nodes are waiting for a "START" message to begin their test-prepartion.
( I have to admit this "START message" are sent one by one, thereby not
arriving the
slave nodes at the same time.)
And Master set a 1-sec timer to wait for slave's test preparation.
Thus, The first timer in master node is 61-seconds. while all following
timer are set as 60 seconds. (60 seconds is a basic test-period )
So, after about 1s, all slaving nodes are begin to transmit, and master
node is also begin to reckoning the numbers of packets recived.
The system is tune to that degree for nearly 1-2ms error offset ( which
means +/-1 packet mis-aligned for wrong test peroiod)
However, after long-term tests, there is a phenomena that slaving node
timers are slower than master node. The reason is unclear.
A better way is to re-sync all the nodes before each test period with
"signalling".