From: Joern Adamczewski-Musch Date: Fri, 14 Aug 2026 10:34:06 +0000 (+0200) Subject: increased udp max packet from 64 to 200 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0d8e802ece3a0220ecdc69498df3ec584f806508;p=trbnettools.git increased udp max packet from 64 to 200 --- diff --git a/libtrbnet/trbnet.c b/libtrbnet/trbnet.c index b24c0c3..428637e 100644 --- a/libtrbnet/trbnet.c +++ b/libtrbnet/trbnet.c @@ -447,7 +447,7 @@ static int getUDPPackage() static uint16_t dataBufferTemp[32768 * 2]; // temporary buffer for multi-packet responses // gk this fragment rewritten to support multi-packet responses - const unsigned int udp_max_packets = 64; + const unsigned int udp_max_packets = 200; // changed from 64;, suggested by JM while(pkt_nr < udp_max_packets) { // JAM2026: moved this inside receiver loop