Skip to content

Conversation

@WillerZ
Copy link

@WillerZ WillerZ commented Jan 22, 2026

Description

This PR gives the capability for the Web UI to connect to nodes which have a serial interface attached to some other server.

The server with the node attached needs to expose the serial port as a WebSocket. Some software to do this is at https://github.com/WillerZ/ws-serial-gateway

It's not my expectation that you would want to merge this PR in its current state, and it is not my intent to do any further work on this. The point of this PR is to let you know that it's possible, so that you can assess whether it is a feature that you want to incorporate.

My assessment of the code in this PR is that the transport code is near-complete and works as far as I can test it in the real world. The UI changes are a total mess and should probably be discarded and re-done by a React afficionado.

Changes Made

  • Added a transport module that connects then reads-from/writes-to a WebSocket
  • UI changes to allow creating a node connection with this transport

Testing Done

Reused transport tests.

Manually tested that I can connect to, view the config, change the config, and send messages from a node attached through the WebSocket transport.

Checklist

  • [no] Code follows project style guidelines
  • [no] Documentation has been updated or added
  • [partial] Tests have been added or updated
  • [no] All i18n translation labels have been added (read
    CONTRIBUTING_I18N_DEVELOPER_GUIDE.md for more details)

@CLAassistant
Copy link

CLAassistant commented Jan 22, 2026

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented Jan 22, 2026

@WillerZ is attempting to deploy a commit to the Meshtastic Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants