Hi Eugene, The sensor returns a time_t value, which is based on the Unix epoch. Your application can translate that value however it needs. You can also get the GPRMC NMEA string by calling USRP.get_mboard_sensor('gps_gprmc') and get the raw value from that if necessary.
Regards, Michael On Tue, Dec 6, 2016 at 6:25 PM, Dan CaJacob via USRP-users < usrp-us...@lists.ettus.com> wrote: > Hi Eugene, > > Please check that time stamp here: http://www.unixtimestamp.com/index.php > It looks alright to me. It *is* reporting the correct time in a unix > timestamp format. Maybe you are making a more subtle point about > nomenclature? As in the GPS epoch is not the same as the Unix timestamp > epoch in 1970? In any event, a unix time stamp is fairly common, > unambiguous way to specify a time. > > Thanks, > > Dan > > On Tue, Dec 6, 2016 at 8:19 PM Eugene Grayver <eugene.gray...@aero.org> > wrote: > >> This is being posted to both GR and Ettus forums because both groups >> should be aware. >> >> >> The value returned by USRP.get_mboard_sensor('gps_time') is incorrect. >> It is NOT the GPS epoch, but is time relative to the UNIX epoch. Only off >> by a decade or so... >> >> >> 'GPS epoch time: 1481073287 seconds' >> >> >> >> ________________________ >> >> Eugene Grayver, Ph.D. >> Aerospace Corp., Sr. Eng. Spec. >> Tel: 310.336.1274 <(310)%20336-1274> >> ________________________ >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > -- > Very Respectfully, > > Dan CaJacob > > _______________________________________________ > USRP-users mailing list > usrp-us...@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio