Skip to content

Commit 3baef9c

Browse files
committed
update with new ubxtool instructions
1 parent 54097c0 commit 3baef9c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ library installed. If you get an error about 'wslay', do the following, and run
5353
echo WSLAY=-lwslay > Makefile.local
5454
```
5555

56-
Once compiled, run for example `./ubxtool --wait /dev/ttyACM0 1 | ./ubxparse 10000 html null`
56+
Once compiled, run for example `./ubxtool --wait --port /dev/ttyACM0
57+
--station 1 --stdout | ./ubxparse 10000 html null`
5758

5859
Next up, browse to http://[::1]:10000 (or try http://localhost:10000/ and
5960
you should be in business. ubxtool changes (non-permanently) the
@@ -64,11 +65,18 @@ the doppler frames.
6465
To see what is going on, try:
6566

6667
```
67-
./ubxtool --wait /dev/ttyACM0 1 | ./navdump
68+
./ubxtool --wait --port /dev/ttyACM0 --station 1 --stdout | ./navdump
6869
```
6970

70-
Setting up a distributed setup is slightly more complicated & may still
71-
change.
71+
To distribute data to a remote `navrecv`, use:
72+
73+
```
74+
./ubxtool --wait --port /dev/ttyACM0 --station 255 --dest 127.0.0.1
75+
```
76+
77+
This will send protobuf to 127.0.0.1:29603. You can add as many destinations
78+
as you want, they will buffer and automatically reconnect. To also send data
79+
to stdout, add `--stdout`.
7280

7381
Tooling:
7482

0 commit comments

Comments
 (0)