radio

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(radios []core.Radio, keyers []core.Keyer, bandplan bandplan.Bandplan) *Controller

func (*Controller) Abort

func (c *Controller) Abort()

func (*Controller) Active

func (c *Controller) Active() bool

func (*Controller) EntryAdded

func (c *Controller) EntryAdded(entry core.BandmapEntry)

func (*Controller) EntryRemoved

func (c *Controller) EntryRemoved(entry core.BandmapEntry)

func (*Controller) EntryUpdated

func (c *Controller) EntryUpdated(entry core.BandmapEntry)

func (*Controller) Notify

func (c *Controller) Notify(listener any)

func (*Controller) Refresh

func (c *Controller) Refresh()

func (*Controller) SelectKeyer

func (c *Controller) SelectKeyer(name string) error

func (*Controller) SelectRadio

func (c *Controller) SelectRadio(name string) error

func (*Controller) Send

func (c *Controller) Send(text string)

func (*Controller) SetBand

func (c *Controller) SetBand(b core.Band)

func (*Controller) SetFrequency

func (c *Controller) SetFrequency(f core.Frequency)

func (*Controller) SetMode

func (c *Controller) SetMode(m core.Mode)

func (*Controller) SetSendSpotsToTci

func (c *Controller) SetSendSpotsToTci(value bool)

func (*Controller) SetView

func (c *Controller) SetView(view View)

func (*Controller) SetXIT added in v0.22.2

func (c *Controller) SetXIT(active bool, offset core.Frequency)

func (*Controller) Speed

func (c *Controller) Speed(speed int)

func (*Controller) Stop

func (c *Controller) Stop()

type View

type View interface {
	AddRadio(name string)
	AddKeyer(name string)

	SetRadioSelected(name string)
	SetKeyerSelected(name string)
}

Jump to

Keyboard shortcuts

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