Compare commits

...

3 commits

Author SHA1 Message Date
Stephan I. Böttcher
783d82b83e AHEPAM EPOCH: harden rollover 2025-08-04 22:04:06 +02:00
Stephan I. Böttcher
7881b72b1b NMAHEPAM: UDP.RC: reset spi_min_q=665 @ ETH resets 2025-08-04 22:02:22 +02:00
Stephan I. Böttcher
a22c05dc82 NMAHEPAM: ETH.RC: SETH flight IPs 2025-08-04 22:01:46 +02:00
3 changed files with 10 additions and 5 deletions

View file

@ -66,8 +66,12 @@ function isCC() {
ELINES[i] = $0 ELINES[i] = $0
NE++ NE++
if (N) { if (N) {
if (TE0 < 0x40000000 && TLAST > 0xc0000000) EPOCH += 0x100000000 if (TE0 < 0x00ffffff && TLAST > 0xff000000) {
TLAST = TE0 EPOCH += 0x100000000
TLAST = TE0
} else if (TE0 > TLAST) {
TLAST = TE0
}
} }
return N return N
} }

View file

@ -1,7 +1,7 @@
eth/source/ip 172.16.18.112 eth/source/ip 172.16.18.121
echo eth config SETH echo eth config SETH
@eth/dest/str/mac/ip/port 3c:97:0e:ce:30:48 172.16.18.110 1112 @eth/dest/str/mac/ip/port 3c:97:0e:ce:30:48 172.16.18.120 1112
@eth/dest/mes/mac/ip/port 3c:97:0e:ce:30:48 172.16.18.110 1113 @eth/dest/mes/mac/ip/port 3c:97:0e:ce:30:48 172.16.18.120 1113
@eth/init/full @eth/init/full
@s/if errno>=500: s/exit @s/if errno>=500: s/exit
@var/set eth_verbosity = 4 @var/set eth_verbosity = 4

View file

@ -2,3 +2,4 @@
eth/init/full eth/init/full
@s/if enc == 0xb: eth/rx/en @s/if enc == 0xb: eth/rx/en
@s/if enc == 0xf: var/set udp_size=R @s/if enc == 0xf: var/set udp_size=R
@v spi_min_q = 665