Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection interface { Close() error IsOpen() bool Refresh() error Fields() log.Fields GetInfo() *Info GetAGC() bool SetAGC(enabled bool) error GetAutoGain() bool SetAutoGain(enabled bool) error GetTunerGain() float32 SetTunerGain(gain float32) error GetFrequencyCorrection() int SetFrequencyCorrection(ppm int) error Reset() error GetCenterFrequency() units.Hertz SetCenterFrequency(centerFrequency units.Hertz) error GetSampleRate() units.Sps SetSampleRate(sps units.Sps) error SampleBufferSize() units.Sps RunSampler(handler func(samples []byte)) error StopSampling() error GetFrequencyBounds() (lower units.Hertz, upper units.Hertz) GetBuffersPerSecond() int }
type DeviceType ¶
type DeviceType int
const (
RTLSDR DeviceType = iota
)
func (DeviceType) String ¶
func (dt DeviceType) String() string
type Id ¶
type Id struct { Type DeviceType Serial string }
Click to show internal directories.
Click to hide internal directories.