Streaming dataflash logs creates different sized bin files

Hi,

I’ve got a CubeOrange+ connected to a Jetson Orin board and my goal is to stream dataflash logs so the .bin files get saved on the Jetson. I’ve tested connecting both devices over the USB port from the cube (baud set to 921K) and connecting over ethernet (using the Cube Node, baud set to 12.5M). I’ve also tested using mavproxy with the dataflash module and using mavlink-router. All attempts create a smaller log file on the Jetson compared to on the cube. For example if the log onboard the FC is 3.79Mb, on the Jetson it would be 1Mb. Some messages are also lost too. I’ve tried increasing LOG_MAV_BUFSIZE from 8kB (default) to 127kB (I tried 256 but then it set itself down to 127) but that didn’t fix.

Has anyone got dataflash log streaming to work successfully? My end goal is to download the logs at much higher speeds (using WiFi6) as my log files can be fairly large sometimes.

Cheers.