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

How to Manipulate Some/IP Message ID, Interface Version and Message Type?

Last updated: 2018-10-31
How can I manipulate Some/IP message ID, interface version and message type?

The combination of all three header information allows CANoe for an explicit payload interpretation, according to the database definition (e.g. AUTOSAR XML, FIBEX). If one of them has been changed to a combination that is not defined within the database, no payload interpretation is possible.

Therefore the 1st prototype of the CAPL function SomeIpCreateMessage will return an error message for all combinations that are not defined in the database.
However for robustness test purpose it might be legitimate to falsify the SOME/IP message header. In this case it is necessary to work with the raw content of the SOME/IP message object using the 2nd or the 3rd prototype form:

  1. Create a raw copy of the SOME/IP message you want to manipulate by serializing its content into a byte buffer using SomeIpSerializeMessage.
  2. Falsify the content as you wish (for instance modifying the 10th byte in the buffer will modify the Interface Version)

  3. Create a new message using the manipulated buffer content and the 2nd or 3rd prototype form of SomeIpCreateMessage.
  4. Use the returned SOME/IP message handle from the previous step to finally send the manipulated message with SomeIpOutputMessage.
In order to send a SOME/IP message, please make sure that a socket to send from has been previously opened.
Article Options
Views: 3260