Re-synchronisation of Devices
After the initialization described in Section 18.5.2, the ZCL time must be updated by the application on each one-second tick of the local timer. The ZCL time is updated from the timer in the same way as described in Section 18.4.
Due to the inaccuracy of the local one-second timer, the ZCL time is likely to lose synchronisation with the time on the time-master. It will therefore be necessary to occasionally re-synchronise the local ZCL time with the time-master - the utctTime
attribute value is also updated at the same time. A device can re-synchronise with the time-master by first remotely reading the utctTime
attribute using the function eZCL_SendReadAttributesRequest(). On receiving the ‘read attributes’ response from the time-master, the operations performed are the same as those described for initial synchronisation in Section 18.5.2.
Parent topic:Time-Synchronization of Devices