Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

SmartSDR backend: PTT-on intermittently fails with “another slice has PTT control” (Hamlib 4.7.2)

未关闭
#2,267 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 5 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
c
领域
backend

调研方向

Start by locating the SmartSDR backend’s PTT handling and the code that reports “another slice has PTT control”; the issue does not name source files or tests. Compare the slice and PTT state handling on successful and failed T 1 requests, using the attached rigctld debug log as a starting point. Done means repeated PTT-on and PTT-off commands targeting the same slice behave consistently without the reported rejection.

由索引模型根据 Issue 内容生成。

描述

Environment
  • Hamlib version: 4.7.2 (build 2026-06-21, SHA 40f63488f)
  • Rig model: FlexRadio SmartSDR Slice A (model 23005)
  • Connection: rigctld connected to the radio at 192.168.197.161:4992
  • rigctld listening on port 4532
Problem

PTT-on commands (T 1) behave inconsistently. Some succeed, but others fail with RPRT -12 and the debug message:

smartsdr_set_ptt: abort PTT on slice ?, another slice has PTT control

The subsequent PTT-off command (T 0) succeeds.

Log evidence

On successful PTT-on, the backend sends commands including:

  • dax audio set 1 tx=1
  • slice set 0 tx=1
  • xmit 1

and returns RPRT 0.

On a failed PTT-on request, the backend returns RPRT -12 (“Target VFO unaccessible”) before sending xmit 1 to the radio. The following T 0 command succeeds.

Expected behavior

Repeated PTT-on / PTT-off commands should behave consistently, without intermittent rejection by the SmartSDR backend when targeting the same slice.

Actual behavior

PTT-on sometimes succeeds and sometimes fails with the backend reporting that another slice has PTT control.

Attachments

Full rigctld debug log available.

Could this be caused by incorrect slice/PTT state tracking in the SmartSDR backend, or by the backend detecting PTT ownership on another slice incorrectly?

. . .

Cheers Uli, DF4IAH.

主要语言
C
星标
851
派生
308
平均合并
3 天 20 小时
30 天内合并 PR
8

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Hamlib/Hamlib 的其他 Issue

查看 Hamlib/Hamlib 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。