An error tolerant serial UART to TCP connection, raw data bridge.
TCP Connections over Serial.
Useful to connect microcontrollers on development boards like the Arduino Uno to servers, just through the Serial port over USB, without requiring any Ethernet/Wi-Fi hardware.
Meant to bridge the gap between TCP connections to servers and simple serial devices using UART/RS-232/Serial-over-USB, etc.
Host side gateway service written in Go that listens on Serial ports for clients.
Clients implementing the protocol client have a TCP-like API that they can use to make connections to real servers, without networking hardware.
The goal of the project is to have the means to connect the simplest and cheapest devices to the internet, albeit indirectly.
Included in this repo is an implementation of the Protocol Gateway and Client, written in Go. They work on Windows, Linux, Raspberry Pi OS.
The following clients are also available:
| Client | Platform | Language |
|---|---|---|
| ArduinoSerialToTCPBridgeClient | Arduino | C++ |
| STM32SerialToTCPBridgeClient | STM32 | C |
config.json. The serial port in Linux for the Arduino Uno is something like /dev/ttyACM0.config.json and set it according to your Serial port configuration.example.go in your IDE, or run go run example.go or go build for a binary.go get -u github.com/RoanBrand/goBuffers.protocol folder inside the repository.go test -v in the terminal.—
$ claude mcp add SerialToTCPBridgeProtocol \
-- python -m otcore.mcp_server <graph>