nasa/fprime-gds

large File Uplink fails due to PacketOutOfOrder

Closed this issue · 1 comments

F´ Version v2.0.0 and later
Affected Component FileUplink

Problem Description

When uplinking a big file(>1MB), f' throws PacketOutOfOrder.

Example Events:
022-02-08T03:58:03.286Z | 0x7ff | fileUplink.PacketOutOfOrder | WARNING_HI | Received packet 49 after packet 34
2022-02-08T03:58:03.304Z | 0x7ff | fileUplink.PacketOutOfOrder | WARNING_HI | Received packet 54 after packet 49

How to Reproduce

  1. Changed Topology.cpp QUEUE_SIZE so that f` can receive large files.
enum
{
  UPLINK_BUFFER_STORE_SIZE = 3000,
  UPLINK_BUFFER_QUEUE_SIZE = 25000,
  UPLINK_BUFFER_MGR_ID = 200
};
  1. Try uplinking large files over the network.

Expected Behavior

FileUplink should be able to upload files without losing packets.
Maybe put a delay in GDS while sending files or make changes in fprime to request for missed packets or account for out of order packets.

Moved already (see above)