Commit Graph

2 Commits

Author SHA1 Message Date
5ed9b8cdcc Unify enhanced_exi_viewer with Wireshark XML output and encoding support
- Remove unused XML output modes (ISO1, ISO2), keep only Wireshark-style output
- Integrate encoding functionality from enhanced_exi_viewer_simple
- Single executable now supports both encoding and decoding:
  * -decode: Convert EXI to Wireshark-style XML with ns1-4 prefixes
  * -encode: Convert XML to EXI format
  * default: Detailed EXI analysis mode
- Support for both standard XML tags and namespaced (ns3:) tags in encoding
- String conversion for units (A, V, W, s) and error codes (NO_ERROR)
- Compact XML output matching Wireshark format exactly
- Clean up old test files and separate tools

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 00:41:00 +09:00
7edb3cde54 feat: Add enhanced EXI viewer with XML decode capability
- Implement complete CurrentDemandReq/CurrentDemandRes parsing (24 total fields)
- Add enhanced_exi_viewer.c with detailed message analysis
- Support -decode option for clean XML output (file-ready format)
- Enable ISO1, ISO2, DIN codec support in build configuration
- Fix C99 compatibility issues in makefiles (change -ansi to -std=c99)
- Create test utilities for hex string to EXI conversion
- Generate test files: test3.exi (CurrentDemandRes), test4.exi (CurrentDemandReq)

Features:
* Dual output modes: detailed analysis (default) vs XML (-decode)
* Complete V2G message type detection and parsing
* Session ID display in hex and ASCII formats
* Voltage/current/power readings with proper units
* All optional fields and status flags supported

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 23:46:47 +09:00