Skip to content

A Serial proxy for rpi 4b, based on sersniff - maintained by Nesto

License

Notifications You must be signed in to change notification settings

nesto-software/SerialProxy

Repository files navigation

Serial Proxy for Raspberry Pi (armhf)

.github/workflows/build-binaries.yml https://github.com/nesto-software/ProxySuite

Heads Up!

This project is currently being refactored by Nesto.
If you want to participate, feel free to reach out!
For more information, please visit the original README.

Martin Löper <martin.loeper@nesto-software.de>

Development Status

VariantStatus
Software✔️
Hardware✔️ ⚠️

The software variant runs without any known issues.
The hardware variant which uses the AirDrive Serial Logger showed some major issues with health check protocols and high volume / continuous data streams. We are currently investigating these issues.

Both variants are covered by this codebase.

Install via GitHub Releases Download (binary)

Method Command
curl bash -c "$(curl -fsSL https://raw.githubusercontent.com/nesto-software/SerialProxy/master/scripts/install-from-release.sh)"
wget bash -c "$(wget -O- https://raw.githubusercontent.com/nesto-software/SerialProxy/master/scripts/install-from-release.sh)"

Usage

Software Proxy Approach

sudo sersniff -i /dev/ttyUSB0 -o /dev/ttyUSB1 -z -b 19200

Hardware Proxy Approach

sudo sersniff -i /dev/ttyACM0 -s -z

Alternative / Debugging

You can also proxy serial very easily using socat.
Install it via sudo apt-get install -y socat.
Use it for example to verify everything works as expected:

sudo socat -x /dev/ttyUSB0,raw,b19200 /dev/ttyUSB1,raw,b19200