Skip to content

rf.c TX/RX Buffer Sizing Inconsistant #71

@kb1lqd

Description

@kb1lqd

As noted in #4 the buffer/FIFO sizing is inconsistent and likely buggy/non-optimal and is difficult to understand. Thank you

#Updates Needed

  • The buffer sizes should be optimized for the largest expected packets
  • The buffer sizing should be easy to follow and all functions/buffers/etc... must use defined lengths

Baseline Summary

DEFINES:
TX_PACKET_LEN 61
RX_PACKET_LEN 61
RX_PKT_HANDLE_APPEND_LEN 2
RF_DATALINK_PACKET_PAYLOAD_LEN 62
RF_DATALINK_PACKET_RX_FOOTER_LEN 2

Variables:
tx_buffer[62];

FIFOS:
rf_datalink_tx_fifo_buffer[RF_DATALINK_PACKET_PAYLOAD_LEN*RF_DATALINK_PACKET_FIFO_COUNT] = 62*x bytes
rf_datalink_rx_fifo_buffer[(RF_DATALINK_PACKET_PAYLOAD_LEN+RF_DATALINK_PACKET_RX_FOOTER_LEN)*RF_DATALINK_PACKET_FIFO_COUNT] = 64*x bytes

Functions:

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions