CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
test_unit_rx_reorder_payloads.c File Reference

When payloads are received from the transmitter, they can arrive in any order. The routines here will put the payloads in order. More...

#include "rx_reorder_payloads.h"
#include "statistics.h"

Macros

#define APP_PAYLOADS_MAX   (100)
 The maximum number of outstanding application payloads.
 
#define PAYLOAD_PACKET_COUNT   (2)
 Number of packets in a payload.
 
#define EXPECTED_REORDER_INDEX   (8)
 Expected reorder index when test completes.
 
#define EXPECTED_APP_PAYLOAD_SUCCESSES   (7)
 Number of expected successful application payloads processed.
 
#define EXPECTED_APP_PAYLOAD_ERRORS   (1)
 Number of expected error application payloads processed.
 
#define EXPECTED_IGNORE_PAYLOADS   (2)
 Number of expected ignore payloads remaining in state array when test completes.
 
#define PAYLOAD_LATENCY_MAX   (16667)
 Maximum payload latency in uS.
 

Functions

CdiReturnStatus TestUnitRxReorderPayloads (void)
 External declarations.
 

Detailed Description

When payloads are received from the transmitter, they can arrive in any order. The routines here will put the payloads in order.