Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support serial over TCP #42

Open
twam opened this issue Apr 26, 2024 · 2 comments
Open

Support serial over TCP #42

twam opened this issue Apr 26, 2024 · 2 comments
Assignees

Comments

@twam
Copy link

twam commented Apr 26, 2024

Would it be possible to support connection a meter with a serial over TCP link, e.g. https://www.aliexpress.com/item/1005005996885050.html? Those devices just open a TCP port which then provides access to the serial port.

This way I could easily access devices which are not in 'USB range' of my home server.

@spacemanspiff2007
Copy link
Owner

spacemanspiff2007 commented Apr 26, 2024

I'm afraid I can't comment on that.
The underlying library supports the following urls. If the device supports one of those it should work.

Edit:
It should always be possible to mount the remote device with the corresponding program (e.g. socat) and then access as if would be a local device..

@twam
Copy link
Author

twam commented Apr 27, 2024

Thanks for the quick reply. The URLs include socket://<host>:<port> which looks good. I'll test it and report here.

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

No branches or pull requests

2 participants