Every USRP device exposes a set of key/value string pairs that uniquely identify it on the host system. These pairs — called device address arguments — can be used to narrow down which device UHD connects to, whether you are running a command-line utility or calling the API programmatically. The sameDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/EttusResearch/uhd/llms.txt
Use this file to discover all available pages before exploring further.
--args string you pass to uhd_find_devices is accepted by nearly every UHD example and application.
Device Address Keys
The table below lists the standard identifiers available on all or most USRP devices. Every identifier is passed as a key/value pair in an--args string or as a field in uhd::device_addr_t.
| Identifier | Key | Notes | Devices | Example Value |
|---|---|---|---|---|
| Serial Number | serial | Globally unique identifier | All devices | 12345678 |
| IP Address | addr | Unique identifier on a network | All network devices | 192.168.10.2 |
| Resource | resource | Unique identifier for USRP RIO devices over PCIe | X3x0 | RIO0 |
| Name | name | Optional user-set identifier or hostname | All devices | lab1_xcvr |
| Type | type | Hardware series identifier | All devices | usrp1, b200, x300, n3xx, x4xx |
| Vendor/Product ID | vid, pid | Both must be provided together with type | All USB devices | vid=0x04b4,pid=0x8613 |
The device address string serves double duty: it identifies the device and carries configuration options such as
master_clock_rate. See Configuring USRP Devices for the full list of configuration keys.Discovering Devices from the Command Line
Theuhd_find_devices utility scans your system for all supported USRP devices and prints an enumerated list of discovered devices together with their addresses. Run it with no arguments to discover everything, or add --args to filter results.
Probing Device Properties
Once you know which device you want, useuhd_usrp_probe to construct a live connection to the device and print all of its properties — detected daughterboards, frequency ranges, gain ranges, and more.
Device Discovery via the API
Theuhd::device::find() call searches for devices and returns a uhd::device_addrs_t vector. Each element is a uhd::device_addr_t map that can be inspected or passed directly to uhd::usrp::multi_usrp::make().
- C++
- Python
Naming a USRP Device
For convenience, you can burn a custom name into the device’s EEPROM so it can be found by name rather than by serial number or IP address.Set a custom name
Run the A name must be composed of ASCII characters and must be 0–20 characters long. Names are not required to be unique across devices.
usrp_burn_mb_eeprom utility from the UHD utils directory:MPM Device Reachability Check
By default, UHD attempts to open an RPC connection to each IP address reported by MPM-based devices (N3xx, X4xx series) to verify reachability. This check can be slow, especially over direct-cabled QSFP connections where some IPs may time out.- Disable check (faster discovery)
- Enable check (default)
