32 lines
757 B
Markdown
32 lines
757 B
Markdown
# ser2http4mt
|
||
|
||
Serial to HTTP Bridge for Meshtastic™
|
||
|
||
This is a simple, hacked together bridge script which enables Meshtastic nodes
|
||
with only serial capabilities to receive and send the fromRadio and toRadio protobuf
|
||
packets.
|
||
|
||
"Those who find mistakes may keep them."
|
||
– Ancient German Proverb
|
||
|
||
## Installation
|
||
|
||
```bash
|
||
# Install the required dependencies: PySerial and Meshtastic
|
||
python3 -m pip install -r requirements.txt
|
||
```
|
||
|
||
## Run
|
||
|
||
```bash
|
||
# Start the bridge for MT device at /dev/ttyACM0 with a rate of 115200 and listen on :4403
|
||
python3 ser2http4mt.py --port /dev/ttyACM0 --baud 115200 --bind 0.0.0.0:4403
|
||
```
|
||
|
||
## Known good configuration
|
||
|
||
Hardware: LILYGO T-Echo
|
||
Firmware: 2.7.11
|
||
Target Software: Affirmatech MeshSense 1.1.0-beta8
|
||
|