On Tue, 2011-08-02 at 17:08 +0000, Bastien Auneau wrote:
> Hi All
>
> On USRP N210, UHD 3.2.1
> GPS does lock, because it gets the right time (not the 01/01/2006 set at
> init)
> using get_mboard_sensors("gps_locked") fails sometimes
>
> 1.
> It may print on console :
>
> UHD Error:
> get_nmea(): unsupported GPS or no GPS detected
>
> while at the start of the code, it always prints :
>
> Found a Jackson Labs GPS
>
> At this pont, I have to reboot the USRP. I have seen this error twice on
> 20 to 25 runs
>
> 2. Or :
>
> UHD Error:
> get_token: too few tokens in reply $GPGGA, [etc... then there are
> more or less args after that, randomly)
> GPS lock status: locked
>
> This second error occurs 1% of the time, but following
> get_mboard_sensors("gps_locked") succeed (no need to restart USRP)
>
> 3. Which leads me to :
> How do you check if a get_mboard_sensors(...) fails or not ?
> Because even when it fails, the value returned seems ok. And there is no
> error field.
> Or should this not happen ?
>
> Thanks and Regards
> Bastien
>
> _______________________________________________