https://github.com/patrickelectric/bridges
Serial to UDP bridge.
https://github.com/patrickelectric/bridges
arduino interface raspberrypi rust rust-lang serial udp udp-server
Last synced: 9 months ago
JSON representation
Serial to UDP bridge.
- Host: GitHub
- URL: https://github.com/patrickelectric/bridges
- Owner: patrickelectric
- License: mit
- Created: 2019-08-21T23:33:16.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-19T23:01:39.000Z (over 1 year ago)
- Last Synced: 2025-10-23T05:37:20.111Z (9 months ago)
- Topics: arduino, interface, raspberrypi, rust, rust-lang, serial, udp, udp-server
- Language: Rust
- Homepage:
- Size: 60.5 KB
- Stars: 21
- Watchers: 1
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bridges
A simple UDP-Serial interface.
## Install :zap:
- :gear: Cargo Install: `cargo install bridges`
## Downloads :package:
- :computer: [Windows](https://github.com/patrickelectric/bridges/releases/latest/download/bridges-x86_64-pc-windows-msvc.exe)
- :apple: [MacOS](https://github.com/patrickelectric/bridges/releases/latest/download/bridges-x86_64-apple-darwin)
- :penguin: [Linux](https://github.com/patrickelectric/bridges/releases/latest/download/bridges-x86_64-unknown-linux-musl)
- :strawberry: [Raspberry](https://github.com/patrickelectric/bridges/latest/releases/continuous/bridges-armv7-unknown-linux-musleabihf)
# Example
## Running as server
Run bridges as server:
`bridges --port /dev/ttyACM0:115200 -u 0.0.0.0:1234`
Run your client:
`netcat -u 127.0.0.1 1234`
## Running as client
Run bridges in client mode:
`bridges --port /dev/ttyACM0:115200 -u 192.168.0.40:1234`
> Note that `192.168.0.40` should be your remote server address
Run your server:
`netcat -lp 1234`