[Bug]: Serial connection to nRF52 device (T1000-E) never loads; port opened without DTR asserted
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- embedded-iot, frontend
Línea de trabajo
The payload names no file, so start by finding where the client opens the Web Serial port and where it logs Configuration complete, starting heartbeat. The reported fix is to call setSignals with dataTerminalReady and requestToSend true right after open. Verifying it needs an nRF52 device such as a T1000-E, because the bug only shows on hardware. Done when config packets arrive with DTR asserted, and the silent-empty-state case also gets a timeout or error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Before submitting
- I have searched existing issues to make sure this bug hasn't already been reported
- I have updated to the latest version of the software to verify the issue still exists
- I have cleared cache/cookies/storage or tried in a private/incognito window (if applicable)
Hardware
Other (Seeed SenseCAP T1000-E, nRF52840)
Connection Type
Serial
Local or Hosted
Firmware Version
2.7.15.567b8ea
Operating System
Fedora Linux 45 (kernel 7.3.3)
Browser
Chromium 156.0.8078.79
Expected Behavior
After choosing the serial port, the client gets the device config (myInfo, nodes, config, channels) and loads the UI.
Actual Behavior
The connection goes to DeviceConnected, then the client logs Configuration complete, starting heartbeat even though no packets are received from the radio at all. Nothing loads. Heartbeat pings go out every 60 s with no response.
Root cause: the serial port is opened without asserting DTR. On nRF52 (Adafruit/TinyUSB CDC) the firmware treats DTR-low as "no host connected" and sends nothing over USB serial.
I checked this with pyserial against the same device, sending an identical ToRadio{want_config_id} frame each time:
| DTR/RTS | Bytes received | Framed packets |
|---|---|---|
| asserted | 15854 | 119 (full config) |
| de-asserted | 0 | 0 |
| asserted again | 15854 | 119 |
The Python CLI (meshtastic --info) works on the same port, because pyserial asserts DTR by default.
Workaround that fixes it: run this in the DevTools console before connecting:
const _open = SerialPort.prototype.open;
SerialPort.prototype.open = async function (opts) {
await _open.call(this, opts);
await this.setSignals({ dataTerminalReady: true, requestToSend: true });
};
With this in place the client connects and loads normally.
Suggested fix: explicitly call port.setSignals({ dataTerminalReady: true, requestToSend: true }) right after port.open() in the serial transport. Don't rely on the platform or browser default.
Steps to Reproduce
- Use an nRF52-based node (here a T1000-E) on Linux with Chromium.
- Open https://client.meshtastic.org, then add a Serial connection and select the device.
- The connection succeeds, but no config/nodes ever load. The console shows no received packets.
Also checked: power-cycled the device, cleared site data, made sure no other process holds the port, stopped ModemManager. None of these changed anything.
Relevant console output
[useConnections] Starting configuration
14:48:16:565 DEBUG [iMeshDevice] Configure ⚙️ Requesting device configuration
14:48:16:580 INFO [iMeshDevice] ConnectionStatus 🔗 DeviceConnecting
14:48:16:588 INFO [iMeshDevice] ConnectionStatus 🔗 DeviceConnected
[useConnections] Configuration complete, starting heartbeat
14:49:16:568 DEBUG [iMeshDevice] Ping ❤️ Send heartbeat ping to radio
Additional Context
A second, smaller issue: "Configuration complete" is reported even though configCompleteId was never received. The UI should probably show a timeout or error here instead of silently sitting on an empty state.
- Lenguaje dominante
- TypeScript
- Estrellas
- 861
- Forks
- 316
- Merge medio
- 2 d 10 h
- PR fusionados (30 d)
- 18
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de meshtastic/web
-
i18n
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
meshtastic/web#1187 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
meshtastic/web#1532 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
meshtastic/web#1504 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
meshtastic/web#1498 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
meshtastic/web#1496 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de meshtastic/web
Issues similares
-
P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug L3 level 1 needs-review wocs
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
SatyamPandey-07/WorkSphere#10739 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
maintenance
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
assistant-ui/assistant-ui#10946 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
openclaw/openclaw#206303 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día