Program reads config files of SPN values and log Format and then parses data from log file.
Config file sonsists of several values:
Divider
specifies ASCII code of dividion symbolID
- CAN identifier column number(position)DLC
- CAN Data Length Code positionData
- First CAN data byte positionTime
- Time needed for analyzing file position
Config file consists of rows:
SPNvariableName 0x18FFFFFF 8 16 +0
...
AnotherName 0x18FFFFEE 32 8 *15 -56
Name, ID, Position-Length(in bits) and sequence of operations separated either by spaces
or tabs
must be defined. Several variables can have same ID