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

◆ date_time_is_valid()

bool date_time_is_valid ( void  )

#include <include/date_time.h>

Convenience function that checks if the library has obtained an initial valid date time.

Note
If this function returns false there is no point of subsequent calls to other functions in this API that depend on the validity of the internal date time. We know that they would fail beforehand.
Returns
true The library has obtained an initial date time.
false The library has not obtained an initial date time.