aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-02-12 07:49:37 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-25 21:37:51 +0200
commit46776233e603a6edfadebef55cd7b43b43a26a44 (patch)
tree7126ce636e2cf2ef3f938d2bcdcd2291ea465641 /host/utils
parentcbae0ea6770b2c7093523050af2dd7e06caef425 (diff)
downloaduhd-46776233e603a6edfadebef55cd7b43b43a26a44.tar.gz
uhd-46776233e603a6edfadebef55cd7b43b43a26a44.tar.bz2
uhd-46776233e603a6edfadebef55cd7b43b43a26a44.zip
Add detection for LEA-M8F
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/query_gpsdo_sensors.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/utils/query_gpsdo_sensors.cpp b/host/utils/query_gpsdo_sensors.cpp
index 21d26e81e..3dc20fd98 100644
--- a/host/utils/query_gpsdo_sensors.cpp
+++ b/host/utils/query_gpsdo_sensors.cpp
@@ -177,8 +177,10 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
try {
uhd::sensor_value_t gga_string = usrp->get_mboard_sensor("gps_gpgga");
uhd::sensor_value_t rmc_string = usrp->get_mboard_sensor("gps_gprmc");
+ uhd::sensor_value_t gngga_string = usrp->get_mboard_sensor("gps_gngga");
+ uhd::sensor_value_t gnrmc_string = usrp->get_mboard_sensor("gps_gnrmc");
std::cout << boost::format("Printing available NMEA strings:\n");
- std::cout << boost::format("%s\n%s\n") % gga_string.to_pp_string() % rmc_string.to_pp_string();
+ std::cout << boost::format("%s\n%s\n%s\n%s\n%s\n") % gga_string.to_pp_string() % rmc_string.to_pp_string() % gngga_string.to_pp_string() % gnrmc_string.to_pp_string() % gps_time.to_pp_string();
} catch (uhd::lookup_error &e) {
std::cout << "NMEA strings not implemented for this device." << std::endl;
}