Crate futuresdr_remote
source ·Expand description
Remote interaction with FutureSDR
Library for remote interaction with a FutureSDR runtime and flowgraph.
Example
use futuresdr_remote::Error;
use futuresdr_remote::Handler;
use futuresdr_remote::Remote;
use futuresdr_types::Pmt;
#[tokio::main]
async fn main() -> Result<(), Error> {
let remote = Remote::new("http://127.0.0.1:1337");
let fgs = remote.flowgraphs().await?;
let blocks = fgs[0].blocks();
let p = blocks[0].callback(Handler::Id(0), Pmt::U32(123)).await?;
println!("result: {:?}", p);
Ok(())
}
Re-exports
pub use futuresdr_types as types;
Structs
- A Connection between
Blocks
- A remote Flowgraph.
- Connection to a remote runtime.
Enums
- Connection type for a
Connection
betweenBlocks
- FutureSDR Remote Error
- Specify a message handler of a
Block