Commit Graph

3 Commits

Author SHA1 Message Date
Arin(asus)
fdfab0c666 Add -out option for file output and fix stdin detection logic
- Add -out/-o option to save decode/encode output to files
- Encoded files are saved as binary, console still shows hex strings
- Decoded XML files are saved as text
- Fix stdin detection logic to prioritize command line arguments
- Add missing System.Collections.Generic import for List<string> usage
- File extension auto-processing now supports -out option
- Clean up data folder with renamed files (data0-3.dump/xml)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 15:45:04 +09:00
Arin(asus)
f9b17dd7e7 Add support for pipe input and file extension handling
- Added stdin pipe support for both encode and decode operations
- Implemented file extension-based processing:
  * .dump files: hex dump format with arrow separators
  * .hex files: pure hex string data
  * .xml files: XML content for encoding
- Added 'filename --encode' and 'filename --decode' syntax support
- Enhanced command line parsing for flexible usage
- Updated help text with pipe usage examples

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 15:07:31 +09:00
Arin(asus)
8a718f5d4f Add V2G Transfer Protocol decoder/encoder
Implements C# console application for decoding ISO 15118-2, DIN SPEC 70121, and SAP protocol messages from binary data. Features include:
- V2G Transfer Protocol header parsing
- EXI, DIN, and SAP message type support
- Network packet analysis (Ethernet/IPv6/TCP)
- Hex dump utilities
- Raw data parsing from hex files
- Sample raw data for testing

Successfully tested with sample V2G EXI message data.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 13:29:17 +09:00