Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-07T22:53:39.000Z (5 months ago)
- Last Synced: 2024-09-28T14:43:16.706Z (about 2 months ago)
- Topics: arduino, interface, raspberrypi, rust, rust-lang, serial, udp, udp-server
- Language: Rust
- Homepage:
- Size: 59.6 KB
- Stars: 16
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
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 addressRun your server:
`netcat -lp 1234`