particle-iot/ser2ip

Name: ser2ip

Owner: Particle

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

Forked from: Matthias247/ser2ip

Created: 2017-01-23 15:50:35.0

Updated: 2017-01-23 15:50:38.0

Pushed: 2018-01-03 18:44:11.0

Homepage: null

Size: 5

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ser2ip Build Status

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:
ip serialPortName baudrate ipPortNumber
Examples:
posing COM3 with baudrate 115200 on port 9000
ip COM3 115200 9000

posing /dev/ttyUSB0 with baudrate 9600 on port 9001
ip /dev/ttyUSB0 9600 9001

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.