Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Advanced search

Overview Example Configurations for SOME/IP Simulation

Last updated: 2018-06-19

The SOME/IP functionality in CANoe is based on the SomeIP_IL.dll (Prefix for CAPL: SomeIp…) or alternatively CANoeILNL_AUTOSAR_ETH.DLL (Prefix for CAPL: AREth…), if AUTOSAR is used. Configure the SOME/IP Interaction Layer to be a component of this node.  

In the ideal case, a FIBEX or an ARXML file describing all SOME/IP services that are offered and consumed by the ECUs of the network is available. Attach it to the simulation node.

However, during the system development, it might happen that the network is not completely described or some ECUs must be simulated. The following table gives an overview over a few use cases for which we offer an easy to understand example configuration, either in an Examples Pool of the Vector KnowledgeBase or within CANoe installation in a Sample Configuration. 

The ARXML is complete
How to create a remaining bus simulation to test an ECU
  • The step by step instruction shows how to generate a complete remaining bus simulation based on the Fibex/ARXML database file.

A Service Method shall be tested

  • Client node: Usage of CAPL SomeIpSetValueDWord followed by SomeIpCallMethod to request a method and implementing a callback to process the server response with SomeIpGetConsumedObjectHandle and SomeIpRegisterCallback.
  • Server node: Implementing the callback that has been defined with SomeIpGetProvidedObjectHandle and SomeIpRegisterCallback to get input parameter values with SomeIpGetValueDWord and set the output parameters with SomeIpSetValueDWord.
A Service Signal shall be tested
  • Client node: Usage of a CAPL callback or a Service Signal Event to process the received Service Signal Value using SomeIpGetData or SomeIpGetValueLong.
  • Server node: Set a Service Signal of a field to two different values using a key.
The ARXML is not complete
A Service Method shall be tested
  • The client requests a method using the Ethernet Packet Builder.
A Service Event shall be tested
  • The Client node is not defined in the ARXML as consumer but it shall test the transmission of service signal.
  • Client node: The Service Instance is manually created and automatically subscribed with CAPL () SomeIpOpenLocalApplicationEndpoint², SomeIpCreateConsumedServiceInstance, SomeIpAddConsumedEventGroup, SomeIpCreateEventConsumer.

    SomeIpSDDesubscribeEventGroup and SomeIpSDSubscribeEventGroup are implemented to stop and start the subscription using Keys. The transmitted service signal can be observed on trace accordingly.

No ARXML is available

A Service Method shall be tested

  • Client ECU using key ‘s’: The service instance is manually created with CAPL () SomeIpOpenLocalApplicationEndpoint², SomeIpcreateConsumedServiceInstance, SomeIpCreateMethodCall, SomeIpSetData¹, SomeIpCallMethod and a callback to process the server response with SomeIpGetData is implemented.

Or alternatively:

  • Client ECU using Key ‘r’: The request is sent with a simple SOME/IP message using CAPL SomeIpOpenLocalApplicationEndpoint², SomeIpCreateMessage, SomeIpSetData, SomeIpOutputMessage. The response from the server shall be manually processed in the OnSomeIpMessage callback.
  • Server camera: In the simulation, the ECU is replaced by a CAPL node using SomeIpOpenLocalApplicationEndpoint, SomeIpcreateProvidedServiceInstance³, SomeIpAddMethod and the callback to process the client request with SomeIpSetData is implemented.

                                                                                                                               updated: 2018-06-19


¹ = If no ARXML is available, SomeIpSetData shall be used instead of SomeIpGetValueDWord.

² = If IPv6 is used, the third form for SomeIpOpenLocalApplicationEndpoint (see online Help) shall be used.

³ = If you want to simulate an event instead of a method use SomeIpAddEvent and manually send the event notification with SomeIpTriggerEvent because if no ARXML is available, no direct setting with $ is available.

Examples Pool

Article Options
Views: 3643
Rate this article:  
Error(s) occurred processing form.
Please complete all required fields. Fields marked with * are required.