|
Algorithm 1 Procedure to handle received message in E-FTSP |
-
1:
//Receive timing offset
-
2:
//Calculate offsetError
-
3:
if (offsetError < estimatedDelay) then
-
4:
//Compensate for offset only
-
5:
compensate_offset(offsetError);
-
6:
else
-
7:
//Compensate for offset and drift
-
8:
compensate_offset(offsetError);
-
9:
compensate_drift();
-
10:
end if
|