USRPulse is a Rust project providing tools for operating a Software-Defined Radio (SDR) as transmitter using the UHD C++ library. It includes:
- UHD Wrapper Library: A Rust library for configuring and triggering transmissions with USRP devices.
- uhdaemon: A server application that controls a USRP device via commands received over a web interface.
- CLI Application: A command-line tool for direct interaction with the USRP.
-
Clone the repository:
git clone https://github.com/yourusername/usrpulse.git cd usrpulse -
Build the workspace
cargo build
Run by specifying the package name. For example, to view the command-line options:
cargo run --package uhdaemon -- --help
cargo run --package cli -- --helpContributions are welcome! Please fork the repo, create a new branch, and submit a pull request.
Synchronisation via PPS:
curl -X POST http://192.168.1.3:8080/sync \
-H 'Content-Type: application/json' \
-d '{"sync_source":"pps"}'Synchronisation via localhost time:
curl -X POST http://192.168.1.3:8080/sync \
-H 'Content-Type: application/json' \
-d '{"sync_source":"local"}'