[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] bug fix for GPSDO discovery and querying "gps_time"

From: Bastien Auneau
Subject: [Discuss-gnuradio] bug fix for GPSDO discovery and querying "gps_time"
Date: Fri, 5 Aug 2011 18:15:31 +0200


I have experienced some issues regarding querying GPS time (get_mboard_sensor("gps_time"))
and about GPSDO discovery stability
For more details, see previous posts :

Anyway, I made 2 little fixes to gps_ctrl.cpp
I attached the new version to this email
It consist of :
1. waiting after sending string to GPSDO, while discovering GPSDO devices (line 54)
    //wait for _send(...) to return

2. flushing NMEA data from previous sentences (line 159)
        //flush data to avoid reading outdated value (because NMEA string generated every second)
while (_recv() != ""){

I found these fixes to be stable on my setup
How can I get it merged into the main branch ?

Also Nick, I tried to play around with FIREFLY_STUPID_DELAY_MS first, but this did not avoid the error I mentioned earlier
(I assume this is what you were talking about in http://lists.gnu.org/archive/html/discuss-gnuradio/2011-08/msg00073.html)


Attachment: gps_ctrl.cpp
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]