PWN::FFI::SoapySDR
Thin SoapySDR C-API binding (libSoapySDR). Inventory-focused first — enumerate devices and report API version so Extrospection probe_rf can list every Soapy-backed front-end (RTL-SDR, HackRF, Airspy, Pluto, UHD, …) without shelling out to SoapySDRUtil. Streaming: open/configure/start_rx/read_sync/stop_rx/close for CS16 I/Q so PWN::SDR::Decoder::Base.run_iq can true-air decode from ANY Soapy-backed front-end. Missing lib -> .available? false, callers fall back to pure Ruby / other PWN::FFI front-ends.
When to use
Call PWN::FFI::SoapySDR from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/ffi/soapy_sdr.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::FFI::SoapySDR.help
PWN::FFI::SoapySDR.available(opts)
Public methods
availableinfolist_devicesmakeunmakedevice_keysopenconfigurestart_rxread_syncstop_rxcloseauthorshelpSoapySDRDevice_activateStreamSoapySDRDevice_closeStreamSoapySDRDevice_deactivateStreamSoapySDRDevice_enumerateSoapySDRDevice_getDriverKeySoapySDRDevice_getHardwareKeySoapySDRDevice_getStreamMTUSoapySDRDevice_lastErrorSoapySDRDevice_makeSoapySDRDevice_makeStrArgsSoapySDRDevice_readStreamSoapySDRDevice_setBandwidthSoapySDRDevice_setFrequencySoapySDRDevice_setGainSoapySDRDevice_setGainModeSoapySDRDevice_setSampleRateSoapySDRDevice_setupStreamSoapySDRDevice_unmakeSoapySDRKwargsList_clearSoapySDR_getABIVersionSoapySDR_getAPIVersionSoapySDR_getLibVersionavailable?load_error
Source
pwn/ffi/soapy_sdr.rb
Verification
PWN::FFI::SoapySDR.respond_to?(:available) after the
module is loaded. Read the source for parameter names.