1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-30 06:52:58 +00:00

Bug fix in UHD source that prevented the USRP device selection by IP

address.

Adding sample configuration file for USRP X300 (and other networked
USRPs)
This commit is contained in:
Javier
2014-12-03 18:58:28 +01:00
parent 52f7fcee4c
commit 0d417271c5
2 changed files with 390 additions and 3 deletions

View File

@@ -61,11 +61,9 @@ UhdSignalSource::UhdSignalSource(ConfigurationInterface* configuration,
// To narrow down the discovery process to a particular device,
// specify a transport key/value pair specific to your device.
if (empty.compare(device_address_) != 0) // if not empty
//if (empty.compare(empty) != 0) ??
{
dev_addr["addr0"] = device_address_;
dev_addr["addr"] = device_address_;
}
subdevice_ = configuration->property(role + ".subdevice", empty);
freq_ = configuration->property(role + ".freq", GPS_L1_FREQ_HZ);
gain_ = configuration->property(role + ".gain", (double)50.0);