chore: release v0.23.3
This commit is contained in:
@@ -16117,3 +16117,32 @@ func (a *App) YaesuStopCW() error {
|
||||
}
|
||||
return a.cat.YaesuDo(func(y cat.YaesuController) error { return y.StopCW() })
|
||||
}
|
||||
|
||||
// KenwoodSendCW keys a CW message through the Kenwood/Elecraft keyer (CAT "KY"),
|
||||
// so a K3 keys CW over its single CAT link — no WinKeyer, no second COM port.
|
||||
func (a *App) KenwoodSendCW(text string) error {
|
||||
if a.cat == nil {
|
||||
return fmt.Errorf("cat not initialized")
|
||||
}
|
||||
err := a.cat.KenwoodDo(func(k cat.KenwoodController) error { return k.SendCW(text) })
|
||||
if err != nil {
|
||||
applog.Printf("kenwood cw: KenwoodSendCW(%q) failed: %v", text, err)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
// KenwoodStopCW aborts the message being sent (drops to receive).
|
||||
func (a *App) KenwoodStopCW() error {
|
||||
if a.cat == nil {
|
||||
return fmt.Errorf("cat not initialized")
|
||||
}
|
||||
return a.cat.KenwoodDo(func(k cat.KenwoodController) error { return k.StopCW() })
|
||||
}
|
||||
|
||||
// SetKenwoodKeySpeed sets the K3/Kenwood keyer speed in WPM (CAT "KS").
|
||||
func (a *App) SetKenwoodKeySpeed(wpm int) error {
|
||||
if a.cat == nil {
|
||||
return fmt.Errorf("cat not initialized")
|
||||
}
|
||||
return a.cat.KenwoodDo(func(k cat.KenwoodController) error { return k.SetKeySpeed(wpm) })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user