---
title: "ARXML"
description: "How RemotiveTopology maps ARXML to platforms and encodes and decodes CAN, LIN and Ethernet messages, including how it simplifies ARXML names."
source: https://developer.remotivelabs.com/docs/reference/formats/ARXML
last_updated: 2026-10-19
---

# ARXML

This document describes how ARXML fields are mapped to RemotiveLabs concepts such as RemotiveTopology platform and how messages (e.g. frames)are encoded and decoded.

ARXML is a huge standard that covers several different aspects of automotive development. RemotiveTopology ARXML support only covers what's necessary to encode/decode messages and what's necessary to implement virtual ECUs as Behavioral Models or Mocks. Typically this is in the form of ECU extracts, but RemotiveTopology also supports System Extracts.

RemotiveTopology intentionally simplifies the names used in ARXML, e.g. instead of using hierarchical paths (like "A/B/C") to reference specific elements, RemotiveTopology simply use the `SHORT-NAME` ("C") with an implied context. The goal is to make the names more human friendly and easier to reason about.

## Platform

### CAN

Channel name: `CAN-CLUSTER`

### LIN

Channel name: `LIN-CLUSTER`

### Ethernet

Channel name: `ETHERNET-PHYSICAL-CHANNEL`

> **Note**
>
> Not using `ETHERNET-CLUSTER` since there might be several VLANs on the same network, see below.

#### VLAN

Different VLANs share the same `ETHERNET-CLUSTER` which is available as `cluster_name` property on the channel. When Docker adds a VLAN network to a container, RemotiveBus creates, or reuses, a bridge network interface named by `host_bridge_device`, exposes that bridge to the container, and creates a VLAN interface on top of it. The data flows like this:

```mermaid
sequenceDiagram
    participant ARXML as ARXML ETHERNET-CLUSTER
    participant Platform as Platform cluster_name
    participant RemotiveBus as RemotiveBus instance host_bridge_device
    participant Docker as Docker container
    ARXML->>Platform : parse
    Platform->>RemotiveBus : default
    RemotiveBus->>Docker : runtime
```

Notice that it's possible to override the `host_bridge_device`. When the cluster name is too long and can't be used as a device name, you must specify this manually.

## Encode/decode

The following sections go into detail about how RemotiveTopology frame and signal names map to ARXML. This isn't intended for most users, but only if you need a detailed in depth understanding of the mapping to ARXML. If you are familiar with ARXML you also know that these diagrams skip some wrapper elements.

> **Note**
>
> If you require a different mapping, feel free to contact support@remotivelabs.com.

### Shared signals

CAN, LIN, and Ethernet PDUs share the same signal mapping.

```mermaid
classDiagram
  PDU_TRIGGERING o-- "n" I-SIGNAL-I-PDU
  I-SIGNAL-I-PDU *-- I-SIGNAL-TO-I-PDU-MAPPING
  I-SIGNAL-TO-I-PDU-MAPPING o-- I-SIGNAL
  I-SIGNAL o-- SYSTEM-SIGNAL

  class SYSTEM-SIGNAL {
    SHORT-NAME = signal.name
  }
```

### CAN

```mermaid
classDiagram
  CAN-CLUSTER *-- CAN-PHYSICAL-CHANNEL
  CAN-PHYSICAL-CHANNEL *-- CAN-FRAME-TRIGGERING
  CAN-FRAME-TRIGGERING o-- CAN-FRAME
  CAN-FRAME-TRIGGERING o-- PDU_TRIGGERING

  class CAN-FRAME-TRIGGERING {
    IDENTIFIER = frame.id
  }
  class CAN-FRAME {
    SHORT-NAME = frame.name
  }
```

### LIN

```mermaid
classDiagram
  LIN-CLUSTER *-- LIN-PHYSICAL-CHANNEL
  LIN-PHYSICAL-CHANNEL *-- LIN-FRAME-TRIGGERING
  LIN-FRAME-TRIGGERING o-- LIN-UNCONDITIONAL-FRAME
  LIN-FRAME-TRIGGERING o-- PDU_TRIGGERING

  class LIN-FRAME-TRIGGERING {
    IDENTIFIER = frame.id
  }
  class LIN-UNCONDITIONAL-FRAME {
    SHORT-NAME = frame.name
  }
```

### Ethernet

#### Ethernet PDUs

```mermaid
classDiagram
  ETHERNET-CLUSTER *-- ETHERNET-PHYSICAL-CHANNEL
  ETHERNET-PHYSICAL-CHANNEL *-- "n" SOCKET-ADDRESS
  SOCKET-ADDRESS *-- "n" STATIC-SOCKET-CONNECTION
  STATIC-SOCKET-CONNECTION o-- "1" SO-CON-I-PDU-IDENTIFIER
  SO-CON-I-PDU-IDENTIFIER o-- "1" PDU-TRIGGERING
  class SO-CON-I-PDU-IDENTIFIER {
    HEADER-ID = frame.id
  }
  class PDU-TRIGGERING {
    SHORT-NAME = frame.name
  }
```

#### SOME/IP

SOME/IP services are read from the `PROVIDED-SERVICE-INSTANCE` elements of each `ETHERNET-PHYSICAL-CHANNEL`. Each service instance maps to a set of frames, one per event, and two per method (request and response). Frames are named `<service>.<Type>.<operation>`, where `Type` is `Event`, `Request` or `Response`.

A SOME/IP frame is identified by service id, method id, instance id and message type, not by a single numeric id. The method id comes from the lower 16 bits of `HEADER-ID`.

##### Service

```mermaid
classDiagram
  ETHERNET-CLUSTER *-- ETHERNET-PHYSICAL-CHANNEL
  ETHERNET-PHYSICAL-CHANNEL *-- "n" SOCKET-ADDRESS
  SOCKET-ADDRESS *-- APPLICATION-ENDPOINT
  APPLICATION-ENDPOINT *-- "n" PROVIDED-SERVICE-INSTANCE
  PROVIDED-SERVICE-INSTANCE *-- SD-SERVER-CONFIG
  PROVIDED-SERVICE-INSTANCE *-- "n" EVENT-HANDLER
  PROVIDED-SERVICE-INSTANCE o-- "n" SO-AD-ROUTING-GROUP : methods

  class PROVIDED-SERVICE-INSTANCE {
    SHORT-NAME = service.name
    SERVICE-IDENTIFIER = service.id
    INSTANCE-IDENTIFIER = service.instance_id
  }
  class SD-SERVER-CONFIG {
    SERVER-SERVICE-MAJOR-VERSION = service.major_version
    SERVER-SERVICE-MINOR-VERSION = service.minor_version
  }
```

##### Events

Event groups aren't exposed in the RemotiveLabs APIs. Instead, this is handled automatically by mapping the event to the first event group it's part of.

```mermaid
classDiagram
  EVENT-HANDLER o-- "1" CONSUMED-EVENT-GROUP
  EVENT-HANDLER o-- "n" SO-AD-ROUTING-GROUP
  SOCKET-CONNECTION-IPDU-IDENTIFIER o-- SO-AD-ROUTING-GROUP
  SOCKET-CONNECTION-IPDU-IDENTIFIER o-- PDU-TRIGGERING
  PDU-TRIGGERING o-- I-SIGNAL-I-PDU
  I-SIGNAL-I-PDU *-- I-SIGNAL-TO-I-PDU-MAPPING
  I-SIGNAL-TO-I-PDU-MAPPING o-- I-SIGNAL
  I-SIGNAL o-- SYSTEM-SIGNAL
  SENDER-RECEIVER-TO-SIGNAL-MAPPING o-- SYSTEM-SIGNAL
  SENDER-RECEIVER-TO-SIGNAL-MAPPING o-- PORT-PROTOTYPE
  PORT-PROTOTYPE o-- SENDER-RECEIVER-INTERFACE
  SENDER-RECEIVER-INTERFACE *-- "n" VARIABLE-DATA-PROTOTYPE

  class CONSUMED-EVENT-GROUP {
    EVENT-GROUP-IDENTIFIER = event.event_group_id
  }
  class SOCKET-CONNECTION-IPDU-IDENTIFIER {
    HEADER-ID = event.method_id
  }
  class I-SIGNAL-TO-I-PDU-MAPPING {
    TRANSFER-PROPERTY = event.notify_on_subscribe
  }
  class I-SIGNAL {
    SHORT-NAME = event.name
  }
  class VARIABLE-DATA-PROTOTYPE {
    SHORT-NAME = parameter.name
  }
```

- Frame name: `<service>.Event.<event>`
- Signal name: `<service>.Event.<event>.<parameter>`
- `PORT-PROTOTYPE` is either an `R-PORT-PROTOTYPE` (`REQUIRED-INTERFACE-TREF`) or a `P-PORT-PROTOTYPE` (`PROVIDED-INTERFACE-TREF`).
- A `TRANSFER-PROPERTY` of `TRIGGERED-ON-CHANGE` or `TRIGGERED-ON-CHANGE-WITHOUT-REPETITION` means the current value is sent to a client when it subscribes.
- If the same event is in more than one event group, it becomes one frame that belongs to all of those event groups. Support for this is limited.

##### Methods

Methods come from the routing groups that the `PROVIDED-SERVICE-INSTANCE` references directly. Only `PDU-TRIGGERING` elements whose `I-PDU-PORT` has `COMMUNICATION-DIRECTION` set to `IN` are used.

```mermaid
classDiagram
  PROVIDED-SERVICE-INSTANCE o-- "n" SO-AD-ROUTING-GROUP
  SOCKET-CONNECTION-IPDU-IDENTIFIER o-- SO-AD-ROUTING-GROUP
  SOCKET-CONNECTION-IPDU-IDENTIFIER o-- PDU-TRIGGERING
  PDU-TRIGGERING o-- I-PDU-PORT
  PDU-TRIGGERING o-- I-SIGNAL-I-PDU
  I-SIGNAL-I-PDU *-- I-SIGNAL-TO-I-PDU-MAPPING
  I-SIGNAL-TO-I-PDU-MAPPING o-- I-SIGNAL
  I-SIGNAL o-- SYSTEM-SIGNAL
  CLIENT-SERVER-TO-SIGNAL-MAPPING o-- SYSTEM-SIGNAL
  CLIENT-SERVER-TO-SIGNAL-MAPPING o-- CLIENT-SERVER-OPERATION
  CLIENT-SERVER-OPERATION *-- "n" ARGUMENT-DATA-PROTOTYPE
  CLIENT-SERVER-OPERATION o-- "n" APPLICATION-ERROR

  class SOCKET-CONNECTION-IPDU-IDENTIFIER {
    HEADER-ID = method.method_id
  }
  class I-PDU-PORT {
    COMMUNICATION-DIRECTION = IN
  }
  class CLIENT-SERVER-OPERATION {
    SHORT-NAME = method.name
  }
  class ARGUMENT-DATA-PROTOTYPE {
    SHORT-NAME = parameter.name
    DIRECTION = IN | OUT
  }
  class APPLICATION-ERROR {
    SHORT-NAME = return_code.name
    ERROR-CODE = return_code.value
  }
```

Each method maps to two frames:

| Frame                         | Parameters                     | Meta signals                                          |
| ----------------------------- | ------------------------------ | ----------------------------------------------------- |
| `<service>.Request.<method>`  | Arguments with `DIRECTION=IN`  | `Meta.SessionID`, `Meta.ClientID`, `Meta.MessageType` |
| `<service>.Response.<method>` | Arguments with `DIRECTION=OUT` | `Meta.SessionID`, `Meta.ClientID`, `Meta.ReturnCode`  |

- Signal name: `<service>.Request.<method>.<parameter>`, `<service>.Response.<method>.<parameter>`
- Meta signal name: `<service>.Request.<method>.Meta.SessionID` etc.
- `Meta.ReturnCode` has named values for the standard SOME/IP return codes, such as `E_OK` and `E_NOT_OK`. Errors from `POSSIBLE-ERROR-REFS` are added to these and override standard codes that have the same value.

A `TRIGGER-TO-SIGNAL-MAPPING` can also be used instead of a `CLIENT-SERVER-TO-SIGNAL-MAPPING`. Then the method name is the `SHORT-NAME` of the `TRIGGER` and the method has no parameters.

##### Data types

Parameter types are resolved from the `TYPE-TREF` of the `VARIABLE-DATA-PROTOTYPE` or `ARGUMENT-DATA-PROTOTYPE`. Nested types make nested signal names.

| Application data type             | Signal name                                   | Notes                                                                                                                                                                                 |
| --------------------------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `APPLICATION-PRIMITIVE-DATA-TYPE` | `<parameter>`                                 | Size and encoding come from the `BASE-TYPE` of the `IMPLEMENTATION-DATA-TYPE` mapped in the `DATA-TYPE-MAPPING-SET`. A `COMPU-METHOD` with text values gives the signal named values. |
| `APPLICATION-RECORD-DATA-TYPE`    | `<parameter>.<element>`                       | One signal per `APPLICATION-RECORD-ELEMENT`, using its `SHORT-NAME`.                                                                                                                  |
| `APPLICATION-ARRAY-DATA-TYPE`     | `<parameter>[0]`, `<parameter>[1]`, and so on | One signal per element, up to `MAX-NUMBER-OF-ELEMENTS`.                                                                                                                               |

For example, a record parameter `Position` with elements `Lat` and `Long` in the event `VehiclePosition` of the service `Navigation` gives the signals `Navigation.Event.VehiclePosition.Position.Lat` and `Navigation.Event.VehiclePosition.Position.Long`.

The `DATA-TYPE-MAPPING-SET` is found through the software component that the port belongs to. If the file only has one `DATA-TYPE-MAPPING-SET`, that one is always used.
