Files
andy ae159c1e80 feat(protocol): pure framing/codecs/decoder/encoder + tests
Phase 1: hardware-free protocol core for the DA-12 station serial format.
- codecs: hex widths, signed-16/32 parsing, fixed-point scaling, alarm bitmask,
  duration/clock helpers, FieldReader (tab-delimited, type-letter-adjacent).
- framing: StreamFramer extracts {...} bodies with overflow protection.
- messages/decoder: A/B/C/I/D/E/F/G/H message types.
- encoder: refresh/reset/clock/clear/remove/add + SendSetting (scaled/string/IP).
- 33 passing tests with vectors derived from the VB6 source.
- Station clock epoch + sensor type/calc codes FLAGGED for hardware verification.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 17:08:38 -04:00

0 lines
0 B
Python