Merge branch 'main' of github.com:geoffwhittington/meshtastic-bridge into main

This commit is contained in:
Geoff Whittington
2022-08-18 23:11:16 -04:00

View File

@@ -2,12 +2,14 @@
Connect two distinct radio [Meshtastic](https://meshtastic.org) networks using TCP.
WARNING: Traffic is sent insecure using TCP. Use a VPN to secure traffic between the nodes
## Requirements
- Python3
- Two Meshtastic devices:
- Local `LOCAL_NODE_ADDR` The IP address or Serial devPath (micro USB cable needed for serial access) of a local Meshtastic device
- Remote `REMOTE_NODE_ARR` The IP address of a remote Meshtastic device
- Remote `REMOTE_NODE_ADDR` The IP address of a remote Meshtastic device
Refer to <https://meshtastic.org/docs/settings/config/wifi#wifi-client> to configure a Meshtastic device to use wifi and expose a TCP address
@@ -25,7 +27,7 @@ $ pip install -r requirements.txt
## Turn on the Bridge
In the `meshtastic-bridge` directory run the following:
In the `meshtastic-bridge` directory run the following - replacing `BRIDGE_DISTANCE_KM`, `LOCAL_NODE_ADDR` and `REMOTE_NODE_ADDR` with the proper values:
```
BRIDGE_DISTANCE_KM=0 LOCAL_NODE_ADDR=/dev/ttyUSB0 REMOTE_NODE_ADDR=182.168.86.123 python main.py