Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Demonstrate WebSocket transport#998

Open
WillerZ wants to merge 1 commit intomeshtastic:mainmeshtastic/web:mainfrom
WillerZ:mainWillerZ/meshtastic-web:mainCopy head branch name to clipboard
Open

Demonstrate WebSocket transport#998
WillerZ wants to merge 1 commit intomeshtastic:mainmeshtastic/web:mainfrom
WillerZ:mainWillerZ/meshtastic-web:mainCopy head branch name to clipboard

Conversation

@WillerZ
Copy link
Copy Markdown

@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
Copy Markdown

CLAassistant commented Jan 22, 2026

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link
Copy Markdown

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.