Models

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AirspySourceConfig

type AirspySourceConfig struct {
	MixerGain    uint8
	LNAGain      uint8
	VGAGain      uint8
	BiasTEnabled bool
}

type AppConfig

type AppConfig struct {
	Title            string
	Base             BaseConfig
	Decoder          DecoderConfig
	Source           SourceConfig
	AirspySource     AirspySourceConfig
	LimeSource       LimeSourceConfig
	CFileSource      CFileSourceConfig
	TCPServerDemuxer TCPServerDemuxerConfig
	FileDemuxer      FileDemuxerConfig
	SpyserverSource  SpyserverSourceConfig
	DirectDemuxer    DirectDemuxerConfig
	RtlsdrSource     RTLSDRSourceConfig
	RPC              RPC
}

type BaseConfig

type BaseConfig struct {
	SymbolRate        uint32
	RRCAlpha          float32
	Mode              string
	Decimation        uint8
	AGCEnabled        bool
	DeviceType        string
	SendConstellation bool
	PLLAlpha          float32
	DemuxerType       string
	StatisticsPort    int
}

region Config File Structs

type CFileSourceConfig

type CFileSourceConfig struct {
	Filename       string
	FastAsPossible bool
}

type DecoderConfig

type DecoderConfig struct {
	Display          bool
	UseLastFrameData bool
}

type DirectDemuxerConfig

type DirectDemuxerConfig struct {
	OutputFolder           string
	TemporaryFolder        string
	PurgeFilesAfterProcess bool
	SkipVCID               []int
	ReprojectImages        bool
	DrawMap                bool
	FalseColor             bool
	Enhanced               bool
	MetaFrame              bool
}

type FileDemuxerConfig

type FileDemuxerConfig struct {
	Filename string
}

type LimeSourceConfig

type LimeSourceConfig struct {
	LNAGain uint8
	Antenna string
}

type RPC added in v0.5.2

type RPC struct {
	Enable     bool
	ListenPort int
	ListenAddr string
}

type RTLSDRSourceConfig

type RTLSDRSourceConfig struct {
	MixerGain    uint8
	LNAGain      uint8
	VGAGain      uint8
	BiasTEnabled bool
}

type SourceConfig

type SourceConfig struct {
	SampleRate uint32
	Frequency  uint32
}

type SpyserverSourceConfig

type SpyserverSourceConfig struct {
	Gain     uint8
	Hostname string
	Port     int
}

type Statistics

type Statistics struct {
	SCID                      uint8
	VCID                      uint8
	PacketNumber              uint64
	VitErrors                 uint16
	FrameBits                 uint16
	RsErrors                  [4]int32
	SignalQuality             uint8
	SyncCorrelation           uint8
	PhaseCorrection           uint8
	LostPackets               uint64
	AverageVitCorrections     uint16
	AverageRSCorrections      uint8
	DroppedPackets            uint64
	ReceivedPacketsPerChannel [256]int64
	LostPacketsPerChannel     [256]int64
	TotalPackets              uint64
	StartTime                 uint32
	SyncWord                  [4]uint8
	FrameLock                 uint8
	DemodulatorFifoUsage      uint8
	DecoderFifoUsage          uint8
}

type TCPServerDemuxerConfig

type TCPServerDemuxerConfig struct {
	Port int
	Host string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL