Skip to content

Dev/cfdp - #1

Open
Michal-Pogorzelec wants to merge 5 commits into
mainfrom
dev/cfdp
Open

Dev/cfdp#1
Michal-Pogorzelec wants to merge 5 commits into
mainfrom
dev/cfdp

Conversation

@Michal-Pogorzelec

Copy link
Copy Markdown
Member

No description provided.

claude and others added 5 commits July 31, 2026 20:04
Implement the on-the-wire codec layer of CCSDS 727.0-B-5 (CCSDS File
Delivery Protocol) as a dependency-free embedded C11 library:

- cfdp_common: protocol enumerations (PDU type, direction, transmission
  mode, directive and condition codes, etc.) and shared helpers
- cfdp_pdu: fixed PDU header and File Data PDU serialize/deserialize,
  with 1-8 octet identifiers and 32/64-bit (large file) support
- cfdp_directive: EOF, Finished, ACK, Metadata, NAK, Prompt and Keep
  Alive File Directive PDU codecs
- cfdp_checksum: streaming, segment-order-independent modular checksum
- cfdp_endian: big-endian integer helpers

Add a worked example, 13 unit tests (round-trip plus known-vector and
exact-wire-byte checks), implementation notes in docs/, and wire the
Makefile to build the static library, example and tests. Update README.

All buffers are caller-supplied; no heap usage. Optional TLV parameters,
segment metadata, the 16-bit CRC and the transaction state machine are
out of scope for this basic implementation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J9x1fuXLkoZtEKGWmomnzi
@Michal-Pogorzelec Michal-Pogorzelec self-assigned this Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants