gRPC control server for USRP radios
A typed network service for controlling USRP radios: a gRPC server on UHD, a mock device for testing, and a Docker image.
- multiUSRP devices
- mockdevice for testing
Architecture · block diagram
- Main data path
- Logic
- Processor
- Memory
- Interconnect
- Off-chip
The story
Lab radios often have a mix of scripts and GUIs on whichever machine they plug into. A typed RPC service gives any client on the network the same interface to them.
What I built
A tkinter client talks gRPC, defined in rfcontrol.proto, to an RF control server in Docker. The server drives USRP devices through the UHD API. It supports several USRPs, plus a mock device, so clients and tests can run with no radio attached.
Result
The service sets and queries frequency, gain and status, and it reads frequency and gain ranges. It works on multiple USRPs or on the mock device. The server ships as a Docker image with a GUI client, and the source is on GitHub.
Where you'd find something like this
Remote control of radios in labs and test benches
Automated RF test sequences
Related services