Function anjay_sched_time_to_next
Defined in File core.h
Function Documentation
-
int anjay_sched_time_to_next(anjay_t *anjay, avs_time_duration_t *out_delay)
Determines time of next scheduled task.
May be used to determine how long the device may wait before calling anjay_sched_run .
- Parameters:
anjay – Anjay object to operate on.
out_delay – [out] Relative time from now of next scheduled task.
- Returns:
0 on success, or a negative value if no tasks are scheduled.