Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
SomeIpCreateConsumedServiceInstance
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
This function creates a Consumed Service Instance and adds it to an Application Endpoint which was created by SomeIpOpenLocalApplicationEndpoint. Form 2 tries to find and use a specific version of the provided service instance. Form 1 uses version 1. Objects can be assigned to the Service Instance as follows:- Event Groups: SomeIpAddConsumedEventGroup
- Events: SomeIpCreateEventConsumer
- Fields: SomeIpCreateFieldConsumer
- Methods: SomeIpCreateMethodCall
Parameters
- aepHandle: Handle of the Application Endpoint.
- serviceId: Service identifier
- instanceId: Instance identifier
- majorVersion: Service interface major version.
- minorVersion: Service interface minor version.
Return Values
- 0: An error occurred. The error can be evaluated using the SomeIpGetLastError function.
- >0: Handle of the created Consumed Service Instance.