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>2015-04-17 22:36:40 +0200
commitb929f09af613ed66124a90eae2911864d729acd6 (patch)
tree9ce5a9e3d5aa90b73bfb960ff64112a3ede1cb2f /host/utils
parent48aeb45b6d487fb1d2eb4235d9591c5e9e9b6829 (diff)
downloaduhd-b929f09af613ed66124a90eae2911864d729acd6.tar.gz
uhd-b929f09af613ed66124a90eae2911864d729acd6.tar.bz2
uhd-b929f09af613ed66124a90eae2911864d729acd6.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 05f918eb4..042530a7a 100644
--- a/host/utils/query_gpsdo_sensors.cpp
+++ b/host/utils/query_gpsdo_sensors.cpp
@@ -116,8 +116,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%s\n") % gga_string.to_pp_string() % rmc_string.to_pp_string() % gps_time.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 (std::exception &e) {
std::cout << "NMEA strings not implemented for this device." << std::endl;
}