vfo

package
v0.0.0-...-6c475a9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VFO

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

VFO type.

func Open

func Open(address string) (*VFO, error)

Open a connection to a hamlib VFO at the given network address. If address is empty, localhost:4532 is used.

func (*VFO) CurrentFrequency

func (v *VFO) CurrentFrequency() core.Frequency

CurrentFrequency returns the current frequency of the VFO.

func (*VFO) CurrentMode

func (v *VFO) CurrentMode() (string, core.Frequency)

CurrentMode returns the current mode and the current bandwidth of the VFO.

func (*VFO) Data

func (v *VFO) Data() <-chan core.VFO

Data of this VFO.

func (*VFO) Run

func (v *VFO) Run(stop chan struct{})

Run the VFO.

func (*VFO) TuneBy

func (v *VFO) TuneBy(Δf core.Frequency)

TuneBy the given frequency delta.

func (*VFO) TuneTo

func (v *VFO) TuneTo(f core.Frequency)

TuneTo the given frequency.

Jump to

Keyboard shortcuts

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