libSDRForge
Loading...
Searching...
No Matches
sdrforge.protocols.spectrum_http Namespace Reference

Localhost HTTP spectrum endpoint for UI adapters. More...

Classes

class  SpectrumHttpServer
 Read shared publisher snapshots without consuming subscriber frames. More...
class  SpectrumHttpHandler
 Provide spectrum http handler behavior. More...

Functions

dict[str, Any] frame_to_dict (SpectrumFrame frame)
 Versioned wire format for clients outside libSDRForge.

Detailed Description

Localhost HTTP spectrum endpoint for UI adapters.

Read-only latest-frame JSON snapshots. HTTP threads never touch IQ or hardware.

Function Documentation

◆ frame_to_dict()

dict[str, Any] sdrforge.protocols.spectrum_http.frame_to_dict ( SpectrumFrame frame)

Versioned wire format for clients outside libSDRForge.

Parameters
frameThe frame value.
Returns
The operation result.