Skip to content

CUC#1

Open
Michal-Pogorzelec wants to merge 8 commits into
mainfrom
dev/cuc
Open

CUC#1
Michal-Pogorzelec wants to merge 8 commits into
mainfrom
dev/cuc

Conversation

@Michal-Pogorzelec

Copy link
Copy Markdown
Member

No description provided.

claude and others added 2 commits July 23, 2026 18:13
Implement the CCSDS Unsegmented Time Code (CUC) per CCSDS 301.0-B-4
Section 3.2 as a minimal, dependency-free, heap-free C99 library.

- include/cuc.h: public API (P-field / T-field / combined encode+decode,
  sizing, validation, format-independent Q0.64 time value, optional
  double helpers behind CUC_NO_FLOAT)
- src/cuc.c: integer-only core codec, big-endian, 1-2 octet P-field,
  1-7 basic and 0-10 fractional octets, checked error codes
- examples/cuc_example.c: encode/decode demo
- tests/unit_tests.c: P-field, T-field, round-trip and error tests
- docs/ccsds_cuc.md: field-by-field CUC reference notes
- Makefile: build static library, example and tests
- README.md: overview, structure, build and API reference

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N2Co4mHGZtbWkUCPNM3KLQ
@Michal-Pogorzelec Michal-Pogorzelec self-assigned this Jul 23, 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