The Create Service Instance wizard supports you in creating new Service Instances for existing Service Interface Deployment and mapping the Service Instances to the Application Ports.
Open Wizard
To open the Create Service Instance wizard, expand your DaVinci Adaptive project in the DaVinci Project Explorer and double click on Open Project Dashboard. The Project Frame opens showing the Project Home. You can then open the Create Service Instance wizard as follows:
- Open the
Wizard menu on the top right of the Project Frame and click the
Service Instance Wizard command.
- Alternatively, use the context menu command
Create|
Create Service Instance... of an AUTOSAR Package or of a Service Interface in the
AUTOSAR Model Explorer.
The Create Service Instance wizard opens.
Step-by-Step Procedure
To create a new Service Instance, open the Create Service Instance wizard and proceed as follows:
- Select a Service Deployment Page
- On the Select a Service Deployment page, a Service Interface Deployment is selected for which the new Service Instance is to be created.
- Activate the check box of the Service Deployment for the new Service Instance.
If no Service Deployment is available in your project, proceed with the Create Service Interface Deployment wizard first. - Click [Next >] to confirm your selection.
- General Settings Page
- On this page, the general settings are defined.
- Enter the Name, Package, Project, and ARXML File of the Service Instance to be created.
Click the Direction arrow and select required or provided. - Click [Next >] to confirm your settings.
- Provided/Required Service Instance Page
- This wizard page depends on the used transport layer of the selected Service Interface Deployment as well as the direction selected in the previous step. Refer to the page description appropriate for your settings:
- Provided SOME/IP Service Instance Page
- Enter the Provided Instance ID used by the SOME/IP Service Discovery to identify the provided Service Instance.
In the Sd Server Config field, client-specific configuration settings relevant for the SOME/IP Service Discovery can be selected or created via theicon. Leave this field empty to use the default settings.
- Required SOME/IP Service Instance Page
- Enter the Required Instance ID used by the SOME/IP Service Discovery search. Enter ANY if any provider is accepted by the client.
In the Required Minor Version field, enter the minor version used by the Service Discovery search. Enter ANY if any version is accepted by the client.
In the Sd Server Config field, client-specific configuration settings relevant for the SOME/IP Service Discovery can be selected or created via theicon. Leave this field empty to use the default settings.
- Provided IPC Service Instance Page
- Enter the Provided Instance ID used by the IPC Service Discovery to identify the provided Service Instance.
If required, click the Safety Level arrow and select the respective Safety Level from the drop-down list.
In the IPC Service Discovery area, specify the IPC transport layer Domain and Port to be used for the service communication and the Time To Live of the service offer. - Required IPC Service Instance Page
- Enter the Required Instance ID used by the IPC Service Discovery search.
If required, click the Safety Level arrow and select the respective Safety Level from the drop-down list.
In the Required Service Instance Version area, enter the Major Version and Minor Version used by the Service Discovery search. Enter ANY if any minor version is accepted by the client. - Click [Next >] to map the Service Instance to a Process.
Alternatively, click [Finish] to create the Service Instance as specified and to close the wizard. - Service Instance to Port Mapping Page
- This step is optional. On this page page, the Port Prototype of a specific Process is mapped to the new Service Instance.
- If you want to map a Port Prototype to the new Service Instance, activate the check box of the Port Prototype that you want to map the Service Instance to.
- Click [Finish] to close the wizard.
The Service Instance has been created.