yamcs / quickstart

Get started with Yamcs
https://yamcs.org
20 stars 21 forks source link

maxPacketLength(1500) #24

Closed benjamintxn closed 2 months ago

benjamintxn commented 6 months ago

How can I adjust the maxPacketLength?

15:09:43.149 VITA_BT_COMMS [43] TcpTmDataLink [tcp-in-Images] Cannot open or read TM socket localhost: 10018: java.io.IOException: Invalid packet read: packetLength (26182) > maxPacketLength(1500). Retrying in 10 seconds.

fqqb commented 6 months ago

add something like this to the link's args (assuming you're using CCSDS-style packets):

packetInputStreamClassName: org.yamcs.tctm.CcsdsPacketInputStream
packetInputStreamArgs:
  maxPacketLength: 30000