SDR/RF · Software

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
gRPC RF control: tkinter client to a Dockerized gRPC server driving USRP radios through UHD or a mock deviceSERVER · DOCKERtkinter clientgRPCrfcontrol.protoRF servercontrolUHD APIUSRP devicesmock devicefreq · gain · status
FIG. 01

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 it's used

Where you'd find something like this

01

Remote control of radios in labs and test benches

02

Automated RF test sequences

Available · Asia/Dhaka (UTC+6)

Have hardware that needs to work?

Tell me what you're building. I'll come back with questions, a rough scope and an estimate, usually within 2 days.

PAD 01 · I/O