[Bug]: Serial connection to nRF52 device (T1000-E) never loads; port opened without DTR asserted
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- embedded-iot, frontend
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 861
- Forks
- 316
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 18
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from meshtastic/web
-
i18n
Difficulty 1/5 Under an hour Newbie friendliness 82/100
meshtastic/web#1187 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
meshtastic/web#1532 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
meshtastic/web#1504 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
meshtastic/web#1498 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 55/100
meshtastic/web#1496 · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
P3
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug L3 level 1 needs-review wocs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
SatyamPandey-07/WorkSphere#10739 · 1 comment ·
Maintainers usually reply within 1 day
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
assistant-ui/assistant-ui#10946 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
openclaw/openclaw#206303 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day