Codec

The Codec tool provides functionality to encode and decode ISO messages to and from hexadecimal format. It also allows comparison of two hex data payloads.

Accessing Codec

  1. Navigate to the footer and search for the "Codec Tools" button.
  2. Click the button to open the Encoder/Decoder dialog box.

Image: Codec Section


Encoder

The Encoder function converts a valid ISO body into its hexadecimal representation based on a specific SPEC.

Image: Encoder

How to Use Encoder

  1. Select the SPEC from the dropdown menu
  2. Enter the ISO Body in the input field
  3. Click Encode to convert the ISO body to hex

The encoded hex value will be displayed in the output field.


Decoder

The Decoder function converts hexadecimal data back into its ISO body format based on a specific SPEC.

Image: Decoder

How to Use Decoder

  1. Select the SPEC from the dropdown menu
  2. Enter the Hex Data in the input field
  3. Click Decode to convert the hex data to ISO body

The decoded ISO body will be displayed in the output field.


Compare

The Compare function takes two valid hex data inputs (specific to the same SPEC) and returns a compared ISO body showing the differences.

Image: Compare

How to Use Compare

  1. Select the SPEC from the dropdown menu
  2. Enter the first Hex Data (Original) in the input field
  3. Enter the second Hex Data (Modified) in the second input field
  4. Click Compare to see the differences

The compared result will show the differences between the two hex payloads in ISO format.

Image: Compare Result

Compare Result Options

After comparison, you can use the following buttons to manage the results:

  • Copy Original - Copy the original hex data to clipboard
  • Copy Modified - Copy the modified hex data to clipboard
  • Toggle View - Switch between text view and hexadecimal view for better readability and analysis

Use Cases

FunctionUse Case
EncoderConvert ISO messages to hex for logging, debugging, or network transmission
DecoderConvert received hex data back to readable ISO format for analysis
CompareIdentify differences between two ISO messages for debugging or validation

Supported SPECs

The Codec tool supports various ISO specifications. Select the appropriate SPEC for your use case from the dropdown when using any of the functions.

Note: To know more about Spec creation, please follow : Spec .