|
libSDRForge
|
Optional ZeroMQ PUB transport for binary spectrum frames. More...
Classes | |
| class | SpectrumZmqPublisher |
| PUB adapter; caller owns its thread and invokes send_frame there. More... | |
Functions | |
| bytes | encode_spectrum (SpectrumFrame frame) |
| Encode a versioned little-endian float32 spectrum frame. | |
| SpectrumFrame | decode_spectrum (bytes payload) |
| Decode a complete frame without retaining the network buffer. | |
Variables | |
| str | TOPIC = b"sdrforge.v1.spectrum" |
| _HEADER = struct.Struct("<4sBQQQI") | |
Optional ZeroMQ PUB transport for binary spectrum frames.
| SpectrumFrame sdrforge.protocols.spectrum_zmq.decode_spectrum | ( | bytes | payload | ) |
Decode a complete frame without retaining the network buffer.
| payload | The telemetry payload. |
| bytes sdrforge.protocols.spectrum_zmq.encode_spectrum | ( | SpectrumFrame | frame | ) |
Encode a versioned little-endian float32 spectrum frame.
| frame | The frame value. |
|
protected |
| str sdrforge.protocols.spectrum_zmq.TOPIC = b"sdrforge.v1.spectrum" |