Service Components

Service Components are representatives of the BSW, and are used for configuring services for a given ECU. Only certain modules interacting directly with the application offer a Service Component. The Service SWC Description is generated out of the ECUC module configuration according the specific values. For instantiated modules the Service Component Prototype is created automatically.

Service Components are directly implemented by the Basic Software. Like for every SWC, the internal behavior is used by the RTE to analyze the schedule and accessed data. Based on this, execution context and protection mechanism are determined.

Where Can I Find SWCs?

The left-hand side of the editor is a tree showing all of the service components, and the service ports belonging to each service component.

The right-hand side of the editor shows detailed information based on the selection made in the tree:

  • Select [ Service Components ] to see an overview of all service components, including the name, the component type, the conencted service components, and the mapped tasks.

  • Select a specific service component to see it’s name, and component type.

  • Under a service component, select [ Service Ports ] to see an overview of all service ports belonging to that service component, including the name, the connected component prototype, the connected port prototype, and the port interfce mapping.

  • Select a specific service port to see it’s name, port interface and type.

Service Ports

Service Ports are RTE interfaces which can be used by applications. They transmit data from and to other service ports. Therefore they can be connected and/or data mapped.

Edditing Application Components

To edit Application Components and connect Application Component Ports we strongly recommend using the capabilities of DaVinci Developer Classic.

How to Connect a Service Port?

Connecting a service port is done using the Component Connection Assistant. The Component Connection Assistant can be opened from within the Service Components Editor. In the tree view, navigate to the relevant service component, and under it select [ Service Ports ]. On the right-hand side you can then select the Component Connection Assistant link.

Alternatively the Component Connection Assistant can be opened from the Configuration Editors, select [ Add Service Connection ].

If opening the Component Connection Assistant via the Service Components Editor, the Assistant will be configured to be connecting the selected service component prototype, and steps 1 and 2 below can be skipped.

  1. Select Service connector prototypes as the type of connector.

  2. Select the component protytype(s) to be connected.

  3. Select the port prototype(s) to be connected.

  4. Select how you would like to find ports to connect with (based on the selected port prototype name):

    • Automatic Matching: This option considers port names and port interface compatibility.

    • Matching Using Origin Content: Considers the names of origin contexts (delegation ports of incomplete connections in the structured extract) additionally to the regular port name matching.

    • Manual Name Pattern Definition: Manually specify the pattern context, port prototype name pattern, and connect options.

  5. Confirm the connection(s) to be created. For each connection, select the component prototype and port prototype to connect with.

How to Disconnect a Service Port?

  1. In the Service Components tree, select [ Service Ports ] to open the Service Ports view.

  2. In the Service Ports view:

    • select the service port you would like to disconnect and press the [ Disconnect ] button, or

    • right-click on the service port you would like to disconnect, and in the context menu choose [ Disconnect ].