localradio

package
v0.0.0-...-f747631 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalRadio

type LocalRadio struct {
	// contains filtered or unexported fields
}

func NewLocalRadio

func NewLocalRadio(rigModel, debugLevel int, port hl.Port, log *log.Logger) (*LocalRadio, error)

func (*LocalRadio) ExecVfoOps

func (r *LocalRadio) ExecVfoOps(ops []string) error

func (*LocalRadio) GetAntenna

func (r *LocalRadio) GetAntenna() (int, error)

func (*LocalRadio) GetCaps

func (r *LocalRadio) GetCaps() (sbRadio.Capabilities, error)

func (*LocalRadio) GetFrequency

func (r *LocalRadio) GetFrequency() (float64, error)

func (*LocalRadio) GetFunction

func (r *LocalRadio) GetFunction(function string) (bool, error)

func (*LocalRadio) GetLevel

func (r *LocalRadio) GetLevel(level string) (float32, error)

func (*LocalRadio) GetMode

func (r *LocalRadio) GetMode() (string, int, error)

func (*LocalRadio) GetParameter

func (r *LocalRadio) GetParameter(parm string) (float32, error)

func (*LocalRadio) GetPowerstat

func (r *LocalRadio) GetPowerstat() (bool, error)

func (*LocalRadio) GetPtt

func (r *LocalRadio) GetPtt() (bool, error)

func (*LocalRadio) GetRit

func (r *LocalRadio) GetRit() (int, error)

func (*LocalRadio) GetSplitFrequency

func (r *LocalRadio) GetSplitFrequency() (float64, error)

func (*LocalRadio) GetSplitFrequencyMode

func (r *LocalRadio) GetSplitFrequencyMode() (float64, string, int, error)

func (*LocalRadio) GetSplitMode

func (r *LocalRadio) GetSplitMode() (string, int, error)

func (*LocalRadio) GetSplitPbWidth

func (r *LocalRadio) GetSplitPbWidth() (int, error)

func (*LocalRadio) GetSplitVfo

func (r *LocalRadio) GetSplitVfo() (string, bool, error)

func (*LocalRadio) GetState

func (r *LocalRadio) GetState() (sbRadio.State, error)

func (*LocalRadio) GetTuningStep

func (r *LocalRadio) GetTuningStep() (int, error)

func (*LocalRadio) GetVfo

func (r *LocalRadio) GetVfo() (string, error)

func (*LocalRadio) GetXit

func (r *LocalRadio) GetXit() (int, error)

func (*LocalRadio) SetAntenna

func (r *LocalRadio) SetAntenna(ant int) error

func (*LocalRadio) SetFrequency

func (r *LocalRadio) SetFrequency(freq float64) error

func (*LocalRadio) SetFunction

func (r *LocalRadio) SetFunction(function string, value bool) error

func (*LocalRadio) SetLevel

func (r *LocalRadio) SetLevel(level string, value float32) error

func (*LocalRadio) SetMode

func (r *LocalRadio) SetMode(mode string, pbWidth int) error

func (*LocalRadio) SetParameter

func (r *LocalRadio) SetParameter(parm string, value float32) error

func (*LocalRadio) SetPowerstat

func (r *LocalRadio) SetPowerstat(ps bool) error

func (*LocalRadio) SetPtt

func (r *LocalRadio) SetPtt(ptt bool) error

func (*LocalRadio) SetRit

func (r *LocalRadio) SetRit(rit int) error

func (*LocalRadio) SetSplitFrequency

func (r *LocalRadio) SetSplitFrequency(freq float64) error

func (*LocalRadio) SetSplitFrequencyMode

func (r *LocalRadio) SetSplitFrequencyMode(freq float64, mode string, pbWidth int) error

func (*LocalRadio) SetSplitMode

func (r *LocalRadio) SetSplitMode(mode string, pbWidth int) error

func (*LocalRadio) SetSplitPbWidth

func (r *LocalRadio) SetSplitPbWidth(pbWidth int) error

func (*LocalRadio) SetSplitVfo

func (r *LocalRadio) SetSplitVfo(vfo string, enabled bool) error

func (*LocalRadio) SetTuningStep

func (r *LocalRadio) SetTuningStep(ts int) error

func (*LocalRadio) SetVfo

func (r *LocalRadio) SetVfo(vfo string) error

func (*LocalRadio) SetXit

func (r *LocalRadio) SetXit(xit int) error

Jump to

Keyboard shortcuts

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