Documentation ¶
Index ¶
- func GetPollingInterval(r *RemoteRadio, log *log.Logger, args []string)
- func GetPrintRigUpdates(r *RemoteRadio, log *log.Logger, args []string)
- func GetSyncInterval(r *RemoteRadio, log *log.Logger, args []string)
- func SetPollingInterval(r *RemoteRadio, log *log.Logger, args []string)
- func SetPrintRigUpdates(r *RemoteRadio, log *log.Logger, args []string)
- func SetSyncInterval(r *RemoteRadio, log *log.Logger, args []string)
- type RemoteCliCmd
- type RemoteRadio
- func (r *RemoteRadio) DeserializeCaps(msg []byte) error
- func (r *RemoteRadio) DeserializeCatResponse(msg []byte) error
- func (r *RemoteRadio) DeserializeRadioStatus(data []byte) error
- func (r *RemoteRadio) ExecVfoOps(ops []string) error
- func (r *RemoteRadio) GetAntenna() (int, error)
- func (r *RemoteRadio) GetCaps() (sbRadio.Capabilities, error)
- func (r *RemoteRadio) GetFrequency() (float64, error)
- func (r *RemoteRadio) GetFunction(function string) (bool, error)
- func (r *RemoteRadio) GetLevel(level string) (float32, error)
- func (r *RemoteRadio) GetMode() (string, int, error)
- func (r *RemoteRadio) GetParameter(parm string) (float32, error)
- func (r *RemoteRadio) GetPowerstat() (bool, error)
- func (r *RemoteRadio) GetPtt() (bool, error)
- func (r *RemoteRadio) GetRit() (int, error)
- func (r *RemoteRadio) GetSplitFrequency() (float64, error)
- func (r *RemoteRadio) GetSplitFrequencyMode() (float64, string, int, error)
- func (r *RemoteRadio) GetSplitMode() (string, int, error)
- func (r *RemoteRadio) GetSplitPbWidth() (int, error)
- func (r *RemoteRadio) GetSplitVfo() (string, bool, error)
- func (r *RemoteRadio) GetState() (sbRadio.State, error)
- func (r *RemoteRadio) GetTuningStep() (int, error)
- func (r *RemoteRadio) GetVfo() (string, error)
- func (r *RemoteRadio) GetXit() (int, error)
- func (r *RemoteRadio) IsOnlne() bool
- func (r *RemoteRadio) SetAntenna(ant int) error
- func (r *RemoteRadio) SetFrequency(freq float64) error
- func (r *RemoteRadio) SetFunction(function string, value bool) error
- func (r *RemoteRadio) SetLevel(level string, value float32) error
- func (r *RemoteRadio) SetMode(mode string, pbWidth int) error
- func (r *RemoteRadio) SetOnline(online bool)
- func (r *RemoteRadio) SetParameter(parm string, value float32) error
- func (r *RemoteRadio) SetPowerstat(ps bool) error
- func (r *RemoteRadio) SetPtt(ptt bool) error
- func (r *RemoteRadio) SetRit(rit int) error
- func (r *RemoteRadio) SetSplitFrequency(freq float64) error
- func (r *RemoteRadio) SetSplitFrequencyMode(freq float64, mode string, pbWidth int) error
- func (r *RemoteRadio) SetSplitMode(mode string, pbWidth int) error
- func (r *RemoteRadio) SetSplitPbWidth(pbWidth int) error
- func (r *RemoteRadio) SetSplitVfo(vfo string, enabled bool) error
- func (r *RemoteRadio) SetTuningStep(ts int) error
- func (r *RemoteRadio) SetVfo(vfo string) error
- func (r *RemoteRadio) SetXit(xit int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPollingInterval ¶
func GetPollingInterval(r *RemoteRadio, log *log.Logger, args []string)
func GetPrintRigUpdates ¶
func GetPrintRigUpdates(r *RemoteRadio, log *log.Logger, args []string)
func GetSyncInterval ¶
func GetSyncInterval(r *RemoteRadio, log *log.Logger, args []string)
func SetPollingInterval ¶
func SetPollingInterval(r *RemoteRadio, log *log.Logger, args []string)
func SetPrintRigUpdates ¶
func SetPrintRigUpdates(r *RemoteRadio, log *log.Logger, args []string)
func SetSyncInterval ¶
func SetSyncInterval(r *RemoteRadio, log *log.Logger, args []string)
Types ¶
type RemoteCliCmd ¶
type RemoteCliCmd struct { Cmd func(r *RemoteRadio, log *log.Logger, args []string) Name string Shortcut string Parameters string Description string Example string }
func GetRemoteCliCmds ¶
func GetRemoteCliCmds() []RemoteCliCmd
type RemoteRadio ¶
type RemoteRadio struct {
// contains filtered or unexported fields
}
func NewRemoteRadio ¶
func (*RemoteRadio) DeserializeCaps ¶
func (r *RemoteRadio) DeserializeCaps(msg []byte) error
func (*RemoteRadio) DeserializeCatResponse ¶
func (r *RemoteRadio) DeserializeCatResponse(msg []byte) error
func (*RemoteRadio) DeserializeRadioStatus ¶
func (r *RemoteRadio) DeserializeRadioStatus(data []byte) error
func (*RemoteRadio) ExecVfoOps ¶
func (r *RemoteRadio) ExecVfoOps(ops []string) error
func (*RemoteRadio) GetAntenna ¶
func (r *RemoteRadio) GetAntenna() (int, error)
func (*RemoteRadio) GetCaps ¶
func (r *RemoteRadio) GetCaps() (sbRadio.Capabilities, error)
func (*RemoteRadio) GetFrequency ¶
func (r *RemoteRadio) GetFrequency() (float64, error)
func (*RemoteRadio) GetFunction ¶
func (r *RemoteRadio) GetFunction(function string) (bool, error)
func (*RemoteRadio) GetParameter ¶
func (r *RemoteRadio) GetParameter(parm string) (float32, error)
func (*RemoteRadio) GetPowerstat ¶
func (r *RemoteRadio) GetPowerstat() (bool, error)
func (*RemoteRadio) GetPtt ¶
func (r *RemoteRadio) GetPtt() (bool, error)
func (*RemoteRadio) GetRit ¶
func (r *RemoteRadio) GetRit() (int, error)
func (*RemoteRadio) GetSplitFrequency ¶
func (r *RemoteRadio) GetSplitFrequency() (float64, error)
func (*RemoteRadio) GetSplitFrequencyMode ¶
func (r *RemoteRadio) GetSplitFrequencyMode() (float64, string, int, error)
func (*RemoteRadio) GetSplitMode ¶
func (r *RemoteRadio) GetSplitMode() (string, int, error)
func (*RemoteRadio) GetSplitPbWidth ¶
func (r *RemoteRadio) GetSplitPbWidth() (int, error)
func (*RemoteRadio) GetSplitVfo ¶
func (r *RemoteRadio) GetSplitVfo() (string, bool, error)
func (*RemoteRadio) GetTuningStep ¶
func (r *RemoteRadio) GetTuningStep() (int, error)
func (*RemoteRadio) GetVfo ¶
func (r *RemoteRadio) GetVfo() (string, error)
func (*RemoteRadio) GetXit ¶
func (r *RemoteRadio) GetXit() (int, error)
func (*RemoteRadio) IsOnlne ¶
func (r *RemoteRadio) IsOnlne() bool
func (*RemoteRadio) SetAntenna ¶
func (r *RemoteRadio) SetAntenna(ant int) error
func (*RemoteRadio) SetFrequency ¶
func (r *RemoteRadio) SetFrequency(freq float64) error
func (*RemoteRadio) SetFunction ¶
func (r *RemoteRadio) SetFunction(function string, value bool) error
func (*RemoteRadio) SetOnline ¶
func (r *RemoteRadio) SetOnline(online bool)
func (*RemoteRadio) SetParameter ¶
func (r *RemoteRadio) SetParameter(parm string, value float32) error
func (*RemoteRadio) SetPowerstat ¶
func (r *RemoteRadio) SetPowerstat(ps bool) error
func (*RemoteRadio) SetPtt ¶
func (r *RemoteRadio) SetPtt(ptt bool) error
func (*RemoteRadio) SetRit ¶
func (r *RemoteRadio) SetRit(rit int) error
func (*RemoteRadio) SetSplitFrequency ¶
func (r *RemoteRadio) SetSplitFrequency(freq float64) error
func (*RemoteRadio) SetSplitFrequencyMode ¶
func (r *RemoteRadio) SetSplitFrequencyMode(freq float64, mode string, pbWidth int) error
func (*RemoteRadio) SetSplitMode ¶
func (r *RemoteRadio) SetSplitMode(mode string, pbWidth int) error
func (*RemoteRadio) SetSplitPbWidth ¶
func (r *RemoteRadio) SetSplitPbWidth(pbWidth int) error
func (*RemoteRadio) SetSplitVfo ¶
func (r *RemoteRadio) SetSplitVfo(vfo string, enabled bool) error
func (*RemoteRadio) SetTuningStep ¶
func (r *RemoteRadio) SetTuningStep(ts int) error
func (*RemoteRadio) SetVfo ¶
func (r *RemoteRadio) SetVfo(vfo string) error
func (*RemoteRadio) SetXit ¶
func (r *RemoteRadio) SetXit(xit int) error
Click to show internal directories.
Click to hide internal directories.