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>
This commit is contained in:
47
test5_generated.exi
Normal file
47
test5_generated.exi
Normal file
@@ -0,0 +1,47 @@
|
||||
DEBUG: Parsing EVTargetCurrent section
|
||||
DEBUG find_tag_in_section: Looking for 'Multiplier' in section of 137 chars
|
||||
DEBUG: Found 'Multiplier' = '0'
|
||||
DEBUG find_tag_in_section: Looking for 'Unit' in section of 137 chars
|
||||
DEBUG: Found 'Unit' = '3'
|
||||
DEBUG find_tag_in_section: Looking for 'Value' in section of 137 chars
|
||||
DEBUG: Found 'Value' = '1'
|
||||
DEBUG PhysicalValue: mult='0'->0, unit='3'->3, value='1'->1
|
||||
DEBUG: Parsing EVTargetVoltage section
|
||||
DEBUG find_tag_in_section: Looking for 'Multiplier' in section of 139 chars
|
||||
DEBUG: Found 'Multiplier' = '0'
|
||||
DEBUG find_tag_in_section: Looking for 'Unit' in section of 139 chars
|
||||
DEBUG: Found 'Unit' = '4'
|
||||
DEBUG find_tag_in_section: Looking for 'Value' in section of 139 chars
|
||||
DEBUG: Found 'Value' = '460'
|
||||
DEBUG PhysicalValue: mult='0'->0, unit='4'->4, value='460'->460
|
||||
DEBUG find_tag_in_section: Looking for 'Multiplier' in section of 145 chars
|
||||
DEBUG: Found 'Multiplier' = '0'
|
||||
DEBUG find_tag_in_section: Looking for 'Unit' in section of 145 chars
|
||||
DEBUG: Found 'Unit' = '4'
|
||||
DEBUG find_tag_in_section: Looking for 'Value' in section of 145 chars
|
||||
DEBUG: Found 'Value' = '471'
|
||||
DEBUG PhysicalValue: mult='0'->0, unit='4'->4, value='471'->471
|
||||
DEBUG find_tag_in_section: Looking for 'Multiplier' in section of 145 chars
|
||||
DEBUG: Found 'Multiplier' = '0'
|
||||
DEBUG find_tag_in_section: Looking for 'Unit' in section of 145 chars
|
||||
DEBUG: Found 'Unit' = '3'
|
||||
DEBUG find_tag_in_section: Looking for 'Value' in section of 145 chars
|
||||
DEBUG: Found 'Value' = '100'
|
||||
DEBUG PhysicalValue: mult='0'->0, unit='3'->3, value='100'->100
|
||||
DEBUG find_tag_in_section: Looking for 'Multiplier' in section of 142 chars
|
||||
DEBUG: Found 'Multiplier' = '3'
|
||||
DEBUG find_tag_in_section: Looking for 'Unit' in section of 142 chars
|
||||
DEBUG: Found 'Unit' = '5'
|
||||
DEBUG find_tag_in_section: Looking for 'Value' in section of 142 chars
|
||||
DEBUG: Found 'Value' = '50'
|
||||
DEBUG PhysicalValue: mult='3'->3, unit='5'->5, value='50'->50
|
||||
DEBUG: Parsed V2G Message:
|
||||
V2G_Message_isUsed: 1
|
||||
CurrentDemandReq_isUsed: 1
|
||||
EVReady: 1
|
||||
EVErrorCode: 0
|
||||
EVRESSSOC: 100
|
||||
EVTargetCurrent: 1 (Mult: 0, Unit: 3)
|
||||
EVTargetVoltage: 460 (Mult: 0, Unit: 4)
|
||||
ChargingComplete: 1
|
||||
<EFBFBD><EFBFBD>P<><50>P
|
||||
Reference in New Issue
Block a user