SkillAgentSearch skills...

Ser2ip

A simple full-duplex serial-port to TCP/IP gateway in Go

Install / Use

/learn @Matthias247/Ser2ip
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ser2ip

A simple full-duplex serial-port to TCP/IP gateway in Go

This daemon allows to expose a serial port through a socket over the network.

The server socket will only accept a single TCP/IP connection at a time because a serialport is considered as an exclusive resoure. When the client quits a new one can be accepted.

If the serialport is not available or encounters an error this application will stop.

The serialport which should be exposed and the port on which it should be exposed can be configured through commandline parameters.

###Usage:

ser2ip serialPortName baudrate ipPortNumber

###Examples:

# Exposing COM3 with baudrate 115200 on port 9000
ser2ip COM3 115200 9000

# Exposing /dev/ttyUSB0 with baudrate 9600 on port 9001
ser2ip /dev/ttyUSB0 9600 9001

Related Skills

View on GitHub
GitHub Stars33
CategoryDevelopment
Updated1y ago
Forks13

Languages

Go

Security Score

75/100

Audited on Sep 4, 2024

No findings