Versions in this module Expand all Collapse all v0 v0.5.2 Mar 29, 2019 v0.5.1 Mar 10, 2019 Changes in this version + const CFileFrontendBufferSize + const LimeFrontendBufferSize + const SampleTypeFloatIQ + const SampleTypeS16IQ + const SampleTypeS8IQ + func AirspyDeinitialize() + func AirspyInitialize() + func LimeMakeGoCallbackDirector(callback *GoCallback) LimeDevice.LimeDeviceCallback + func MakeAirspyGoCallbackDirector(callback *GoCallback) AirspyDevice.AirspyDeviceCallback + func MakeRTLSDRGoCallbackDirector(callback *GoCallback) RTLSDRDevice.RTLSDRDeviceCallback + type AirspyFrontend struct + func NewAirspyFrontend() *AirspyFrontend + func (f *AirspyFrontend) Destroy() + func (f *AirspyFrontend) GetAvailableSampleRates() []uint32 + func (f *AirspyFrontend) GetCenterFrequency() uint32 + func (f *AirspyFrontend) GetName() string + func (f *AirspyFrontend) GetSampleRate() uint32 + func (f *AirspyFrontend) GetShortName() string + func (f *AirspyFrontend) Init() bool + func (f *AirspyFrontend) SetAGC(agc bool) + func (f *AirspyFrontend) SetAntenna(string) + func (f *AirspyFrontend) SetBiasT(biast bool) + func (f *AirspyFrontend) SetCenterFrequency(centerFrequency uint32) uint32 + func (f *AirspyFrontend) SetGain1(gain uint8) + func (f *AirspyFrontend) SetGain2(gain uint8) + func (f *AirspyFrontend) SetGain3(gain uint8) + func (f *AirspyFrontend) SetSampleRate(sampleRate uint32) uint32 + func (f *AirspyFrontend) SetSamplesAvailableCallback(cb SamplesCallback) + func (f *AirspyFrontend) Start() + func (f *AirspyFrontend) Stop() + type BaseFrontend interface + Destroy func() + GetAvailableSampleRates func() []uint32 + GetCenterFrequency func() uint32 + GetName func() string + GetSampleRate func() uint32 + GetShortName func() string + Init func() bool + SetAGC func(agc bool) + SetAntenna func(value string) + SetBiasT func(value bool) + SetCenterFrequency func(centerFrequency uint32) uint32 + SetGain1 func(value uint8) + SetGain2 func(value uint8) + SetGain3 func(value uint8) + SetSampleRate func(sampleRate uint32) uint32 + SetSamplesAvailableCallback func(cb SamplesCallback) + Start func() + Stop func() + type CFileFrontend struct + func NewCFileFrontend(filename string) *CFileFrontend + func (f *CFileFrontend) Destroy() + func (f *CFileFrontend) EnableFastAsPossible() + func (f *CFileFrontend) GetAvailableSampleRates() []uint32 + func (f *CFileFrontend) GetCenterFrequency() uint32 + func (f *CFileFrontend) GetName() string + func (f *CFileFrontend) GetSampleRate() uint32 + func (f *CFileFrontend) GetShortName() string + func (f *CFileFrontend) Init() bool + func (f *CFileFrontend) SetAGC(bool) + func (f *CFileFrontend) SetAntenna(string) + func (f *CFileFrontend) SetBiasT(bool) + func (f *CFileFrontend) SetCenterFrequency(centerFrequency uint32) uint32 + func (f *CFileFrontend) SetGain1(uint8) + func (f *CFileFrontend) SetGain2(uint8) + func (f *CFileFrontend) SetGain3(uint8) + func (f *CFileFrontend) SetSampleRate(sampleRate uint32) uint32 + func (f *CFileFrontend) SetSamplesAvailableCallback(cb SamplesCallback) + func (f *CFileFrontend) Start() + func (f *CFileFrontend) Stop() + type GoCallback struct + func NewGoCallback() GoCallback + func (p *GoCallback) CbFloatIQ(data uintptr, length int) + func (p *GoCallback) CbS16IQ(data uintptr, length int) + func (p *GoCallback) CbS8IQ(data uintptr, length int) + func (p *GoCallback) Debug(str string) + func (p *GoCallback) Error(str string) + func (p *GoCallback) Info(str string) + func (p *GoCallback) Warn(str string) + type LimeDrvFrontend struct + func NewLimeDrvFrontend() *LimeDrvFrontend + func (f *LimeDrvFrontend) Destroy() + func (f *LimeDrvFrontend) GetAvailableSampleRates() []uint32 + func (f *LimeDrvFrontend) GetCenterFrequency() uint32 + func (f *LimeDrvFrontend) GetName() string + func (f *LimeDrvFrontend) GetSampleRate() uint32 + func (f *LimeDrvFrontend) GetShortName() string + func (f *LimeDrvFrontend) GetTemperature() float64 + func (f *LimeDrvFrontend) Init() (ret bool) + func (f *LimeDrvFrontend) SetAGC(agc bool) + func (f *LimeDrvFrontend) SetAntenna(value string) + func (f *LimeDrvFrontend) SetBiasT(biast bool) + func (f *LimeDrvFrontend) SetCenterFrequency(centerFrequency uint32) uint32 + func (f *LimeDrvFrontend) SetChannel(value int) + func (f *LimeDrvFrontend) SetGain1(gain uint8) + func (f *LimeDrvFrontend) SetGain2(gain uint8) + func (f *LimeDrvFrontend) SetGain3(gain uint8) + func (f *LimeDrvFrontend) SetOversample(oversample int) + func (f *LimeDrvFrontend) SetSampleRate(sampleRate uint32) uint32 + func (f *LimeDrvFrontend) SetSamplesAvailableCallback(cb SamplesCallback) + func (f *LimeDrvFrontend) Start() + func (f *LimeDrvFrontend) Stop() + type LimeFrontend struct + func NewLimeFrontend() *LimeFrontend + func (f *LimeFrontend) Destroy() + func (f *LimeFrontend) GetAvailableSampleRates() []uint32 + func (f *LimeFrontend) GetCenterFrequency() uint32 + func (f *LimeFrontend) GetName() string + func (f *LimeFrontend) GetSampleRate() uint32 + func (f *LimeFrontend) GetShortName() string + func (f *LimeFrontend) Init() bool + func (f *LimeFrontend) SetAGC(agc bool) + func (f *LimeFrontend) SetAntenna(value string) + func (f *LimeFrontend) SetBiasT(biast bool) + func (f *LimeFrontend) SetCenterFrequency(centerFrequency uint32) uint32 + func (f *LimeFrontend) SetGain1(gain uint8) + func (f *LimeFrontend) SetGain2(gain uint8) + func (f *LimeFrontend) SetGain3(gain uint8) + func (f *LimeFrontend) SetSampleRate(sampleRate uint32) uint32 + func (f *LimeFrontend) SetSamplesAvailableCallback(cb SamplesCallback) + func (f *LimeFrontend) Start() + func (f *LimeFrontend) Stop() + type RTLSDRFrontend struct + func NewRTLSDRFrontend() *RTLSDRFrontend + func (f *RTLSDRFrontend) Destroy() + func (f *RTLSDRFrontend) GetAvailableSampleRates() []uint32 + func (f *RTLSDRFrontend) GetCenterFrequency() uint32 + func (f *RTLSDRFrontend) GetName() string + func (f *RTLSDRFrontend) GetSampleRate() uint32 + func (f *RTLSDRFrontend) GetShortName() string + func (f *RTLSDRFrontend) Init() bool + func (f *RTLSDRFrontend) SetAGC(agc bool) + func (f *RTLSDRFrontend) SetAntenna(string) + func (f *RTLSDRFrontend) SetBiasT(biast bool) + func (f *RTLSDRFrontend) SetCenterFrequency(centerFrequency uint32) uint32 + func (f *RTLSDRFrontend) SetGain1(gain uint8) + func (f *RTLSDRFrontend) SetGain2(gain uint8) + func (f *RTLSDRFrontend) SetGain3(gain uint8) + func (f *RTLSDRFrontend) SetSampleRate(sampleRate uint32) uint32 + func (f *RTLSDRFrontend) SetSamplesAvailableCallback(cb SamplesCallback) + func (f *RTLSDRFrontend) Start() + func (f *RTLSDRFrontend) Stop() + type SampleCallbackData struct + ComplexArray []complex64 + Int16Array []int16 + Int8Array []int8 + NumSamples int + SampleType int + type SamplesCallback func(data SampleCallbackData) + type SpyserverFrontend struct + func NewSpyserverFrontend(hostname string, port int) *SpyserverFrontend + func (f *SpyserverFrontend) Destroy() + func (f *SpyserverFrontend) GetAvailableSampleRates() []uint32 + func (f *SpyserverFrontend) GetCenterFrequency() uint32 + func (f *SpyserverFrontend) GetName() string + func (f *SpyserverFrontend) GetSampleRate() uint32 + func (f *SpyserverFrontend) GetShortName() string + func (f *SpyserverFrontend) Init() bool + func (f *SpyserverFrontend) OnData(dType int, data interface{}) + func (f *SpyserverFrontend) SetAGC(agc bool) + func (f *SpyserverFrontend) SetAntenna(string) + func (f *SpyserverFrontend) SetBiasT(biast bool) + func (f *SpyserverFrontend) SetCenterFrequency(centerFrequency uint32) uint32 + func (f *SpyserverFrontend) SetGain1(gain uint8) + func (f *SpyserverFrontend) SetGain2(gain uint8) + func (f *SpyserverFrontend) SetGain3(gain uint8) + func (f *SpyserverFrontend) SetSampleRate(sampleRate uint32) uint32 + func (f *SpyserverFrontend) SetSamplesAvailableCallback(cb SamplesCallback) + func (f *SpyserverFrontend) Start() + func (f *SpyserverFrontend) Stop()