-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
35 lines (27 loc) · 1.1 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
This is a program to slurp packets out of one radio and chuck them out another.
To use this you need to enable MQTT uplink on the source radios. It requires
encryption to be disabled and proxy to client enabled.
The destination radios need to have a patched firmware to allow forging the
from field on packets.
```
diff --git a/src/mesh/MeshService.cpp b/src/mesh/MeshService.cpp
index 2cfb4843..78322c35 100644
--- a/src/mesh/MeshService.cpp
+++ b/src/mesh/MeshService.cpp
@@ -192,7 +192,7 @@ void MeshService::handleToRadio(meshtastic_MeshPacket &p)
return;
}
#endif
- p.from = 0; // We don't let phones assign nodenums to their sent messages
+ //p.from = 0; // We don't let phones assign nodenums to their sent messages
if (p.id == 0)
p.id = generatePacketId(); // If the phone didn't supply one, then pick one
```
```
usage: meshview [-h] [--bt [BT ...]] [--tcp [TCP ...]]
options:
-h, --help show this help message and exit
--bt [BT ...]
--tcp [TCP ...]
```
So this will link a bluetooth radio to one over TCP. `python pipe.py --bt adev_0060 --tcp 192.168.10.145`