About GNSS XTRA validation check


#1

In xtraTest.c file,

LE_ASSERT(le_gnss_GetExtendedEphemerisValidity(&start,&stop) == LE_OK);
....
/* Check validity duration of injected XTRA file (7 days) */
validity = stop-start;
LE_ASSERT(validity/SECONDS_IN_A_DAY == 7);

Q. Is it valid if the value of “validity/SECONDS_IN_A_DAY” is 7??
Otherwise, others are invalid. Am I right?


#2

The Xtra file validity is equal to 7 days.