Function anj_ntp_step

Function Documentation

void anj_ntp_step(anj_ntp_t *ntp)

Main step function of the Anjay Lite NTP module.

This function should be called regularly in the main application loop. It drives the internal state machine and handles all scheduled operations related to NTP time synchronization.

This function is non-blocking, unless a custom network implementation introduces blocking behavior.

Parameters:

ntp – NTP module state.