Skip to Content
UDS Simulator 2.0 Released
DocsProtocol Anatomy Guide

Protocol Anatomy Guide

Master the interactive byte-level explorer. Click, filter, deep dive, and export UDS protocol messages like a pro.

1. The Byte Canvas

Every UDS message is visualized as a row of color-coded byte modules. Each module represents one or more bytes of the protocol frame.

🔵 Cyan — SID

The Service Identifier. Always byte 0.

🟣 Purple — Sub-function

Operation modifier (e.g., session type, reset mode).

🟢 Green — Data

Data identifiers, addresses, and payload bytes.

🟡 Amber — Parameter

Timing values, format specifiers, and optional fields.

tip _entry

Try it: Click any byte module below to expand its details panel. Click again to collapse.

2. View Modes

Toggle between three viewing modes using the control in the top-right corner:

  • ⧉ Split — Side-by-side Request and Response (default)
  • → TX — Request bytes only
  • ← RX — Response bytes only

3. Alternative Value Explorer

Some bytes have multiple valid values (alternatives). When you click a byte with a purple dot, the details panel shows all possible values.

info _entry

Click an alternative to see the hex value morph live in the byte canvas. Click the original value or the ”↺ Reset to default” button to revert.

4. Semantic Filter

The filter toolbar lets you highlight specific byte types. Click a filter chip to dim all non-matching bytes, making it easy to focus on just the SID, sub-functions, or data fields.

tip _entry

Click the same chip again to deactivate the filter and show all bytes.

5. Deep Dive Modal

When a byte has enriched data (ISO references, usage notes, related services), the details panel shows a “Deep Dive ↗” button. Clicking it opens a full modal with three tabs:

  • ISO Spec — The exact section reference from ISO 14229-1:2020, usage notes, and a metadata grid
  • Code — Copy-paste code snippets in TypeScript, Python, and C for constructing this byte
  • Related — Links to related UDS services and common usage patterns
info _entry

Press Escape to close the modal, or click the backdrop.

6. Export Banner

At the bottom of every Protocol Anatomy block, there’s an ”🔧 Export as Code” button. This generates a complete code snippet for the entire message in your choice of:

  • TypeScript — Typed byte array with comments
  • Python — Byte array with documentation
  • C — uint8_t array with comments
tip _entry

If you’ve selected alternative values via the byte explorer, the export will reflect those overridden values.

7. Live Example

Here’s a fully interactive Protocol Anatomy for SID 0x10 — Diagnostic Session Control. Try all the features described above:

◆ PROTOCOL ANATOMY

View
REQUEST_TX

0x10 DIAGNOSTIC SESSION CONTROL

RESPONSE_RX

0x10 RESPONSE

8. Keyboard Navigation

Full keyboard support is built in for accessibility:

KeyAction
Move focus between bytes
Home / EndJump to first / last byte
Enter / SpaceSelect / activate a byte
EscapeClose details panel or modal

Next Steps

Now that you understand the Protocol Anatomy component, explore the full documentation for each UDS service: