On Thu, Sep 17, 2020 at 05:55:28PM +0530, Jairaj Solanki wrote:
> Why is the mater timestamp Invalid even when the GPS Receiver has acquired
> a fix?

Okay, so I think I know why this happens.  The built in leap file
table in lstab.c expired:

        static const uint64_t expiration_date_ntp = 3802291200ULL; /* 28 June 
2020 */

I meant to provide a configuration option to update the table,

        struct ts2phc_master *ts2phc_nmea_master_create(struct config *cfg, 
const char *dev)
        {
                struct ts2phc_nmea_master *master;
                const char *leapfile = NULL; // TODO - read from config.
                ...
        }

but I never got around to it.  I put up some patches for this soon.

Sorry,
Richard


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to