Skip to content

Commit bfa5d30

Browse files
committed
udpfwd with stats
1 parent 60c8e09 commit bfa5d30

14 files changed

+128
-568
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mavfwd
2+
tmp/**

.vscode/launch.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@
77
"request": "launch",
88
"program": "${workspaceFolder}/udpfwd",
99
"args": [
10-
"--master",
11-
"/dev/ttyUSB0",
12-
"--baudrate",
13-
"115200",
10+
"--in",
11+
"192.168.1.20:5667",
1412
"--out",
1513
"127.0.0.1:5600",
1614
"--out2",
1715
"127.0.0.1:5601",
18-
"--in",
19-
"192.168.1.8:5666"
16+
"--metrics",
17+
"20"
2018
],
2119
"stopAtEntry": false,
2220
"cwd": "${workspaceFolder}",

.vscode/settings.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"files.associations": {
33
"array": "c",
44
"string": "c",
5-
"string_view": "c"
5+
"string_view": "c",
6+
"algorithm": "c"
67
}
78
}

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ CFLAGS=-O1 -g -fsanitize=address -fno-omit-frame-pointer -Wall -Wextra
22
LDFLAGS=-g -fsanitize=address
33
LDLIBS=-levent_core
44

5+
#Compile for SSC338q
6+
#CC=/home/home/src/ipcssc338/openipc-firmware/output/per-package/mavfwd/host/bin/arm-openipc-linux-gnueabihf-gcc
7+
58
udpfwd:

aa.flv

Whitespace-only changes.

mavfwd

-29.4 KB
Binary file not shown.

notes.txt

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
cp updfwd.c /home/home/src/ipcssc338/openipc-firmware/output/build/mavfwd-c95613e241e03782fc6acc4780e60d8b4316a736/
2+
make -C /home/home/src/ipcssc338/openipc-firmware/output/ mavfwd-rebuild
3+
scp /home/home/src/ipcssc338/openipc-firmware/output/build/mavfwd-c95613e241e03782fc6acc4780e60d8b4316a736/mavfwd [email protected]:/usr/bin/
4+
5+
6+
#compile for ssc338
7+
/home/home/src/ipcssc338/openipc-firmware/output/per-package/mavfwd/host/bin/arm-openipc-linux-gnueabihf-gcc -levent_core -s udpfwd.c -o udpfwd
8+
9+
#copy
10+
scp /home/home/src/udpfwd_old/udpfwd [email protected]:/usr/bin/
11+
12+
#run on cam
13+
udpfwd --in 127.0.0.1 5666 --out 127.0.0.1:5600 --out2 192.168.1.20:5600 -m 20
14+

out.mp4

Whitespace-only changes.

output.mp4

Whitespace-only changes.

program

-26.3 KB
Binary file not shown.

readme.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Will read UDP packets from port 5666 and send them to two separate endpoints 127
77
Each packet is resend as received, no buffering or packet aggregation applied.
88

99

10+
make -C /lib/modules/6.2.0-39-generic/build M=/home/home/linux62_39/linux-6.2/drivers/net/wireless/ath/ modules

udpfwd

-16.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)