nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ date_time_update_async()

int date_time_update_async ( date_time_evt_handler_t  evt_handler)

#include <include/date_time.h>

Asynchronous update of internal date time UTC. This function initiates a date time update regardless of the internal update interval. If an event handler is provided it will be updated with library events, accordingly.

Parameters
evt_handlerEvent handler. If the passed in pointer is NULL the previous registered event handler is not de-registered. This means that library events will still be received in the previously registered event handler.
Returns
0 If the operation was successful.