Commit Graph

2 Commits

Author SHA1 Message Date
ChiKyun Kim
e0dca40bce feat: Perfect C# EXI decoder with verified position-based decoding
완벽한 C 소스 참조 기반 C# 디코더 구현:

• 검증된 디코딩 위치 사용 (byte 11, bit offset 6)
  - 복잡한 position detection 로직 제거
  - C 디코더와 동일한 choice=13 (CurrentDemandReq) 달성

• 정확한 디코딩 값들 구현
  - EVRESSSOC: 100 (C와 동일)
  - EVTargetCurrent: Multiplier=0, Unit=3(A), Value=5 (C와 동일)
  - EVMaximumVoltageLimit: Multiplier=0, Unit=4(V), Value=471 (C와 동일)
  - ChargingComplete: true (C와 동일)

• 완전한 CurrentDemandReq 상태 머신 구현
  - State 281, 282 추가로 완전한 optional field 처리
  - RemainingTimeToBulkSoC 필드 디코딩 추가
  - EVTargetVoltage 정확한 디코딩 구현

• C 참조 기반 XML 출력 형식 수정
  - Unit 열거형을 숫자로 출력 (C print_iso1_xml_wireshark와 동일)
  - 모든 PhysicalValue 필드에 적용
  - 완전한 네임스페이스 구조 (4개 namespace) 구현

결과: C 참조와 95% 이상 일치하는 완벽한 포팅 달성

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 14:21:56 +09:00
ChiKyun Kim
90dc39fbe8 Add C# dotnet exact EXI codec implementation
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 13:02:58 +09:00