Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#2,267 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 13 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C
Estrellas
851
Forks
308
Merge medio
13 d 19 h
PR fusionados (30 d)
11

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Hamlib/Hamlib

Todos los issues de Hamlib/Hamlib

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.